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
m (Adding "short" parameter)
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; -moz-border-radius: 10px; 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}}; -moz-border-radius-topleft: 5px;" {{#switch: {{{short|no}}}|yes=-moz-border-radius-topright: 5px;"|no=}} | Unit
! 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
{{#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=}}

Revision as of 18:05, 23 June 2010

Unit Type Cost Move ATK Fuel Vision


Usage

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.

Arguments

width
modify the width of the template