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 (Added attack range)
mNo edit summary
Line 2: Line 2:
|-  
|-  
! 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
! style="background: #D1D1E0;  {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" | Type
{{#if: {{{short|}}} | |
! style="background: #D1D1E0;  {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" | {{tt|Cost|Funds spent}}
! style="background: #D1D1E0;  {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} Type
! style="background: #D1D1E0;  {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" | {{tt|Mvmt|Movement}}
! style="background: #D1D1E0;  {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} {{tt|Cost|Funds spent}}
! style="background: #D1D1E0;  {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" | {{tt|ATK|Attack range}}
! style="background: #D1D1E0;  {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} {{tt|Mvmt|Movement}}
! style="background: #D1D1E0;  {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" | Fuel
! style="background: #D1D1E0;  {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} {{tt|ATK|Attack range}}
! style="background: #D1D1E0;  {{#ifeq: {{{1}}}|space|color:#FFFFFF}}; -moz-border-radius-topright: 5px;" | Vision<noinclude>
! style="background: #D1D1E0;  {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" {{!}} Fuel
! style="background: #D1D1E0;  {{#ifeq: {{{1}}}|space|color:#FFFFFF}}; -moz-border-radius-topright: 5px;" {{!}} Vision
}}<noinclude>
|}
|}


Line 14: Line 16:
== Usage ==
== Usage ==
Use this template together with [[:Template:Unitlist/entry]] and [[:Template:Unitlist/footer]].
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.


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

Revision as of 11:16, 20 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.
short
if set, the entries are expected to be only unit and name.