Template:Succ: Difference between revisions

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

Revision as of 13:38, 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).