Template:Succ: Difference between revisions

From TalossaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
{| style="border-collapse: separate; border-spacing: 5; border-width: 2px; border-style: solid; border-color: #000; padding: 20; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -icab-border-radius: 10px; -o-border-radius: 10px; margin: 1em 1em 1em 1em" width="60%" align="center"
{| style="border-collapse: separate; border-spacing: 5; border-width: 2px; border-style: solid; border-color: #000; padding: 20; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -icab-border-radius: 10px; -o-border-radius: 10px; margin: 1em 1em 1em 1em" width="60%" align="center"
|-
|-
|Preceded by<br />'''{{{n1}}}''' || '''{{{o}}}'''<br />{{#if: {{{d1|}}} |{{{d1}}} - {{{d2|}}}|}} || Succeeded by<br />{{#if: {{{n2}}}|'''{{{n2}}}'''|''Incumbent''}}
|Preceded by<br />'''{{{n1}}}''' || '''{{{o}}}'''<br />{{#if: {{{d1|}}} |{{{d1}}} - {{{d2|}}}|}} || Succeeded by<br />{{#if: {{{n2|}}}|'''{{{n2}}}'''|''Incumbent''}}
|}</center><noinclude>
|}</center><noinclude>
===Usage===
===Usage===

Revision as of 21:24, 1 July 2012

Preceded by
{{{n1}}}
{{{o}}}
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. |}