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) |
||
(7 intermediate revisions by 4 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; | ! colspan="2" style="background: #D1D1E0; {{!}} Unit | ||
{{#switch: {{{short|no}}}|no=! style="background: #D1D1E0; {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} Type|yes=}} | {{#switch: {{{short|no}}}|no=! style="background: #D1D1E0; {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} Type|yes=}} | ||
{{#switch: {{{short|no}}}|no=! style="background: #D1D1E0; {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} {{tt|Cost|Funds spent}}|yes=}} | {{#switch: {{{short|no}}}|no=! style="background: #D1D1E0; {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} {{tt|Cost|Funds spent}}|yes=}} | ||
{{#switch: {{{short|no}}}|no=! style="background: #D1D1E0; {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} {{tt|Move|Movement}}|yes=}} | {{#switch: {{{short|no}}}|no=! style="background: #D1D1E0; {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} {{tt|Move|Movement}}|yes=}} | ||
{{#switch: {{{short|no}}}|no=! style="background: #D1D1E0; {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} {{tt| | {{#switch: {{{short|no}}}|no=! style="background: #D1D1E0; {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} {{tt|Range|Attack range}}|yes=}} | ||
{{#switch: {{{short|no}}}|no=! style="background: #D1D1E0; {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} Fuel|yes=}} | {{#switch: {{{short|no}}}|no=! style="background: #D1D1E0; {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} Fuel|yes=}} | ||
{{#switch: {{{short|no}}}|no=! 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>|} | <noinclude>|} | ||
== Usage == | == Usage == | ||
Line 15: | Line 15: | ||
Follow this template with: | 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 | Complete the table by adding [[:Template:unitlist/footer]]. | ||
== Arguments == | == Arguments == |
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