Template:Resource
Usage
{{Resource
Examples
Table of resources
Resource | Call variations | Result | Notes |
---|---|---|---|
Ammo |
{{resource |
||
Batteries |
{{resource {{resource |
||
Carbon |
{{resource |
||
Coils |
{{resource {{resource |
||
Command Points |
{{resource {{resource |
Label is omitted by default. | |
Copper |
{{resource |
||
Credits |
{{resource {{resource |
Label is omitted by default.
Tip Please use Template:Credits instead. | |
Diamonds |
{{resource {{resource |
||
EMP Missile Parts |
{{resource {{resource {{resource {{resource |
||
Enriched Uranium |
{{resource |
||
Gold |
{{resource |
||
HE Missile Parts |
{{resource {{resource |
||
Hyper-Coils |
{{resource {{resource {{resource {{resource |
||
Hyperium |
{{resource |
||
Iron |
{{resource |
||
Mine Parts |
{{resource {{resource |
||
Nuclear Missile Parts |
{{resource {{resource |
||
Processor |
{{resource {{resource |
||
Steel |
{{resource |
||
Sulfur |
{{resource |
||
Tri-Steel |
{{resource |
||
Tritanium |
{{resource |
||
Uranium |
{{resource |
Omiting resource label
By default, only a few resources have their labels omitted. If this option is present in any way (enabled/disabled), it overrides the default behaviour.
Examples:
{{Resource|Tri-Steel|omit label=no}}
→Tri-Steel - no effect, label is present by default.
{{Resource|Tri-Steel|omit label=yes}}
→- label is omitted.
{{Resource|Credits|omit label=no}}
→Credits - label is displayed instead of being omitted by default.
{{Resource|Credits|omit label=yes}}
→- no effect, label is omitted by default.
Adding an amount
↓
Steel x15
1000
150
See also
- {{Credits}}
A template for easily embedding resource icons wherever they are needed.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Resource | resource 1 | The resource icon and the label to be shown. See the suggested values for all the valid options. Note that labels for Credits and Commands Points are hidden by default — see the "Omit label" option for more. Any casing is supported, including lowercase.
| Line | required |
Amount | 2 | Resource amount.
| Number | suggested |
Omit or display the label | omit label | Enable this to omit the label. Leave it disabled to display the label. Enabled by default for Credits and Command Points.
| Boolean | optional |