Template:Succ: Difference between revisions

From TalossaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<center>
{| style="margin: 1em 1em 1em 1em" width="75%" align="center" class="info"
{| style="margin: 1em 1em 1em 1em" width="75%" align="center" class="info"
|-
|-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''}}
|}</center><noinclude>
|}<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:
Line 12: Line 11:
  |d2=The date the person left the office.  Leave blank if incumbent.
  |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.
  |n1=The name of the person who preceded the current subject, preferably wikilinked.
  |n2=The name of the person who succeeded the current subject, preferably wikilinked.  Leave blank if incumbent.
  |n2=Person who succeeded the current subject, preferably wikilinked.  Leave blank if incumbent.
  }}
  }}
</pre>
</pre>
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).
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).
[[Category:Templates]][[Category:Succession templates]]</noinclude>
[[Category:Templates]][[Category:Succession templates]]</noinclude>

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