Template:Campaign: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
m (fix)
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| 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;"
{| class="infoboxtemp"  width="250" align="right" cellpadding="3" cellspacing="0"
|-
|-
| 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}}}'''
| 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}}}'''
Line 5: Line 5:
| 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="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;" | [[Template:Campaign|[ Source ]]]
|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}}
|}<noinclude>{{Clear}}<noinclude>{{Clear}}


Line 15: 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 21: 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=
}}