Difference between revisions of "Template:Succession box"

From Emperor's Hammer Encyclopaedia Imperia
(Created page with "|- | width="30%" style="border-right:1px solid #111; border-top:1px solid #111;"| '''{{#if: {{{before|}}} | {{{before}}} |   }}''' | width="40%" style="border-right:1px...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
|-
 
|-
| width="30%" style="border-right:1px solid #111; border-top:1px solid #111;"| '''{{#if: {{{before|}}} |  {{{before}}} |   }}'''
+
| width="30%" style="border-right:1px solid #111; border-top:1px solid #111;background-color: #0b0b16;"| '''{{#if: {{{before|}}} |  {{{before}}} |   }}'''
| width="40%" style="border-right:1px solid #111; border-top:1px solid #111;"| '''{{{title}}}'''<br />{{{years}}}
+
| width="40%" style="border-right:1px solid #111; border-top:1px solid #111;background-color: #0b0b16;"| '''{{{title}}}'''<br />{{{years}}}
| width="30%" style="border-top:1px solid #111;"| '''{{#if: {{{after|}}} |  {{{after}}} | &nbsp; }}'''
+
| width="30%" style="border-top:1px solid #111;background-color: #0b0b16;"| '''{{#if: {{{after|}}} |  {{{after}}} | &nbsp; }}'''
 
|-
 
|-
 
<noinclude>
 
<noinclude>
Line 23: Line 23:
 
|after=
 
|after=
 
}}
 
}}
{{End
+
{{End positions
 
|footer=
 
|footer=
 
}}</pre>
 
}}</pre>

Latest revision as of 14:09, 23 January 2023

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

Usage[edit]

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 positions
|footer=
}}

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