Template:Campaign: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
mNo edit summary
m (Windos Bot: Replaced {{battle}} with {{Battle}}, 1st stage in ensuring template uniformity.)
Line 1: Line 1:
<table border="0" cellspacing="0" cellpadding="4" style="float:right; clear:right; margin:0 0 .5em 1em; text-align:center; width:{{{1|300px}}}; border-collapse:collapse; border:1px solid #999999; font-size: 95%;">
<table border="0" cellspacing="0" cellpadding="4" style="float:right; clear:right; margin:0 0 .5em 1em; text-align:center; width:{{{1|300px}}}; border-collapse:collapse; border:1px solid #999999; font-size: 95%;">
<tr style="color:#ffffff; background:{{{2|#222222}}};"><th>{{{name}}}</th></tr>
<tr style="color:#ffffff; background:{{{2|#222222}}};"><th>{{{name}}}</th></tr>
<tr style="background:{{{3|#333333}}};"><td style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; border-top:1px solid #999999; font-size:90%;">{{{battles}}}</td></tr></table><noinclude>
<tr style="background:{{{3|#333333}}};"><td style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; border-top:1px solid #999999; font-size:90%;">{{{Battles}}}</td></tr></table><noinclude>
For battles, use [[Template:battle]].
For battles, use [[Template:battle]].



Revision as of 10:01, 29 November 2009

{{{name}}}
{{{Battles}}}

For battles, use Template:battle.

For three-way battles, use Template:Triple battle infobox.

For four-way battles, use Template:Quad battle infobox.

For six-way battles, use Template:Hex battle infobox.

For wars or other conflicts, use Template:War.

For three-way wars, use Template:Three-way War.

For four-way wars, use Template:Four-way War.

For six-way wars, use Template:Six-way War.

For missions, use Template:mission.

For duels, use Template:duel.

For campaigns, use Template:Campaign.

For general events, use Template:event.

Field list

  • name
  • battles

Usage

To use this template as the basis for a new campaign template, paste the following code into the top of the template, filling only the name and battles fields:

{{campaign
|1={{{width|300px}}}
|2={{{c1|#B4C5E3}}}
|3={{{c2|#F0F0F0}}}
|name=
|battles=
}}

Do not remove the WIDTH, C1, and C2 variables or the template will lose some functionality!