Difference between revisions of "Template:Infobox Object/doc"
(Created page with "==Description== This template is used to provide a template that displays an infobox for objects, holding their cost, description, images and requirements. ==Usage== This tem...") |
|||
Line 11: | Line 11: | ||
|description= | |description= | ||
|cost= | |cost= | ||
− | |||
|requirement= | |requirement= | ||
}}</pre> | }}</pre> | ||
Line 22: | Line 21: | ||
|description=objects description in tooltip | |description=objects description in tooltip | ||
|cost=cost to purchase | |cost=cost to purchase | ||
− | |||
|requirement=[[Research]] requirement | |requirement=[[Research]] requirement | ||
}}</pre> | }}</pre> | ||
Line 35: | Line 33: | ||
|description=A bed for sleeping in. Colonists wake up earlier when using beds. | |description=A bed for sleeping in. Colonists wake up earlier when using beds. | ||
|cost=2k | |cost=2k | ||
− | |||
|requirement=Wood Furniture | |requirement=Wood Furniture | ||
}} | }} | ||
Line 47: | Line 44: | ||
|description=A bed for sleeping in. Colonists wake up earlier when using beds. | |description=A bed for sleeping in. Colonists wake up earlier when using beds. | ||
|cost=2k | |cost=2k | ||
− | |||
|requirement=Wood Furniture | |requirement=Wood Furniture | ||
}} | }} | ||
{{Clear}} | {{Clear}} | ||
<includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | <includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 11:52, 4 August 2021
Contents
Description
This template is used to provide a template that displays an infobox for objects, holding their cost, description, images and requirements.
Usage
This template can be used by entering the following onto a relevant page.
{{Infobox Object |name= |image= |icon= |description= |cost= |requirement= }}
Parameters
{{Infobox Unit |name= |image=main image of the object, as it appears in game placed |icon=object icon for use in lists, sourced from the build menu/research tree |description=objects description in tooltip |cost=cost to purchase |requirement=[[Research]] requirement }}
Example
{{Infobox Object |name=Wood Bed |image=Wood_Bed.png |icon=Wood_Bed_Icon.png |description=A bed for sleeping in. Colonists wake up earlier when using beds. |cost=2k |requirement=Wood Furniture }}
Results in...