Template:Succ: Difference between revisions

From TalossaWiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div align="center">
<center>
{| style="margin: 0 auto;" 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''}}
|}</div><noinclude>
|-
{{#if: {{{d1a|}}} |
{{!}}width="25%" style="border-right: 1px solid black;"{{!}}'''{{{n1a}}}''' {{!}}{{!}} width="50%" style="border-right: 1px solid black;"{{!}} {{{d1a}}} - {{#if: {{{d2a|}}} | {{{d2a}}} | ''Present'' }}{{!}}{{!}}width="25%"{{!}} {{#if: {{{n2a|}}} | '''{{{n2a}}}''' | ''Incumbent''}}
| }}
|-
{{#if: {{{d1b|}}} |
{{!}}width="25%" style="border-right: 1px solid black;"{{!}}'''{{{n1b}}}''' {{!}}{{!}} width="50%" style="border-right: 1px solid black;"{{!}} {{{d1b}}} - {{#if: {{{d2b|}}} | {{{d2b}}} | ''Present'' }}{{!}}{{!}}width="25%"{{!}} {{#if: {{{n2b|}}} | '''{{{n2b}}}'''| ''Incumbent''}}
| }}
|-
{{#if: {{{d1c|}}} |
{{!}} width="25%" style="border-right: 1px solid black;"{{!}}'''{{{n1c}}}''' {{!}}{{!}} width="50%" style="border-right: 1px solid black;"{{!}} {{{d1c}}} - {{#if: {{{d2c|}}} | {{{d2c}}} | ''Present'' }}{{!}}{{!}}width="25%"{{!}} {{#if: {{{n2c|}}} | '''{{{n2c}}}''' | ''Incumbent''}}
| }}
|-
{{#if: {{{d1d|}}} |
{{!}}width="25%" style="border-right: 1px solid black;"{{!}}'''{{{n1d}}}''' {{!}}{{!}} width="50%" style="border-right: 1px solid black;"{{!}} {{{d1d}}} - {{#if: {{{d2d|}}} | {{{d2d}}}| ''Present'' }}{{!}}{{!}}width="25%"{{!}}{{#if: {{{n2d|}}} | '''{{{n2d}}}''' | ''Incumbent''}}
| }}
|}</center><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 9: Line 25:
  {{Succ
  {{Succ
  |o=The name of the office, preferably wikilinked (e.g. [[Seneschal]])
  |o=The name of the office, preferably wikilinked (e.g. [[Seneschal]])
  |d1=The date the person entered the office.
  |d1=The date the person entered the office.
  |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=Person who succeeded the current subject, preferably wikilinked.  Leave blank if incumbent.
  |n2=The name of the person who succeeded the current subject, preferably wikilinked.  Leave blank if incumbent.
  }}
  }}
</pre>
</pre>
You can list multiple instances of someone holding the same office as such (max. 5 total terms):
<pre>
{{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.
|d1a=Same as above, for the second term (omit if not necessary; will hide the whole block)
|d2a=Same as above, for the second term
|n1a=Same as above, for the second term
|n2a=Same as above, for the second term
|d1b=Same as above, for the third term (omit if not necessary; will hide the whole block)
|d2b=Same as above, for the third term
|n1b=Same as above, for the third term
|n2b=Same as above, for the third term
|d1c=Same as above, for the fourth term (omit if not necessary; will hide the whole block)
|d2c=Same as above, for the fourth term
|n1c=Same as above, for the fourth term
|n2c=Same as above, for the fourth term
|d1d=Same as above, for the fifth term (omit if not necessary; will hide the whole block)
|d2d=Same as above, for the fifth term
|n1d=Same as above, for the fifth term
|n2d=Same as above, for the fifth term
}}
</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>

Latest revision as of 03:18, 29 July 2019

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.
 }}

You can list multiple instances of someone holding the same office as such (max. 5 total terms):

 {{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.

 |d1a=Same as above, for the second term (omit if not necessary; will hide the whole block)
 |d2a=Same as above, for the second term
 |n1a=Same as above, for the second term
 |n2a=Same as above, for the second term

 |d1b=Same as above, for the third term (omit if not necessary; will hide the whole block)
 |d2b=Same as above, for the third term
 |n1b=Same as above, for the third term
 |n2b=Same as above, for the third term

 |d1c=Same as above, for the fourth term (omit if not necessary; will hide the whole block)
 |d2c=Same as above, for the fourth term
 |n1c=Same as above, for the fourth term
 |n2c=Same as above, for the fourth term

 |d1d=Same as above, for the fifth term (omit if not necessary; will hide the whole block)
 |d2d=Same as above, for the fifth term
 |n1d=Same as above, for the fifth term
 |n2d=Same as above, for the fifth term
 }}

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).