Difference between revisions of "Template:Item"

From Foundation - Wiki
Jump to navigation Jump to search
m (3 revisions imported: Importing from localhost)
 
Line 1: Line 1:
<includeonly>{{#invoke:Icon|requirements|resource={{{1|{{{resource|}}}}}}|value={{{2|{{{value|}}}}}}|link={{{3|{{{link|{{{resource|}}}}}}}}}|{{{text|{{{4|yes}}}}}}}}</includeonly><noinclude>[[Category:Templates]]<templatedata>
<includeonly>{{#invoke:Icon|requirements|resource={{{1|{{{resource|}}}}}}|value={{{2|{{{value|}}}}}}|link={{{3|{{{link|{{{resource|}}}}}}}}}|{{{text|{{{4|yes}}}}}}|lang = {{{lang|}}}}}</includeonly><noinclude>[[Category:Templates]]<templatedata>
{
{
"params": {
"params": {
Line 24: Line 24:
"type": "boolean",
"type": "boolean",
"default": "Yes"
"default": "Yes"
},
"lang": {
"label": "Language",
"description": "What language should be used with the icon, use international language short codes.",
"type": "string",
"default": "en"
}
}
}
}
}
}
</templatedata>{{#invoke:Icon|documentation}}</noinclude>
</templatedata>{{#invoke:Icon|documentation}}</noinclude>

Latest revision as of 17:45, 23 February 2022

No description.

Template parameters

ParameterDescriptionTypeStatus
Resourceresource

The name of the resource to be displayed.

Stringrequired
Valuevalue

The quantity if required to be displayed

Numberoptional
Linklink

The name of the article the text links to.

Default
Each resource defaults to its own page.
Stringoptional
Show Linktext

Whether or not the page link is displayed

Default
Yes
Booleanoptional
Languagelang

What language should be used with the icon, use international language short codes.

Default
en
Stringoptional
Code Icon Link
barrel Barrel.png Barrel
blueprint Blueprint.png Blueprints
candle Candle.png Candle
clergy influence Clergy Influence.png Influence
clothes Common Clothes.png Common Clothes
common wares Common Wares.png Common Wares
gem Gems.png Gems
gold Gold Bar.png Gold
gold coins Gold Coins.png Gold Coins
grapes Grape.png Grapes
honey Honey.png Honey
iron Iron Bar.png Iron
jewelry Jewelry.png Jewelry
kingdom splendor Kingdom Splendor.png Splendor
labor splendor Labor Splendor.png Splendor
maintenance cost Maintenance Cost.png Maintenance Cost
meat Icon Meat.png Meat
pike Pike.png Pike
quartz Quartz.png Quartz
stained glass Stained Glass.png Stained Glass
tool Tools.png Tools
wax Wax.png Wax
wood Logs.png Wood
Code Icon Link
beer Beer.png Beer
boar Boar.png Boar
cheese Cheese.png Cheese
clergy splendor Clergy Splendor.png Splendor
coal Coal.png Coal
fish Fish.png Fish
gems Gems.png Gems
gold bar Gold Bar.png Gold
gold ore Gold Ore.png Gold Ore
herb Herbs.png Herbs
hop Hop.png Hops
iron bar Iron Bar.png Iron
kingdom Kingdom Influence.png Influence
labor Labor Influence.png Influence
logs Logs.png Logs
marble Marble.png Marble
milk Milk.png Milk
planks Planks.png Planks
sculpture Sculpture.png Sculpture
stone Stone.png Stone
tools Tools.png Tools
wheat Wheat.png Wheat
wool Wool.png Wool
Code Icon Link
berries Berries.png Berries
bread Bread.png Bread
clergy Clergy Influence.png Influence
cloth Cloth.png Cloth
coin Gold Coins.png Gold Coins
flour Flour.png Flour
glass Glass.png Glass
gold coin Gold Coins.png Gold Coins
grape Grape.png Grapes
herbs Herbs.png Herbs
hops Hop.png Hops
iron ore Iron Ore.png Iron Ore
kingdom influence Kingdom Influence.png Influence
labor influence Labor Influence.png Influence
maintenance Maintenance Cost.png Maintenance Cost
meal Meal.png Meal
monastic meal Icon MonasticMeal.png Monastic Meal
polished stone Polished Stone.png Polished Stone
spear Spear.png Spear
sword Sword.png Sword
water Water.png Water
wine Wine.png Wine