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 {{#if: {{{short|y}}} | |
! colspan="2" style="background: #D1D1E0; {{#ifeq: {{{1}}}|space|color:#FFFFFF}}; -moz-border-radius-topleft: 5px;" | Unit {{#if: {{{short|y}}} | |

Revision as of 11:30, 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.