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; -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;" | Unit
! colspan="2" style="background: #D1D1E0; {{#ifeq: {{{1}}}|space|color:#FFFFFF}}; -moz-border-radius-topleft: 5px;" | Unit {{#if: {{{short|y}}} | |
{{#if: {{{short|}}} | |
! style="background: #D1D1E0;  {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} Type
! style="background: #D1D1E0;  {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} Type
! style="background: #D1D1E0;  {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} {{tt|Cost|Funds spent}}
! style="background: #D1D1E0;  {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} {{tt|Cost|Funds spent}}
Line 8: Line 7:
! style="background: #D1D1E0;  {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} {{tt|ATK|Attack range}}
! style="background: #D1D1E0;  {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} {{tt|ATK|Attack range}}
! style="background: #D1D1E0;  {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} Fuel
! style="background: #D1D1E0;  {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} Fuel
! style="background: #D1D1E0;  {{#ifeq: {{{1}}}|space|color:#FFFFFF}}; -moz-border-radius-topright: 5px;" {{!}} Vision
! style="background: #D1D1E0;  {{#ifeq: {{{1}}}|space|color:#FFFFFF}}; -moz-border-radius-topright: 5px;" {{!}} Vision }}<noinclude>
}}<noinclude>
|}
|}





Revision as of 11:25, 20 June 2010

Unit


Usage

Use this template together with Template:Unitlist/entry and Template:Unitlist/footer.

Arguments

width
modify the width of the template.
short
if set, the entries are expected to be only unit and name.