Template:Resource/doc
From Portals of Phereon Wiki
Description[]
This template is used to insert resource types inside tables.
Note: Removes wrap-around of tables by default (so the image and number would be centered and lined up) and should be inserted as the first element of the cell.
Syntax[]
{{Resource|Resource = (Gold|Wood|Stone|Crystal)|Number = N}}
With optional parameters:
{{Resource|Resource = (Gold|Wood|Stone|Crystal)|Number = N|px = N|notable = y}}
Usage Examples[]
{{Resource|Resource = Gold|Number = 1000}}
{{Resource|Resource = Wood|Number = 100|noTable = y}}
{{Resource|Resource = Stone|Number = 10|px = 32}}
{{Resource|Resource = Crystal|Number = 1|}}
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
noTable | noTable | Removes wrap-around of tables (so the image and number would be centered and lined up) and should be inserted as the first element of the cell.
| Boolean | optional |
Resource | Resource | Gold / Wood / Stone / Crystal (Choose one) | String | required |
px | px | Image size
| Number | optional |
Number | Number | Resource Amount | Number | required |