Template:Campaign: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
m (fixing?)
No edit summary
 
(4 intermediate revisions by 2 users not shown)
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%;">
{| class="infoboxtemp"  width="250" align="right" cellpadding="3" cellspacing="0"
<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; text-align:center; 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;" | {{Link color|Template:Campaign|#525252|[ 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
Line 33: Line 15:
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:
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:
<pre><nowiki>
<pre><nowiki>
{{campaign
{{Campaign
|name=
|name=
|battles=
|battles=
Line 39: Line 21:
</nowiki></pre>
</nowiki></pre>


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


[[Category:Campaign infobox templates|{{PAGENAME}}]]</noinclude>
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 18:59, 27 July 2015

{{{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=
}}