Template:Succ: Difference between revisions

From TalossaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{| div style="margin: 0 auto;" width="75%" align="center" class="info"
{| style="margin: 0 auto; text-align: center;" width="75%" align="center" class="info"
|-align="center"
|-align="center"
|width="25%" style="border-right: 1px solid black;"|Preceded by<br />'''{{{n1}}}''' ||width="50%" style="border-right: 1px solid black;"| '''{{{o}}}'''<br />{{{d1}}} - {{#if: {{{d2|}}}|{{{d2}}}|''Present''}}||width="25%"|Succeeded by<br />{{#if: {{{n2|}}}|'''{{{n2}}}'''|''Incumbent''}}
|width="25%" style="border-right: 1px solid black;"|Preceded by<br />'''{{{n1}}}''' ||width="50%" style="border-right: 1px solid black;"| '''{{{o}}}'''<br />{{{d1}}} - {{#if: {{{d2|}}}|{{{d2}}}|''Present''}}||width="25%"|Succeeded by<br />{{#if: {{{n2|}}}|'''{{{n2}}}'''|''Incumbent''}}

Revision as of 14:26, 24 September 2014

Preceded by
{{{n1}}}
{{{o}}}
{{{d1}}} - Present
Succeeded by
Incumbent

Usage

This box allows a given page on an individual to specify who came before them in an office, and who follow them. To use it, just add the following code to a person's page:

 {{Succ
 |o=The name of the office, preferably wikilinked (e.g. [[Seneschal]])
 |d1=The date the person entered the office.
 |d2=The date the person left the office.  Leave blank if incumbent.
 |n1=The name of the person who preceded the current subject, preferably wikilinked.
 |n2=Person who succeeded the current subject, preferably wikilinked.  Leave blank if incumbent.
 }}

Offices should be listed first by order of precedent (Seneschal should be above Senator, etc.) and secondly by most recent (Seneschal in 2009 should be above Seneschal in 2001).