Template:ArtifactInfobox

m
(Reworked: Added "Trade" section header, reordered the rows.)
Line 3: Line 3:
|-
|-
| colspan="2" style="text-align: center; padding: 0.8em;" | [http://galaxylegion.erismedia.netdna-cdn.com/galaxylegion/images/artifacts/{{{image|unknown.png}}} Image]
| colspan="2" style="text-align: center; padding: 0.8em;" | [http://galaxylegion.erismedia.netdna-cdn.com/galaxylegion/images/artifacts/{{{image|unknown.png}}} Image]
 +
|-
 +
| style="padding: 0.4em 0.6em;" | Type
 +
| style="padding: 0.4em 0.6em;" | <includeonly>{{{ArtifactInfobox/part/type/{{type}}|{{InfoboxPart_unknown}}}}}</includeonly>
|-  
|-  
| style="padding: 0.4em 0.6em;" | Target
| style="padding: 0.4em 0.6em;" | Target
| style="padding: 0.4em 0.6em;" | <includeonly>{{{target|{{InfoboxPart_unknown}}}}}</includeonly>
| style="padding: 0.4em 0.6em;" | <includeonly>{{{target|{{InfoboxPart_unknown}}}}}</includeonly>
|-  
|-  
-
| style="padding: 0.4em 0.6em;" | Scrap?
+
| style="padding: 0.4em 0.6em;" | Number Available
-
| style="padding: 0.4em 0.6em;" | <includeonly>{{InfoboxPart_{{{scrap|unknown}}}}}</includeonly>
+
| style="padding: 0.4em 0.6em;" | <includeonly>{{{numavail|{{InfoboxPart_unknown}}}}}</includeonly>
-
|-
+
-
| style="padding: 0.4em 0.6em;" | Send?
+
-
| style="padding: 0.4em 0.6em;" | <includeonly>{{InfoboxPart_{{{send|unknown}}}}}</includeonly>
+
|-  
|-  
-
| style="padding: 0.4em 0.6em;" | Share?
+
| style="padding: 0.4em 0.6em 0.8em 0.6em;" | Usage Cost (Energy)
-
| style="padding: 0.4em 0.6em;" | <includeonly>{{InfoboxPart_{{{send|unknown}}}}}</includeonly>
+
| style="padding: 0.4em 0.6em 0.8em 0.6em;" | <includeonly>{{{usecost|{{InfoboxPart_unknown}}}}}</includeonly>
|-  
|-  
-
| style="padding: 0.4em 0.6em;" | Usage Cost (Energy)
+
! colspan="2" style="padding: 0.2em 0.6em; text-align: center; background-color: {{ArtifactInfobox/color}};" | Trade
-
| style="padding: 0.4em 0.6em;" | <includeonly>{{{usecost|{{InfoboxPart_unknown}}}}}</includeonly>
+
|-
 +
| style="padding: 0.8em 0.6em 0.4em 0.6em;" | Send
 +
| style="padding: 0.8em 0.6em 0.4em 0.6em;" | <includeonly>{{InfoboxPart_{{{send|unknown}}}}}</includeonly>
|-  
|-  
-
| style="padding: 0.4em 0.6em;" | Number Available
+
| style="padding: 0.4em 0.6em;" | Share
-
| style="padding: 0.4em 0.6em;" | <includeonly>{{{numavail|{{InfoboxPart_unknown}}}}}</includeonly>
+
| style="padding: 0.4em 0.6em;" | <includeonly>{{InfoboxPart_{{{send|unknown}}}}}</includeonly>
 +
|-
 +
| style="padding: 0.4em 0.6em;" | Scrap
 +
| style="padding: 0.4em 0.6em;" | <includeonly>{{InfoboxPart_{{{scrap|unknown}}}}}</includeonly>
|-  
|-  
| style="padding: 0.4em 0.6em 0.8em 0.6em;" | Scrap Value
| style="padding: 0.4em 0.6em 0.8em 0.6em;" | Scrap Value

Revision as of 22:25, 20 November 2016

Artifact: ArtifactInfobox
Image
Type
Target
Number Available
Usage Cost (Energy)
Trade
Send
Share
Scrap
Scrap Value


Summary

This template summarizes common attributes for artifacts and displays them in a an organized table. The intent is to have this box on all artifact pages so information is consistent and therefore readily available.

Usage

Syntax

{{ArtifactInfobox
|image=
|type=
|target=
|usecost=
|installlimit=
|from=
|cost=
|numavail=
|uselength=
|uselimit=
|send=
|share=
|scrap=
|scrapval=
}}

Parameter Specifications

image This is the filename of the artifact image. (e.g: crimsonobelisk.png)

This URL is automatically prefixed:
https://galaxylegion-erismedia.netdna-ssl.com/galaxylegion/images/artifacts/
type Type of the artifact. (e.g: shipmodule or structure)
target The text for the target-type of the artifact. (e.g: Enemy Player)
usecost The numerical usage cost of this artifact. (e.g: 50 parts.pngCTP, 12 energy.pngE, etc)
installlimit The numerical maximum that can be installed/constructed for a given ship/planet. (e.g: 3)
from Where to Obtain the artifact. (e.g: Enemy Player, Mission, Artifact Market, etc)
cost The numerical cost of this artifact. (e.g: 200,000 credits.pngCR, 50 parts.pngCTP, 12 energy.pngE, 1200 research.pngRP, etc)
numavail The maximum number that can be purchased. (e.g: 3, None, etc)
uselength The numerical availability of this artifact. (e.g: 15 minutes, 4 Hours, Permanent)
uselimit The limits on using activated abilities. (e.g: Twice Per Day, N/A, etc)
send Choose from two values: (yes, no). Must be lowercase. If unknown, do not supply this parameter and the default "Unknown" orange text will be displayed.
share Choose from two values: (yes, no). Must be lowercase. If unknown, do not supply this parameter and the default "Unknown" orange text will be displayed.
scrap Choose from two values: (yes, no). Must be lowercase. If unknown, do not supply this parameter and the default "Unknown" orange text will be displayed.
scrapval Text describing the scrap value of the artifact. (e.g: 1 - 2 CTP)

Looking for something?

Use the form below to search the wiki:

 

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!