Template:Succession box: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
(text2)
mNo edit summary
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<br style="clear: both;" />
{|cellpadding="3" cellspacing="0" class="fancy" style="margin:0 auto; text-align:center; width:75%;"
|-
|-
|colspan="3" class="head" style="background-color: #151515"| '''Positions Held'''
| width="30%" style="border-right:1px solid #111; border-top:1px solid #111;"| '''{{#if: {{{before|}}} |  {{{before}}} | &nbsp; }}'''
|-
| width="40%" style="border-right:1px solid #111; border-top:1px solid #111;"| '''{{{title}}}'''<br />{{{years}}}
| class="sub-head" width="33%" style="background-color:#181818; border-right:1px solid #111; border-top:1px solid #111; color: #CCCCCC"| '''Before'''
| width="30%" style="border-top:1px solid #111;"| '''{{#if: {{{after|}}} |  {{{after}}} | &nbsp; }}'''
| class="sub-head" width="33%" style="background-color:#181818; border-right:1px solid #111; border-top:1px solid #111; color: #CCCCCC"| '''Position'''
| class="sub-head" width="33%" style="background-color:#181818; border-right:1px solid #111; border-top:1px solid #111; color: #CCCCCC"| '''After'''
|-
|-
| style="border-right:1px solid #111; border-top:1px solid #111;"| '''{{{before}}}'''
<noinclude>
| style="border-right:1px solid #111; border-top:1px solid #111;"| '''{{{title}}}'''<br />{{{years}}}
== Usage ==
| style="border-top:1px solid #111;"| '''{{{after}}}'''
To properly use the Succession Box, simply add <nowiki>{{Succession box}}</nowiki> after the Positions template.
|-
When done properly, this is how it should look:
|colspan="3" class="foot" style="background-color: #151515; border-top:1px solid #111; color:#CCCCCC"| ''{{{footer}}}''
<br clear=all>
|}
<pre>
<noinclude>[[Category:Navigation templates|Succession box]]</noinclude>
{{Positions}}
{{Succession box
|title=
|years=
|before=
|after=
}}
{{Succession box
|title=
|years=
|before=
|after=
}}
{{End
|footer=
}}</pre>
 
Remember to only use the Positions and End templates only once, regardless of how many Succession templates you use.
 
[[Category:Navigation templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 02:53, 7 June 2017

|- | width="30%" style="border-right:1px solid #111; border-top:1px solid #111;"|   | width="40%" style="border-right:1px solid #111; border-top:1px solid #111;"| {{{title}}}
{{{years}}} | width="30%" style="border-top:1px solid #111;"|   |-

Usage

To properly use the Succession Box, simply add {{Succession box}} after the Positions template. When done properly, this is how it should look:

{{Positions}}
{{Succession box
|title=
|years=
|before=
|after=
}}
{{Succession box
|title=
|years=
|before=
|after=
}}
{{End
|footer=
}}

Remember to only use the Positions and End templates only once, regardless of how many Succession templates you use.