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
mNo edit summary
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; {{roundy}}; border: 2px solid #B8B8D0" colspan=4 cellspacing="2" cellpadding="4" {{#if: {{{width|}}} | width={{{width|100%}}} | }}
|-  
|-  
! colspan="2" style="background: #D1D1E0; {{#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; {{#switch: {{{short|no}}}|no={{roundytl|5px}};"|yes={{roundytop|5px}};"}} {{!}} 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=}}
Line 7: Line 7:
{{#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}};" {{!}} {{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}}; {{roundytr|5px}};" {{!}} Vision|yes=}}
<noinclude>|}
<noinclude>|}


Line 17: Line 17:
* {{template|unitlist/shortentry}} to only show unit image and name
* {{template|unitlist/shortentry}} to only show unit image and name
* {{template|unitlist/entry}} for [[Advance Wars: Dual Strike]]
* {{template|unitlist/entry}} for [[Advance Wars: Dual Strike]]
* {{template|unitlistold/entry}} for [[Advance Wars (game)|Advance Wars 1]] and [[Advance Wars 2: Black Hole Rising|Advance Wars 2]]
* {{template|unitlistold/entry}} for {{game|Advance Wars}} and [[Advance Wars 2: Black Hole Rising|Advance Wars 2]]
* {{template|unitlistoldDoR/entry}} for [[Advance Wars: Days of Ruin]].
* {{template|unitlistoldDoR/entry}} for [[Advance Wars: Days of Ruin]]


Complete the table by adding {{template|unitlist/footer}}.
Complete the table by adding {{template|unitlist/footer}}.

Revision as of 13:53, 3 March 2011

colspan="2" style="background: #D1D1E0; Template:Roundytl;" | Unit Type Cost Move Range Fuel style="background: #D1D1E0;  ; Template:Roundytr;" | Vision


Usage

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:Template.

Arguments

width
modify the width of the template