Template:Succession box: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "|- ↵" to "|- ")
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<center>
{| class="succession-box" style="min-width:50%; text-align:center; margin:10px auto"
{| style="margin: 10px 0;"
| width="30%" rowspan="{{{rows|1}}}" | Preceded&nbsp;by<br>'''{{{before}}}'''
|- style="text-align: center;"
| width="40%" rowspan="{{{rows|1}}}" | '''{{{title}}}'''{{#if:{{{district|}}}|<br><small>'''''Representative for {{{district}}}'''''</small>}}{{#if:{{{years|}}}|<br>{{{years}}}}}{{#if:{{{regent1|}}}|<br>''with {{{regent1}}}''}} {{#if:{{{years1|}}}| <small>''  ({{{years1}}})''</small>}}{{#if:{{{regent2|}}}|<br>''{{{regent2}}}''|}} {{#if:{{{years2|}}}| <small>''  ({{{years2}}})''</small>|}}{{#if:{{{regent3|}}}|<br>''{{{regent3}}}''|}} {{#if:{{{years3|}}}| <small>''  ({{{years3}}})''</small>}}{{#if:{{{alongside|}}}|<br><small>Served alongside: '''{{{alongside}}}'''</small>}}
|- style="text-align:center;"
| width="30%" rowspan="{{{rows|1}}}" | Succeeded&nbsp;by<br>'''{{{after}}}'''
|width="30%" align="center" rowspan="{{{rows|1}}}"|Preceded&nbsp;by<br/>'''{{{before}}}'''
|}<noinclude>[[Category:Utility templates]]</noinclude>
|width="40%" style="text-align: center;" rowspan="{{{rows|1}}}"|'''{{{title}}}'''{{#if:{{{district|}}}|<br/><small>'''''Representative for {{{district}}}'''''</small>|}}{{#if:{{{years|}}}|<br />{{{years}}}|}}{{#if:{{{regent1|}}}|<br/>''with {{{regent1}}}''|}} {{#if:{{{years1|}}}| <small>''  ({{{years1}}})''</small>|}}{{#if:{{{regent2|}}}|<br/>''{{{regent2}}}''|}} {{#if:{{{years2|}}}| <small>''  ({{{years2}}})''</small>|}}{{#if:{{{regent3|}}}|<br/>''{{{regent3}}}''|}} {{#if:{{{years3|}}}| <small>''  ({{{years3}}})''</small>|}}{{#if:{{{alongside|}}}|<br/><small>Served alongside: '''{{{alongside}}}'''</small>|}}
|width="30%" align="center" rowspan="{{{rows|1}}}"| Succeeded&nbsp;by<br/>'''{{{after}}}'''
|-
|}</center><noinclude>[[Category:Utility templates|Succession box]]</noinclude>

Latest revision as of 19:33, May 21, 2024

Preceded by
{{{before}}}
{{{title}}} Succeeded by
{{{after}}}