Template:S-start: Difference between revisions
wikademia>KuatofKDY No edit summary |
wikademia>KuatofKDY No edit summary |
||
| Line 4: | Line 4: | ||
<noinclude> | <noinclude> | ||
---- | ---- | ||
==Templates Discussed on this Page== | |||
This template is to be used in coordination with the following: | |||
::[[Template:s-start]] or [[Template:start succession box]] | |||
::[[Template:s-bef]] or [[Template:succession before]] | |||
::[[Template:s-aft]] or [[Template:succession after]] | |||
::[[Template:s-ttl]] or [[Template:succession title]] | |||
::[[Template:end]] or [[Template:end box]] | |||
::[[Template:s-non]] | |||
::[[Template:s-new]] | |||
::[[Template:s-inc]] | |||
::[[Template:s-reg]] | |||
==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-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}} | |||
==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-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-bef|rows=2|before=Karl}} | |||
{{s-ttl|title=Chief Sultana of Africa|years=1993-1999}} | |||
|- | |||
{{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> | ||