Template:Succ: Difference between revisions

From TalossaWiki
Jump to navigation Jump to search
No edit summary
(q)
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"
|-
|-
|style="border-right: 1px solid black;"|Preceded by<br />'''{{{n1}}}''' ||style="border-right: 1px solid black;"| '''{{{o}}}'''<br />{{{d1}}} - {{#if: {{{d2|}}}|{{{d2}}}|''Present''}}|| Succeeded by<br />{{#if: {{{n2|}}}|'''{{{n2}}}'''|''Incumbent''}}
|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''}}
|}</center><noinclude>
|}</center><noinclude>
===Usage===
===Usage===

Revision as of 00:12, 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.
 }}