Welcome to Wars Wiki!
Welcome to Wars Wiki. Please log in or create an account to make changes.

Template:Unitlist/entry: Difference between revisions

From Wars Wiki
Jump to navigationJump to search
m (Updated to use Template:Unit)
m (Ammo added)
 
(53 intermediate revisions by 5 users not shown)
Line 1: Line 1:
|-
<noinclude>{|</noinclude>|- style="background: #{{#switch: {{{first|no}}}|no=FFFFFF|yes=F8D030}};"
| {{{group|?}}} || {{unit|{{{name}}}|{{{namelink|{{{name}}}}}}}} || [[{{{typelink|{{{type|}}}}}}|{{{type|}}}]] || {{{cost|}}} || {{{movement|}}} || {{{fuel|}}} || {{{vision|?}}}<noinclude>
| [[File:{{{imagename|{{{name}}}-small.png}}}]]
| align="center" | {{#switch: {{{first|no}}}|no={{{display|{{{name}}}}}}|yes={{{display|'''{{{name}}}'''}}}}}
| align="center" | {{{display|{{{type}}}}}}
| align="center" | {{{display|{{{cost}}}}}}
| align="center" | {{{display|{{{moverange}}}}}}
| align="center" | {{{display|{{{ATKrange}}}}}}
| align="center" | {{{display|{{{fuel}}}}}}
| align="center" | {{{display|{{{ammo}}}}}}
| align="center" | {{{display|{{{vision}}}}}}
<noinclude>|}
 
== Usage ==
== Usage ==
An entry in a list of units. Made to templates to make modifications easier, without having to copy-paste to each page.
A row of intel on a specific Advance Wars unit. Use with [[:Template:unitlist/header]] and [[:Template:unitlist/footer]].
Use this template together 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.


[[Category: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.