Template:Succ: Difference between revisions

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

Revision as of 01:13, 4 July 2012

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=The name of the person who succeeded the current subject, preferably wikilinked.  Leave blank if incumbent.
 }}