Welcome to Wars Wiki!
Welcome, new users! For help on where to start, look at our getting started page and our manual of style. Need more help? Ask a staff member!

Template:Unitlist/entry: Difference between revisions

From Wars Wiki
Jump to navigationJump to search
mNo edit summary
m (Ammo added)
 
(41 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<noinclude>{|</noinclude>
<noinclude>{|</noinclude>|- style="background: #{{#switch: {{{first|no}}}|no=FFFFFF|yes=F8D030}};"
|- style="background: #FFFFFF;"
| [[File:{{{imagename|{{{name}}}-small.png}}}]]
| align="center" | [[Image:{{{imagename|{{{name}}}-small.png}}}]]
| align="center" | {{#switch: {{{first|no}}}|no={{{display|{{{name}}}}}}|yes={{{display|'''{{{name}}}'''}}}}}
| align="center" | {{#ifeq: {{{first}}} | yes | '''{{{display|[[{{{name}}}]]}}}''' | {{{display|[[{{{name}}}]]}}} }} {{#if: {{{type|}}}
| align="center" | {{{display|{{{type}}}}}}
| {{!}} align="center" {{!}} {{{type}}}
| align="center" | {{{display|{{{cost}}}}}}
}} {{#if: {{{cost|}}}
| align="center" | {{{display|{{{moverange}}}}}}
| {{!}} align="center" {{!}} {{{cost}}}
| align="center" | {{{display|{{{ATKrange}}}}}}
}} {{#if: {{{cost|}}}
| align="center" | {{{display|{{{fuel}}}}}}
| {{!}} align="center" {{!}} {{{moverange}}}
| align="center" | {{{display|{{{ammo}}}}}}
}} {{#if: {{{cost|}}}
| align="center" | {{{display|{{{vision}}}}}}
| {{!}} align="center" {{!}} {{{ATKrange}}}
<noinclude>|}
}} {{#if: {{{cost|}}}
| {{!}} align="center" {{!}} {{{fuel}}}
}} {{#if: {{{cost|}}}
| {{!}} align="center" {{!}} {{{vision}}} }}<noinclude>
|}


== Usage ==
A row of intel on a specific Advance Wars unit. Use with [[:Template:unitlist/header]] and [[:Template:unitlist/footer]].


 
To create a condensed list of units where only the unit image and name are displayed, use [[:Template:unitlist/shortentry]] instead.
== Usage ==
A row of intel on a specific unit.  For use with [[:Template:Unitlist/header]] and [[:Template:Unitlist/footer]].


[[Category:Table templates]]
[[Category:Table templates]]
</noinclude>
</noinclude>

Latest revision as of 00:03, 10 March 2023

[[File:{{{name}}}-small.png]] {{{name}}} {{{type}}} {{{cost}}} {{{moverange}}} {{{ATKrange}}} {{{fuel}}} {{{ammo}}} {{{vision}}}

Usage[edit source]

A row of intel on a specific Advance Wars unit. Use with Template:unitlist/header and Template:unitlist/footer.

To create a condensed list of units where only the unit image and name are displayed, use Template:unitlist/shortentry instead.