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
m (Ammo added)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| style="background: #787887; -moz-border-radius: 10px; border: 2px solid #B8B8D0" colspan=4 cellspacing="2" cellpadding="4" {{#if: {{{width|}}} | width={{{width|100%}}} | }}
{| 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}}; {{#switch: {{{short|no}}}|no=-moz-border-radius-topleft: 5px;"|yes=-moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px;"}} | Unit
! 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|ATK|Attack range}}|yes=}}
{{#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}}; -moz-border-radius-topright: 5px;" {{!}} Vision|yes=}}
{{#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 ==
This template is used to start a table listing the different statistics of Advance Wars units.


== Usage ==
Follow this template with:
Use this template together with [[:Template:Unitlist/entry]] for AWDS, [[:Template:Unitlistold/entry]] for AW1 and AW2, [[:Template:UnitlistoldDoR/entry]] for AWDoR and [[:Template:Unitlist/footer]] for all.
* [[: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 ==

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:

Complete the table by adding Template:unitlist/footer.

Arguments[edit source]

width
modify the width of the template