Jump to content

Template:S-start: Difference between revisions

From IdeaWazaWiki
wikademia>KuatofKDY
Added s-hou instructions with examples.
wikademia>Wikademia
m 46 revisions
 
(37 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{| class="wikitable" style="margin: 0.5em auto; clear: both; font-size:95%"
{| class="wikitable" style="margin:0.5em auto; font-size:95%;{{#if:{{{noclear|}}}||clear:both;}}"
|- style="text-align: center;"
 
<noinclude>
<noinclude>
----
|''Start of centred table''
'''S-Start''' is the initial component in a template series for succession boxes.  It replaces the pervious formats for succession tables but still allows for most of their use.
|}
 
{{pp-template|small=yes}}
==Templates Discussed on this Page==
{{documentation}}
This template is to be used in coordination with the following:
<!--NB Add metadata to the /doc page linked above, not here; thanks!-->
::[[Template:s-start]] - Opens a new Wikitable
::[[Template:s-bef]] - For listing predecessors
::[[Template:s-aft]] - For listing successors
::[[Template:s-ttl]] - For listing titles
::[[Template:end]] or [[Template:end box]] - For closing Wikitables
::[[Template:s-non]] - For no successors
::[[Template:s-new]] - For new titles
::[[Template:s-vac]] - For vacant titles (predecessor or successor)
::[[Template:s-inc]] - For incumbants
::[[Template:s-reg]] - For regents (to go with s-ttl)
::[[Template:s-hou]] - For house/family information
 
==Instructions for Use==
To use, follow these instructions:<br/>
:Enter the start field so the program recognizes the table<br/>
::<nowiki>{{s-start}}</nowiki><br/>
:Enter the name of the predecessor<br/>
::<nowiki>{{s-bef|before=[['''Enter Predecessor here''']]}}</nowiki><br/>
:Enter the title of the person on whose page you are working.<br/>
::<nowiki>{{s-ttl|title=[['''Enter Title here''']]</nowiki>
:Also, enter the years during which they held that title.<br/>
::<nowiki>|years=[['''Enter start date here''']]-[['''Enter end date here''']]}}</nowiki><br/>
:Enter the name of the successor:<br/>
::<nowiki>{{s-aft|after=[['''Enter Successor here''']]}}</nowiki><br/>
:If they held additional titles after, place the following and repeat as necessary:<br/>
::<nowiki>|-</nowiki><br/>
:Once everything is done, type:<br/>
::<nowiki>{{end}}</nowiki><br/>
 
===S-start, s-bef, s-ttl, s-aft, end===
That is how to do the most simple one.  When it is done, it will look like this:<br/>
::<nowiki>{{s-start}}</nowiki><br/>
::<nowiki>{{s-bef|before=[['''Enter Predecessor here''']]}}</nowiki><br/>
::<nowiki>{{s-ttl|title=[['''Enter Title here''']]</nowiki>
::<nowiki>|years=[['''Enter start date here''']]-[['''Enter end date here''']]}}</nowiki><br/>
::<nowiki>{{s-aft|after=[['''Enter Successor here''']]}}</nowiki><br/>
::<nowiki>{{end}}</nowiki><br/>
 
Which will look something like this:
{{s-start}}
{{s-bef|before=Martin}}
{{s-ttl|title=King of Europe|years=1492-1528}}
{{s-aft|after=Robert}}
{{end}}
 
===Rows===
A row marker can be created in nearly all the templates immediately following the "'''s-'''" field.  They help designate if someone gained a position in office from another person, or lost a position while in office, as well as other more complex scenarios.
 
In most fields, simply type:
::<nowiki>{{s-EXTENSION OF TEMPLATE HERE|</nowiki>'''row=INSERT ROWS HERE'''<nowiki>|REMAINDER OF FORM}}</nowiki>
 
The number corresponds to the number of rows this name or title overlaps in regard to the other rows.  Lists of title-holders are usually in order of the granting of the title, beginning with the oldest titles held. 
 
Remember also to place:
<nowiki>|-</nowiki>
between every row on the list.  This text is already imbedded into the Template:s-aft, Template:s-non, and Template:s-inc, but if you are ending with a different template, place these characters or the computer will not recognize a new row.  It is used in the following example only to demonstrate its purpose.
 
An example of the code is as follows:
 
::<nowiki>{{s-start}}</nowiki><br/>
::<nowiki>{{s-bef|rows=1|before=Andrew}}</nowiki><br/>
::<nowiki>{{s-ttl|title=King of Australia</nowiki><br/>
::<nowiki>|years=1620-1675}}</nowiki><br/>
::<nowiki>{{s-aft|rows=2|after=Christian}}</nowiki><br/>
::<nowiki>|-</nowiki><br/>
::<nowiki>{{s-bef|rows=1|before=Willem}}</nowiki><br/>
::<nowiki>{{s-ttl|rows=1|title=King of Oceana</nowiki><br/>
::<nowiki>|years=1631–1675}}</nowiki><br/>
::<nowiki>{{end}}</nowiki><br/>
 
When complete, this form appears as thus:
{{s-start}}
{{s-bef|rows=1|before=Andrew}}
{{s-ttl|title=King of Australia
|years=1620-1675}}
{{s-aft|rows=2|after=Christian}}
|-
{{s-bef|rows=1|before=Willem}}
{{s-ttl|rows=1|title=King of Oceana
|years=1620–1675}}
{{end}}
 
===S-non===
To create a table for someone whose title expires, went extinct, or otherwise went into disuse upon their death, use the following:
 
Template:s-non (with others)
::<nowiki>{{s-start}}</nowiki>
::<nowiki>{{s-bef|before=INSERT PREDECESSOR HERE}}</nowiki>
::<nowiki>{{s-ttl|title=TITLE OF PERSON|years=INSERT YEAR HERE}}</nowiki>
::<nowiki>{{s-non|reason=GIVE BRIEF REASON WHY NO MORE TITLE (eg. Extinct)}}</nowiki>
::<nowiki>{{end}}</nowiki>
 
Which looks like:
{{s-start}}
{{s-bef|before=Chinggis}}
{{s-ttl|title=King of Asia|years=1263-1320}}
{{s-non|reason=Conquest by <br/>Arabian Empire}}
{{end}}
 
===S-new===
To create a table that begins with a newly created title, use this:
 
Template:s-new (with others)
::<nowiki>{{s-start}}</nowiki>
::<nowiki>{{s-new}}</nowiki>
::<nowiki>{{s-ttl|title=TITLE OF PERSON|years=INSERT YEARS HERE}}</nowiki>
::<nowiki>{{s-aft|after=INSERT PREDECESSOR HERE}}</nowiki>
::<nowiki>{{end}}</nowiki>
 
Which looks like:
{{s-start}}
{{s-new}}
{{s-ttl|title=King of Africa|years=1820-1830}}
{{s-aft|after=Amal}}
{{end}}
 
===S-vac===
To create a table that begins with a vacant title, use this:
 
Template:s-vac (with others)
::<nowiki>{{s-start}}</nowiki>
::<nowiki>{{s-vac}}</nowiki>
::<nowiki>{{s-ttl|title=TITLE OF PERSON|years=INSERT YEARS HERE}}</nowiki>
::<nowiki>{{s-aft|after=INSERT PREDECESSOR HERE}}</nowiki>
::<nowiki>{{end}}</nowiki>
 
Which looks like:
{{s-start}}
{{s-vac}}
{{s-ttl|title=King of Madagascar|years=1620-1641}}
{{s-aft|after=Windig}}
{{end}}
 
===S-inc===
To create a table for someone who is the incumbant (current title holder), use the following:
 
Template:s-non (with others)
::<nowiki>{{s-start}}</nowiki>
::<nowiki>{{s-bef|before=INSERT PREDECESSOR HERE}}</nowiki>
::<nowiki>{{s-ttl|title=TITLE OF PERSON|years=INSERT FIRST YEAR FOLLOWED BY "–present"}}</nowiki>
::<nowiki>{{s-inc}}</nowiki>
::<nowiki>{{end}}</nowiki>
 
Which looks like:
{{s-start}}
{{s-bef|before=George}}
{{s-ttl|title=King of North America|years=2001-present}}
{{s-inc}}
{{end}}
 
===S-reg===
To create a table for someone ruled with the aide of another (regent, coruler, &c.), use the following: (Note: This form has no "rows" option.)
 
Template:s-reg (with others)
::<nowiki>{{s-start}}</nowiki>
::<nowiki>{{s-bef|before=INSERT PREDECESSOR HERE}}</nowiki>
::<nowiki>{{s-ttl|title=TITLE OF PERSON|years=INSERT YEARS HERE}}</nowiki>
::<nowiki>{{s-reg|regent=TITLE OF REGENT|years=INSERT YEARS HERE}}</nowiki>
::<nowiki>{{s-aft|after=INSERT SUCCESSOR HERE)}}</nowiki>
::<nowiki>{{end}}</nowiki>
 
Which looks like:
{{s-start}}
{{s-bef|before=Philip}}
{{s-ttl|title=Queen of Antarctica|years=1889-1914}}
{{s-reg|regent=Philip|years=1889-1897}}
{{s-aft|after=Margaret}}
{{end}}
 
===S-hou===
This template is for the top of a succession lis, directly beneath the s-start, and establishes which royal house a person is in, and gives their birth and death dates.  If you do not know the day and month, leave a <nowiki>|</nowiki> and fill out the rest.  For unknown birth or death dates, type '''Unknown''; for living people, type '''Living'''.  To use, do the following:<br/>
::<nowiki>{{s-start}}</nowiki><br/>
::<nowiki>{{s-hou|ENTER NAME OF HOUSE HERE|DAY AND MONTH OF BIRTH|YEAR OF BIRTH|DAY AND MONTH OF DEATH|YEAR OF DEATH}}</nowiki><br/>
::<nowiki>{{s-bef|before=[[INSERT PREDECESSOR HERE]]}}</nowiki><br/>
::<nowiki>{{s-ttl|title=[[ENTER TITLE HERE]]</nowiki>
::<nowiki>|years=[[ENTER START DATE HERE]]-[[ENTER END DATE HERE]]}}</nowiki><br/>
::<nowiki>{{s-aft|after=[[INSERT SUCCESSOR HERE]]}}</nowiki><br/>
::<nowiki>{{end}}</nowiki><br/>
 
Which will look something like this:
{{s-start}}
{{s-hou|Capet|18 March|1920|31 December|1987}}
{{s-bef|before=Albert}}
{{s-ttl|title=King of Greenland|years=1972-1987}}
{{s-aft|after=Francois}}
{{end}}
 
==Chart noting all of these tables combined==
Using the rows feature of the templates, very advanced tables can be created to help in situations with people who hold many posts, especially [[British Prime Minister]]s.  The following is a hypothetical chart with at least one use of all the forms above:
 
{{s-start}}
{{s-hou|Habsburg|19 January|1958||Living}}
{{s-new}}
{{s-ttl|title=Queen of India|years=1972–1983}}
{{s-reg|regent=Michael|years=1972-1975}}
{{s-aft|rows=2|after=Arnold}}
{{s-bef|rows=3|before=Elizabeth}}
{{s-ttl|title=Lady High of Oceana|years=1975-1983}}
|-
{{s-ttl|title=Empress of Arabia|years=1975-1993}}
{{s-non|reason=Title merged with<br/>Great Khanna of Asia}}
{{s-ttl|title=Grand Duchess of Europa|years=1975–1999}}
{{s-aft|rows=2|after=Felicia}}
{{s-vac|before=Karl}}
{{s-ttl|title=Chief Sultana of Africa|years=1993-1999}}
|-
{{s-new}}
{{s-ttl|title=Great Khanna of Asia|years=1993–present}}
{{s-inc|rows=2}}
{{s-bef|before=Diane}}
{{s-ttl|title=Honrary Queen of Australia|years=2003–present}}
{{end}}
</noinclude>
</noinclude>

Latest revision as of 17:27, 26 April 2009

Start of centred table
[create] Template documentation