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}}

nowrap | Gold 1000

{{Resource|Resource = Wood|Number = 100|noTable = y}}

Wood 100

{{Resource|Resource = Stone|Number = 10|px = 32}}

nowrap | Stone 10

{{Resource|Resource = Crystal|Number = 1|}}

nowrap | Crystal 1


No description.

Template parameters

ParameterDescriptionTypeStatus
noTablenoTable

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.

Default
y
Booleanoptional
ResourceResource

Gold / Wood / Stone / Crystal (Choose one)

Stringrequired
pxpx

Image size

Default
24
Numberoptional
NumberNumber

Resource Amount

Numberrequired