Template:Seq: Difference between revisions
m (→Example 2: Gandalf: Corrected) |
m (Re-linked) |
||
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 | '''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 | '''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: [[ | ===Example 1: [[Aragorn]]=== | ||
<pre>{{seq-start}} | <pre>{{seq-start}} | ||
{{seq-head | {{seq-head | ||
Line 152: | Line 152: | ||
| 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=[[December 25|Dec. 25]], {{TA|3018}} - [[January 15|Jan. 15]], {{TA|3019}} | ||
| next=[[ | | next=[[Aragorn]] | ||
}} | }} | ||
{{seq-end}}</pre> | {{seq-end}}</pre> | ||
Line 167: | Line 167: | ||
| 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=[[December 25|Dec. 25]], {{TA|3018}} - [[January 15|Jan. 15]], {{TA|3019}} | ||
| next=[[ | | next=[[Aragorn]] | ||
}} | }} | ||
{{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 17:01, 7 August 2010
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/>Cadet branch of [[House of Isildur]]</small> | born=[[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}} – T.A. 3019 | next=Position abolished | nvac=None }} {{seq | prev=[[Gandalf]] | list=Leader of the [[Fellowship of the Ring]] | dates=[[January 15]] - [[February 16]], {{TA|3019}} | next=Position abolished | nvac=None }} {{seq | pvac=Vacant | prev=Last held by:<br/>'''[[Eärnur]]''', 971 years earlier | list=[[Kings of Gondor|King of Gondor]] | dates=T.A. 3019 – Fo.A. 120 | next=[[Eldarion]] | nrow=4 }} {{seq | pvac=Vacant | prev=Last held by:<br/>'''[[Arvedui]]''', 1,046 years earlier | list=[[Kings of Arnor|King of Arnor]] | dates=T.A. 3019 – Fo.A. 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=T.A. 3019 – Fo.A. 120 }} {{seq | pvac=None | prev=New title | list=[[House of Telcontar]] | dates=T.A. 3019 – Fo.A. 120 }} {{seq-end}}
Seq House of Telcontar Cadet branch of House of Isildur | ||
Preceded by: Arathorn II |
Chieftain of the Dúnedain T.A. 2933 – T.A. 3019 |
None Position abolished |
Preceded by: Gandalf |
Leader of the Fellowship of the Ring January 15 - February 16, T.A. 3019 |
None Position abolished |
Vacant Last held by: Eärnur, 971 years earlier |
King of Gondor T.A. 3019 – Fo.A. 120 |
Followed by: Eldarion |
Vacant Last held by: Arvedui, 1,046 years earlier |
King of Arnor T.A. 3019 – Fo.A. 120 |
|
Vacant Last held by: Isildur, 3,017 years earlier |
High King of the Reunited Kingdom T.A. 3019 – Fo.A. 120 |
|
None New title |
House of Telcontar T.A. 3019 – Fo.A. 120 |
Example 2: Gandalf
{{seq-start}} {{seq-head | race=maiar | house= | born= | died= }} {{seq | pvac=None | prev=New position | list=Leader of the [[Fellowship of the Ring]] | dates=[[December 25|Dec. 25]], {{TA|3018}} - [[January 15|Jan. 15]], {{TA|3019}} | next=[[Aragorn]] }} {{seq-end}}
Seq
| ||
None New position |
Leader of the Fellowship of the Ring Dec. 25, T.A. 3018 - Jan. 15, T.A. 3019 |
Followed by: Aragorn |
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.