Difference between revisions of "Template:Unitinfobox"
m |
|||
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {| class="wikitable" style="float: right" | + | <includeonly>{| class="wikitable" style="float: right" |
|- | |- | ||
! colspan="2" | {{{Unit|{{PAGENAME}}}}} | ! colspan="2" | {{{Unit|{{PAGENAME}}}}} | ||
+ | |- | ||
+ | ! colspan="2" | {{#if:{{{logo|}}} | {{{logo}}} | }} | ||
|- | |- | ||
| {{tt|Rows of minerals to build facility|Mineral rows}} || {{#if:{{{cost|}}}|{{{cost}}}|[[Unit Cost (Advanced)|normal]]}} | | {{tt|Rows of minerals to build facility|Mineral rows}} || {{#if:{{{cost|}}}|{{{cost}}}|[[Unit Cost (Advanced)|normal]]}} | ||
|- | |- | ||
− | | Requires || {{#ifeq:{{{preq}}} | + | | Requires || {{#ifeq:{{{preq}}}|Disable|Unbuildable|{{#if:{{{preq|}}}|[[{{tlong|{{{preq}}}}}]]|None}}}} |
|- | |- | ||
| [[Chassis]] || [[{{{chassis}}}]] | | [[Chassis]] || [[{{{chassis}}}]] | ||
Line 14: | Line 16: | ||
|- | |- | ||
| [[Ability]] || {{#if:{{{ability|}}}|[[{{{ability}}}]]|none}}{{#if:{{{ability2|}}}|, [[{{{ability2|}}}]]}} | | [[Ability]] || {{#if:{{{ability|}}}|[[{{{ability}}}]]|none}}{{#if:{{{ability2|}}}|, [[{{{ability2|}}}]]}} | ||
− | |}<noinclude> | + | |}[[Category:Units]]</includeonly><noinclude> |
[[Category:Infoboxes]] | [[Category:Infoboxes]] | ||
</noinclude> | </noinclude> |