Welcome to Wars Wiki!
Welcome to Wars Wiki. Please log in or create an account to make changes.

Template:Unitlist/header: Difference between revisions

From Wars Wiki
m
no edit summary
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}}.