Tolkien Gateway

Template:Seq

(Difference between revisions)
m (Example 2: Gandalf: Corrected)
m (Example 2: Gandalf: Updated)
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<includeonly><tr style="text-align: center;">
 
<includeonly><tr style="text-align: center;">
{{t|1=<td width="30%" {{t|1=rowspan="{{{prow}}}"|1{{{prow|}}}=}}>{{#if:{{{pvac|}}}|'''{{{pvac|}}}'''|Preceded by:}}<br/>{{#if:{{{pvac|}}}|<small>{{{prev}}}</small>|'''{{{prev}}}'''}}</td>|1{{{prev|}}}=}}
+
{{t|1=<td width="27.5%" {{t|1=rowspan="{{{prow}}}"|1{{{prow|}}}=}}>{{#if:{{{pvac|}}}|'''{{{pvac|}}}'''|<span style="font-size:90%">Preceded by:</span>}}<br/>{{#if:{{{pvac|}}}|<small>{{{prev|}}}</small>|'''{{{prev}}}'''}}</td>|1{{{prev|}}}{{{pvac|}}}=}}
<td width="40%">{{t|1='''{{{list}}}'''|1{{{list|}}}=}}{{t|1=<br/>{{{dates}}}|1{{{dates|}}}=}}</td>
+
<td width="45%">{{t|1='''{{{list}}}'''|1{{{list|}}}=}}{{t|1=<br/>{{{dates}}}|1{{{dates|}}}=}}</td>
{{t|1=<td width="30%" {{t|1=rowspan="{{{nrow}}}"|1{{{nrow|}}}=}}>{{#if:{{{nvac|}}}|'''{{{nvac|}}}'''|Followed by:}}<br/>{{#if:{{{nvac|}}}|<small>{{{next}}}</small>|'''{{{next}}}'''}}</td>|1{{{next|}}}=}}</tr></includeonly><noinclude>__NOTOC__'''Please read everything, and make sure you understand fully before you use this template.'''
+
{{t|1=<td width="27.5%" {{t|1=rowspan="{{{nrow}}}"|1{{{nrow|}}}=}}>{{#if:{{{nvac|}}}|'''{{{nvac|}}}'''|<span style="font-size:90%">Followed by:</span>}}<br/>{{#if:{{{nvac|}}}|<small>{{{next|}}}</small>|'''{{{next}}}'''}}</td>|1{{{next|}}}{{{nvac|}}}=}}</tr></includeonly><noinclude>__NOTOC__'''Please read everything, and make sure you understand fully before you use this template.'''
 
==Usage==
 
==Usage==
 
This template is a more advanced version of [[Template:Sequence]], which this template is designed to eventually replace. This template cannot be used by itself and '''must''' be combined with [[Template:Seq-start]] and [[Template:Seq-end]] (see [[Template:Seq-head]], for documentation on the optional header). This template can be repeated '''multiple''' times within <nowiki>{{seq-start}}</nowiki> and <nowiki>{{seq-end}}</nowiki>, (see examples below); this is how to use it:
 
This template is a more advanced version of [[Template:Sequence]], which this template is designed to eventually replace. This template cannot be used by itself and '''must''' be combined with [[Template:Seq-start]] and [[Template:Seq-end]] (see [[Template:Seq-head]], for documentation on the optional header). This template can be repeated '''multiple''' times within <nowiki>{{seq-start}}</nowiki> and <nowiki>{{seq-end}}</nowiki>, (see examples below); this is how to use it:
Line 33: Line 33:
 
Where:<br/>
 
Where:<br/>
 
'''prow''', defines the number of separate uses of <nowiki>{{seq}}</nowiki> you would like '''prev''' to span (an example at [[Isildur]] where '''prow'''=3 for [[Elendil]]). If not used, leave blank or omit.<br/>
 
'''prow''', defines the number of separate uses of <nowiki>{{seq}}</nowiki> you would like '''prev''' to span (an example at [[Isildur]] where '''prow'''=3 for [[Elendil]]). If not used, leave blank or omit.<br/>
'''pvac''', used for replacing "Preceded by:" with something else, usually "Vacant" (example at [[Aragorn II]]). If not used, leave blank or omit.<br/>
+
'''pvac''', used for replacing "Preceded by:" with something else, usually "Vacant" (example at [[Aragorn]]). If not used, leave blank or omit.<br/>
 
'''prev''', the previous title holder. (Leave blank, or omit, if you're using '''prow''' elsewhere.)<br/>
 
'''prev''', the previous title holder. (Leave blank, or omit, if you're using '''prow''' elsewhere.)<br/>
 
'''list''', the title. If not used, leave blank or omit (not that you would want to).<br/>
 
'''list''', the title. If not used, leave blank or omit (not that you would want to).<br/>
Line 39: Line 39:
 
'''next''', the following title-holder. (Leave blank, or omit, if you're using '''nrow''' elsewhere.)<br/>
 
'''next''', the following title-holder. (Leave blank, or omit, if you're using '''nrow''' elsewhere.)<br/>
 
'''nvac''', used for replacing "Followed by:" with something else, usually "Vacant" (example at [[Isildur]]). If not used, leave blank or omit.<br/>
 
'''nvac''', used for replacing "Followed by:" with something else, usually "Vacant" (example at [[Isildur]]). If not used, leave blank or omit.<br/>
'''nrow''', as with '''prow''', used for when the '''next''' spans multiple titles (example at [[Aragorn II]] where '''nrow'''=4 for [[Eldarion]]). If not used, leave blank or omit.
+
'''nrow''', as with '''prow''', used for when the '''next''' spans multiple titles (example at [[Aragorn]] where '''nrow'''=4 for [[Eldarion]]). If not used, leave blank or omit.
  
 
==Examples==
 
==Examples==
===Example 1: [[Aragorn II|Aragorn]]===
+
===Example 1: [[Aragorn]]===
 
<pre>{{seq-start}}
 
<pre>{{seq-start}}
 
{{seq-head
 
{{seq-head
 
| race=gondorian
 
| race=gondorian
| house=[[House of Telcontar]]<small><br/>Cadet branch of [[House of Isildur]]</small>
+
| house=[[House of Telcontar]]<small><br/>Continuation of the senior branch of the [[House of Isildur]]</small>
| born=[[March 1]], {{TA|2931}}
+
| born=[[1 March|March 1]], {{TA|2931}}
 
| died={{FoA|120}}
 
| died={{FoA|120}}
 
}}
 
}}
Line 53: Line 53:
 
| prev=[[Arathorn II]]
 
| prev=[[Arathorn II]]
 
| list=[[Chieftains of the Dúnedain|Chieftain of the Dúnedain]]
 
| list=[[Chieftains of the Dúnedain|Chieftain of the Dúnedain]]
| dates={{TA|2933}} – T.A. 3019
+
| dates={{TA|2933}} – {{TA|3019|n}}
 
| next=Position abolished
 
| next=Position abolished
 
| nvac=None
 
| nvac=None
Line 60: Line 60:
 
| prev=[[Gandalf]]
 
| prev=[[Gandalf]]
 
| list=Leader of the [[Fellowship of the Ring]]
 
| list=Leader of the [[Fellowship of the Ring]]
| dates=[[January 15]] - [[February 16]], {{TA|3019}}
+
| dates=[[15 January|January 15]] - [[22 August|August 22]], {{TA|3019}}
 
| next=Position abolished
 
| next=Position abolished
 
| nvac=None
 
| nvac=None
Line 66: Line 66:
 
{{seq
 
{{seq
 
| pvac=Vacant
 
| pvac=Vacant
| prev=Last held by:<br/>'''[[Eärnur]]''', 971 years earlier
+
| prev=Last held by:<br/>'''[[Eärnur]]''', 969 years earlier
 
| list=[[Kings of Gondor|King of Gondor]]
 
| list=[[Kings of Gondor|King of Gondor]]
| dates=T.A. 3019 – Fo.A. 120
+
| dates={{TA|3019}} {{FoA|120}}
 
| next=[[Eldarion]]
 
| next=[[Eldarion]]
 
| nrow=4
 
| nrow=4
Line 74: Line 74:
 
{{seq
 
{{seq
 
| pvac=Vacant
 
| pvac=Vacant
| prev=Last held by:<br/>'''[[Arvedui]]''', 1,046 years earlier
+
| prev=Last held by:<br/>'''[[Eärendur]]''', 2,158 years earlier
 
| list=[[Kings of Arnor|King of Arnor]]
 
| list=[[Kings of Arnor|King of Arnor]]
| dates=T.A. 3019 – Fo.A. 120
+
| dates={{TA|3019}} {{FoA|120}}
 
}}
 
}}
 
{{seq
 
{{seq
Line 82: Line 82:
 
| prev=Last held by:<br/>'''[[Isildur]]''', 3,017 years earlier
 
| prev=Last held by:<br/>'''[[Isildur]]''', 3,017 years earlier
 
| list=[[High King of the Dúnedain|High King]] of the [[Reunited Kingdom]]
 
| list=[[High King of the Dúnedain|High King]] of the [[Reunited Kingdom]]
| dates=T.A. 3019 – Fo.A. 120
+
| dates={{TA|3019}} {{FoA|120}}
 
}}
 
}}
 
{{seq
 
{{seq
 
| pvac=None
 
| pvac=None
 
| prev=New title
 
| prev=New title
| list=[[House of Telcontar]]
+
| list=Head of the [[House of Telcontar]]
| dates=T.A. 3019 – Fo.A. 120
+
| dates={{TA|3019}} {{FoA|120}}
 
}}
 
}}
 
{{seq-end}}</pre>
 
{{seq-end}}</pre>
Line 94: Line 94:
 
{{seq-head
 
{{seq-head
 
| race=gondorian
 
| race=gondorian
| house=[[House of Telcontar]]<small><br/>Cadet branch of [[House of Isildur]]</small>
+
| house=[[House of Telcontar]]<small><br/>Continuation of the senior branch of the [[House of Isildur]]</small>
| born=[[March 1]], {{TA|2931}}
+
| born=[[1 March|March 1]], {{TA|2931}}
 
| died={{FoA|120}}
 
| died={{FoA|120}}
 
}}
 
}}
Line 101: Line 101:
 
| prev=[[Arathorn II]]
 
| prev=[[Arathorn II]]
 
| list=[[Chieftains of the Dúnedain|Chieftain of the Dúnedain]]
 
| list=[[Chieftains of the Dúnedain|Chieftain of the Dúnedain]]
| dates={{TA|2933}} – T.A. 3019
+
| dates={{TA|2933}} – {{TA|3019|n}}
 
| next=Position abolished
 
| next=Position abolished
 
| nvac=None
 
| nvac=None
Line 108: Line 108:
 
| prev=[[Gandalf]]
 
| prev=[[Gandalf]]
 
| list=Leader of the [[Fellowship of the Ring]]
 
| list=Leader of the [[Fellowship of the Ring]]
| dates=[[January 15]] - [[February 16]], {{TA|3019}}
+
| dates=[[15 January|January 15]] - [[22 August|August 22]], {{TA|3019}}
 
| next=Position abolished
 
| next=Position abolished
 
| nvac=None
 
| nvac=None
Line 114: Line 114:
 
{{seq
 
{{seq
 
| pvac=Vacant
 
| pvac=Vacant
| prev=Last held by:<br/>'''[[Eärnur]]''', 971 years earlier
+
| prev=Last held by:<br/>'''[[Eärnur]]''', 969 years earlier
 
| list=[[Kings of Gondor|King of Gondor]]
 
| list=[[Kings of Gondor|King of Gondor]]
| dates=T.A. 3019 – Fo.A. 120
+
| dates={{TA|3019}} {{FoA|120}}
 
| next=[[Eldarion]]
 
| next=[[Eldarion]]
 
| nrow=4
 
| nrow=4
Line 122: Line 122:
 
{{seq
 
{{seq
 
| pvac=Vacant
 
| pvac=Vacant
| prev=Last held by:<br/>'''[[Arvedui]]''', 1,046 years earlier
+
| prev=Last held by:<br/>'''[[Eärendur]]''', 2,158 years earlier
 
| list=[[Kings of Arnor|King of Arnor]]
 
| list=[[Kings of Arnor|King of Arnor]]
| dates=T.A. 3019 – Fo.A. 120
+
| dates={{TA|3019}} {{FoA|120}}
 
}}
 
}}
 
{{seq
 
{{seq
Line 130: Line 130:
 
| prev=Last held by:<br/>'''[[Isildur]]''', 3,017 years earlier
 
| prev=Last held by:<br/>'''[[Isildur]]''', 3,017 years earlier
 
| list=[[High King of the Dúnedain|High King]] of the [[Reunited Kingdom]]
 
| list=[[High King of the Dúnedain|High King]] of the [[Reunited Kingdom]]
| dates=T.A. 3019 – Fo.A. 120
+
| dates={{TA|3019}} {{FoA|120}}
 
}}
 
}}
 
{{seq
 
{{seq
 
| pvac=None
 
| pvac=None
 
| prev=New title
 
| prev=New title
| list=[[House of Telcontar]]
+
| list=Head of the [[House of Telcontar]]
| dates=T.A. 3019 – Fo.A. 120
+
| dates={{TA|3019}} {{FoA|120}}
 
}}
 
}}
 
{{seq-end}}
 
{{seq-end}}
 +
 
===Example 2: [[Gandalf]]===
 
===Example 2: [[Gandalf]]===
 
<pre>{{seq-start}}
 
<pre>{{seq-start}}
 
{{seq-head
 
{{seq-head
 
| race=maiar
 
| race=maiar
| house=
+
| house=[[Maiar]]
| born=
+
}}
| died=
+
{{seq
 +
| prev=[[Círdan]]
 +
| list=Bearer of [[Narya]]
 +
| dates=c. {{TA|1000}} - after {{TA|3021|n}}
 +
| nvac=None
 +
| next=Presumably, still Gandalf
 
}}
 
}}
 
{{seq
 
{{seq
 
| pvac=None
 
| pvac=None
| prev=New position
+
| prev=Position created
 
| list=Leader of the [[Fellowship of the Ring]]
 
| list=Leader of the [[Fellowship of the Ring]]
| dates=[[December 25|Dec. 25]], {{TA|3018}} - [[January 15|Jan. 15]], {{TA|3019}}
+
| dates=[[25 December]] {{TA|3018}} - [[15 January]] {{TA|3019|n}}
| next=[[Aragorn II|Aragorn]]
+
| next=[[Aragorn|Aragorn II]]
 
}}
 
}}
 
{{seq-end}}</pre>
 
{{seq-end}}</pre>
Line 158: Line 164:
 
{{seq-head
 
{{seq-head
 
| race=maiar
 
| race=maiar
| house=
+
| house=[[Maiar]]
| born=
+
}}
| died=
+
{{seq
 +
| prev=[[Círdan]]
 +
| list=Bearer of [[Narya]]
 +
| dates=c. {{TA|1000}} - after {{TA|3021|n}}
 +
| nvac=None
 +
| next=Presumably, still Gandalf
 
}}
 
}}
 
{{seq
 
{{seq
 
| pvac=None
 
| pvac=None
| prev=New position
+
| prev=Position created
 
| list=Leader of the [[Fellowship of the Ring]]
 
| list=Leader of the [[Fellowship of the Ring]]
| dates=[[December 25|Dec. 25]], {{TA|3018}} - [[January 15|Jan. 15]], {{TA|3019}}
+
| dates=[[25 December]] {{TA|3018}} - [[15 January]] {{TA|3019|n}}
| next=[[Aragorn II|Aragorn]]
+
| next=[[Aragorn|Aragorn II]]
 
}}
 
}}
 
{{seq-end}}
 
{{seq-end}}
 
'''N.B.''' This is part of a very complex template: if you need help with using this template, please contact [[User:Mith|Mith]] on [[User talk:Mith|his talkpage]]; if you want to edit this template please outline the changes you wish to make on [[Template talk:Seq|this template's talkpage]].
 
'''N.B.''' This is part of a very complex template: if you need help with using this template, please contact [[User:Mith|Mith]] on [[User talk:Mith|his talkpage]]; if you want to edit this template please outline the changes you wish to make on [[Template talk:Seq|this template's talkpage]].
 
[[Category:Navigation templates|Seq]]</noinclude>
 
[[Category:Navigation templates|Seq]]</noinclude>

Revision as of 09:21, 12 October 2012

Please read everything, and make sure you understand fully before you use this template.

Usage

This template is a more advanced version of Template:Sequence, which this template is designed to eventually replace. This template cannot be used by itself and must be combined with Template:Seq-start and Template:Seq-end (see Template:Seq-head, for documentation on the optional header). This template can be repeated multiple times within {{seq-start}} and {{seq-end}}, (see examples below); this is how to use it:

{{seq
| prow=
| pvac=
| prev=
| list=
| dates=
| next=
| nvac=
| nrow=
}}

Or, with the required {{seq-start}} and {{seq-end}}:

{{seq-start}}
{{seq
| prow=
| pvac=
| prev=
| list=
| dates=
| next=
| nvac=
| nrow=
}}
{{seq-end}}

Where:
prow, defines the number of separate uses of {{seq}} you would like prev to span (an example at Isildur where prow=3 for Elendil). If not used, leave blank or omit.
pvac, used for replacing "Preceded by:" with something else, usually "Vacant" (example at Aragorn). If not used, leave blank or omit.
prev, the previous title holder. (Leave blank, or omit, if you're using prow elsewhere.)
list, the title. If not used, leave blank or omit (not that you would want to).
dates, the dates the title was held. If not used, leave blank or omit.
next, the following title-holder. (Leave blank, or omit, if you're using nrow elsewhere.)
nvac, used for replacing "Followed by:" with something else, usually "Vacant" (example at Isildur). If not used, leave blank or omit.
nrow, as with prow, used for when the next spans multiple titles (example at Aragorn where nrow=4 for Eldarion). If not used, leave blank or omit.

Examples

Example 1: Aragorn

{{seq-start}}
{{seq-head
| race=gondorian
| house=[[House of Telcontar]]<small><br/>Continuation of the senior branch of the [[House of Isildur]]</small>
| born=[[1 March|March 1]], {{TA|2931}}
| died={{FoA|120}}
}}
{{seq
| prev=[[Arathorn II]]
| list=[[Chieftains of the Dúnedain|Chieftain of the Dúnedain]]
| dates={{TA|2933}} – {{TA|3019|n}}
| next=Position abolished
| nvac=None
}}
{{seq
| prev=[[Gandalf]]
| list=Leader of the [[Fellowship of the Ring]]
| dates=[[15 January|January 15]] - [[22 August|August 22]], {{TA|3019}}
| next=Position abolished
| nvac=None
}}
{{seq
| pvac=Vacant
| prev=Last held by:<br/>'''[[Eärnur]]''', 969 years earlier
| list=[[Kings of Gondor|King of Gondor]]
| dates={{TA|3019}} – {{FoA|120}}
| next=[[Eldarion]]
| nrow=4
}}
{{seq
| pvac=Vacant
| prev=Last held by:<br/>'''[[Eärendur]]''', 2,158 years earlier
| list=[[Kings of Arnor|King of Arnor]]
| dates={{TA|3019}} – {{FoA|120}}
}}
{{seq
| pvac=Vacant
| prev=Last held by:<br/>'''[[Isildur]]''', 3,017 years earlier
| list=[[High King of the Dúnedain|High King]] of the [[Reunited Kingdom]]
| dates={{TA|3019}} – {{FoA|120}}
}}
{{seq
| pvac=None
| prev=New title
| list=Head of the [[House of Telcontar]]
| dates={{TA|3019}} – {{FoA|120}}
}}
{{seq-end}}
Seq
House of Telcontar
Continuation of the senior branch of the House of Isildur
Born: March 1, T.A. 2931 Died: Fo.A. 120
Preceded by:
Arathorn II
Chieftain of the Dúnedain
T.A. 29333019
None
Position abolished
Preceded by:
Gandalf
Leader of the Fellowship of the Ring
January 15 - August 22, T.A. 3019
None
Position abolished
Vacant
Last held by:
Eärnur, 969 years earlier
King of Gondor
T.A. 3019Fo.A. 120
Followed by:
Eldarion
Vacant
Last held by:
Eärendur, 2,158 years earlier
King of Arnor
T.A. 3019Fo.A. 120
Vacant
Last held by:
Isildur, 3,017 years earlier
High King of the Reunited Kingdom
T.A. 3019Fo.A. 120
None
New title
Head of the House of Telcontar
T.A. 3019Fo.A. 120

Example 2: Gandalf

{{seq-start}}
{{seq-head
| race=maiar
| house=[[Maiar]]
}}
{{seq
| prev=[[Círdan]]
| list=Bearer of [[Narya]]
| dates=c. {{TA|1000}} - after {{TA|3021|n}}
| nvac=None
| next=Presumably, still Gandalf
}}
{{seq
| pvac=None
| prev=Position created
| list=Leader of the [[Fellowship of the Ring]]
| dates=[[25 December]] {{TA|3018}} - [[15 January]] {{TA|3019|n}}
| next=[[Aragorn|Aragorn II]]
}}
{{seq-end}}
Seq
Maiar
Preceded by:
Círdan
Bearer of Narya
c. T.A. 1000 - after 3021
None
Presumably, still Gandalf
None
Position created
Leader of the Fellowship of the Ring
25 December T.A. 3018 - 15 January 3019
Followed by:
Aragorn II

N.B. This is part of a very complex template: if you need help with using this template, please contact Mith on his talkpage; if you want to edit this template please outline the changes you wish to make on this template's talkpage.