Template:Campaign: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
m (fixing?)
m (updating)
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|302px}}}; border-collapse:collapse; border:1px solid #999999; font-size: 95%;">
{| width="250" align="right" cellpadding="3" cellspacing="0" style="clear: right; border: 2px #333333 solid; background: #000000; border-bottom-right-radius: .8em; border-bottom-left-radius: .8em; -moz-border-radius-bottomright: .8em; -moz-border-radius-bottomleft: .8em; -webkit-border-bottom-right-radius: .8em; -webkit-border-bottom-left-radius: .8em; margin-top: -1.4em; margin: 0 0 1em 1em; font-size: 12px;color: #ffffff;"
<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>
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; font-size:larger; background-color:#222222; text-align:center; font-variant:small-caps;" | '''{{{name}}}'''
For battles, use [[Template:battle]].
|-
| colspan="2" style="background:{{{3|#333333}}}; spacing-top:0px; spacing-bottom:0px; vertical-align:middle; border-top:1px solid #111111; font-size:90%;" | {{{battles}}}
|-
|colspan="2" style="border-bottom-right-radius: .8em; border-bottom-left-radius: .8em; -moz-border-radius-bottomright: .8em; -moz-border-radius-bottomleft: .8em; -webkit-border-bottom-right-radius: .8em; -webkit-border-bottom-left-radius: .8em; text-align: center; color: #e5e5ed; font-variant:small-caps; font-size:smaller; background-color:#222222; text-align:center; border-top: 1px solid #111111;" | [[Template:Campaign|[ Source ]]]
|}<noinclude>{{Clear}}<noinclude>{{Clear}}


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]].
{{Clear}}
===Field list===
===Field list===
*name
*name

Revision as of 18:09, 7 July 2011

{{{name}}}
{{{battles}}}
[ Source ]

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
|name=
|battles=
}}

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