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
Jump to navigationJump to search
mNo edit summary
m (Like the "short" idea. Hopefully this fixes the broken stuff so we can add it back in)
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 {{#if: {{{short|y}}} | |
! colspan="2" style="background: #D1D1E0; {{#ifeq: {{{1}}}|space|color:#FFFFFF}}; -moz-border-radius-topleft: 5px;" | Unit
! 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 7: 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 }}<noinclude>
! style="background: #D1D1E0;  {{#ifeq: {{{1}}}|space|color:#FFFFFF}}; -moz-border-radius-topright: 5px;" {{!}} Vision
|}
<noinclude>|}




Line 16: Line 16:
== Arguments ==
== Arguments ==
; width
; width
: modify the width of the template.
: modify the width of the template
; short
: if set, the entries are expected to be only unit and name.


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 19:00, 21 June 2010

Unit Type Cost Mvmt ATK Fuel Vision


Usage

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

Arguments

width
modify the width of the template