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/header: Difference between revisions
From Wars Wiki
Jump to navigationJump to search
mNo edit summary |
Karsahyena (talk | contribs) m (Ammo added) |
||
(19 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{| style="background: #787887 | {| style="background: #787887; border: 2px solid #B8B8D0" colspan=4 cellspacing="2" cellpadding="4" {{#if: {{{width|}}} | width={{{width|100%}}} | }} | ||
|- | |- | ||
! colspan="2" style="background: #D1D1E0; {{#ifeq: {{{1}}}|space|color:#FFFFFF}} | ! colspan="2" style="background: #D1D1E0; {{!}} Unit | ||
! style="background: #D1D1E0; {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} | {{#switch: {{{short|no}}}|no=! style="background: #D1D1E0; {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} Type|yes=}} | ||
! style="background: #D1D1E0; {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} {{tt| | {{#switch: {{{short|no}}}|no=! style="background: #D1D1E0; {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} {{tt|Cost|Funds spent}}|yes=}} | ||
! style="background: #D1D1E0; {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} {{tt| | {{#switch: {{{short|no}}}|no=! style="background: #D1D1E0; {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} {{tt|Move|Movement}}|yes=}} | ||
! style="background: #D1D1E0; {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} {{ | {{#switch: {{{short|no}}}|no=! style="background: #D1D1E0; {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} {{tt|Range|Attack range}}|yes=}} | ||
! style="background: #D1D1E0; {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} | {{#switch: {{{short|no}}}|no=! style="background: #D1D1E0; {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} Fuel|yes=}} | ||
! style="background: #D1D1E0; {{#ifeq: {{{1}}}|space|color:#FFFFFF}} | {{#switch: {{{short|no}}}|no=! style="background: #D1D1E0; {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} Ammo|yes=}} | ||
|} | {{#switch: {{{short|no}}}|no=! style="background: #D1D1E0; {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} Vision|yes=}} | ||
<noinclude>|} | |||
== Usage == | |||
This template is used to start a table listing the different statistics of Advance Wars units. | |||
Follow this template with: | |||
* [[:Template:unitlist/shortentry]] to only show unit image and name | |||
* [[:Template:unitlist/entry]] for [[Advance Wars: Dual Strike]] | |||
* [[:Template:unitlistold/entry]] for [[Advance Wars]] and [[Advance Wars 2: Black Hole Rising|Advance Wars 2]] | |||
* [[:Template:unitlistoldDoR/entry]] for [[Advance Wars: Days of Ruin]] | |||
Complete the table by adding [[:Template:unitlist/footer]]. | |||
== Arguments == | == Arguments == | ||
; width | ; width | ||
: modify the width of the template | : modify the width of the template | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 00:03, 10 March 2023
Unit | Type | Cost | Move | Range | Fuel | Ammo | Vision |
---|
Usage[edit source]
This template is used to start a table listing the different statistics of Advance Wars units.
Follow this template with:
- Template:unitlist/shortentry to only show unit image and name
- Template:unitlist/entry for Advance Wars: Dual Strike
- Template:unitlistold/entry for Advance Wars and Advance Wars 2
- Template:unitlistoldDoR/entry for Advance Wars: Days of Ruin
Complete the table by adding Template:unitlist/footer.
Arguments[edit source]
- width
- modify the width of the template