Template:Succession box: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
No edit summary
mNo edit summary
 
(23 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<tr><td>
|-
<table border="1" cellspacing="0" cellpadding="4" style="background:#fff; border-collapse:collapse; border:1px solid #aaa; line-height:1.5; text-align:center; ">
| width="30%" style="border-right:1px solid #111; border-top:1px solid #111;"| '''{{#if: {{{before|}}} |  {{{before}}} | &nbsp; }}'''
<tr style="text-align:center;>
| width="40%" style="border-right:1px solid #111; border-top:1px solid #111;"| '''{{{title}}}'''<br />{{{years}}}
<td width="30%">Preceded By:<br /><b>{{{before|}}}</b></td>
| width="30%" style="border-top:1px solid #111;"| '''{{#if: {{{after|}}} |  {{{after}}} | &nbsp; }}'''
<td width="40%"><b>{{{title|}}}</b><br />{{{years|}}}</td>
|-
<td width="30%">Succeeded by:<br /><b>{{{after|}}}</b></td>
</tr>
</table>
</td></tr>
 
<noinclude>
<noinclude>
To use: Paste the following text into the desired character article, and fill in the appropriate fields.
== Usage ==
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:
<br clear=all>
<pre>
<pre>
{{Positions}}
{{Succession box
{{Succession box
|title =
|title=
|years =
|years=
|before =
|before=
|after =
|after=
}}
}}
</pre>
{{Succession box
[[Category:Navigation templates|Succession box]]</noinclude>
|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.