Difference between revisions of "Template:Infobox Object"
Line 6: | Line 6: | ||
<div><br></div> | <div><br></div> | ||
<div id="infobox_requires">Cost: [[File:Money Icon.png|Money Icon.png]] {{{cost|}}}</div> | <div id="infobox_requires">Cost: [[File:Money Icon.png|Money Icon.png]] {{{cost|}}}</div> | ||
− | |||
<div id="infobox_requires">Research: [[Research#{{{requirement|}}}|{{{requirement|}}}]]</div> | <div id="infobox_requires">Research: [[Research#{{{requirement|}}}|{{{requirement|}}}]]</div> | ||
</div> | </div> | ||
<div id="infobox_footer"></div> | <div id="infobox_footer"></div> | ||
</div></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}[[Category:Infobox templates]]</noinclude> | </div></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}[[Category:Infobox templates]]</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...