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
mNo edit summary
Line 1: Line 1:
<noinclude>{|</noinclude>
<noinclude>{|</noinclude>
|- align="center" style="background: #{{#switch: {{{first|no}}}|no=FFFFFF|yes=F8D030}};"
|- style="background: #{{#switch: {{{first|no}}}|no=FFFFFF|yes=F8D030}};"
| align="center" | [[Image:{{{imagename|{{{name}}}-small.png}}}]]
| [[Image:{{{imagename|{{{name}}}-small.png}}}]]
| style="background: #{{#switch: {{{first|no}}}|no=FFFFFF|yes=F8D030}};" | {{#switch: {{{first|no}}}|no={{{display|{{{name}}}}}}|yes={{{display|<b>[[{{{name}}}]]</b>}}}}}
| {{#switch: {{{first|no}}}|no={{{display|{{{name}}}}}}|yes={{{display|<b>{{color2|000000|{{{name}}}}}</b>}}}}}
| {{#switch: {{{short|no}}}|no={{{display|{{{type}}}}}}|yes=}}
| {{{display|{{{type}}}}}}
| {{#switch: {{{short|no}}}|no={{{display|{{{cost}}}}}}|yes=}}
| {{{display|{{{cost}}}}}}
| {{#switch: {{{short|no}}}|no={{{display|{{{moverange}}}}}}|yes=}}
| {{{display|{{{moverange}}}}}}
| {{#switch: {{{short|no}}}|no={{{display|{{{ATKrange}}}}}}|yes=}}
| {{{display|{{{ATKrange}}}}}}
| {{#switch: {{{short|no}}}|no={{{display|{{{fuel}}}}}}|yes=}}
| {{{display|{{{fuel}}}}}}
| {{#switch: {{{short|no}}}|no={{{display|{{{vision}}}}}}|yes=}}
| {{{display|{{{vision}}}}}}
<noinclude>|}
<noinclude>|}


Line 14: Line 14:


== Usage ==
== Usage ==
A row of intel on a specific unit.  For use with [[:Template:Unitlist/header]] and [[:Template:Unitlist/footer]].
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.


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

Revision as of 06:24, 24 June 2010

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


Usage

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

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