Template:Seq-head: Difference between revisions
m (Clarified usage) |
(added arnorian) |
||
Line 1: | Line 1: | ||
<includeonly><tr><td colspan="3" {{t|1=class="{{#switch:{{{race}}} | dwarf = seqcream | edain = seqcream | evil = seqcream | halfelf = seqcream | hobbit = seqcream | men = seqcream | nandor = seqcream | noldor = seqcream | orc = seqcream | royalty = seqcream | sindar = seqcream | teleri = seqcream | vanyar = seqcream | numenorean = seqwhite | gondorian = seqwhite | rohirrim = seqwhite | valar = seqwhite | maiar = seqwhite }}"|1{{{race|}}}=}} style="{{#switch:{{{race}}} | dwarf = background: #734A12; color: white !important; | edain = background: #712F26; color: white !important; | evil = background: black; color: white !important; | gondorian = background: #393939; color: #FFFDD0 !important; | halfelf = background: #440D60; color: white !important; | hobbit = background: #736326; color: white !important; | maiar = background: #5D8AA8; color: #FFFDD0 !important; | men = background: #736326; color: white !important; | nandor = background: #355E3B; color: white !important; | noldor = background: #900020; color: white !important; | numenorean = background: #007BA7; color: #FFFDD0 !important; | orc = background: #736326; color: white !important; | rohirrim = background: #80461B; color: #FFFDD0 !important; | royalty = background: #993D00; color: white !important; | sindar = background: #949494; color: white !important; | teleri = background: #0099CC; color: white !important; | valar = background: #9A03B5; color: #FFFDD0 !important; | vanyar = background: #DAA520; color: white !important; | #default = background: #FFD700; color: black !important;}} text-align:center;">'''{{PAGENAME}}'''{{t|1=<br/>{{{house}}}|1{{{house|}}}=}} | <includeonly><tr><td colspan="3" {{t|1=class="{{#switch:{{{race}}} | arnorian = seqcream | dwarf = seqcream | edain = seqcream | evil = seqcream | halfelf = seqcream | hobbit = seqcream | men = seqcream | nandor = seqcream | noldor = seqcream | orc = seqcream | royalty = seqcream | sindar = seqcream | teleri = seqcream | vanyar = seqcream | numenorean = seqwhite | gondorian = seqwhite | rohirrim = seqwhite | valar = seqwhite | maiar = seqwhite }}"|1{{{race|}}}=}} style="{{#switch:{{{race}}} | arnorian = background: #5F9EA0; color: black !important; | dwarf = background: #734A12; color: white !important; | edain = background: #712F26; color: white !important; | evil = background: black; color: white !important; | gondorian = background: #393939; color: #FFFDD0 !important; | halfelf = background: #440D60; color: white !important; | hobbit = background: #736326; color: white !important; | maiar = background: #5D8AA8; color: #FFFDD0 !important; | men = background: #736326; color: white !important; | nandor = background: #355E3B; color: white !important; | noldor = background: #900020; color: white !important; | numenorean = background: #007BA7; color: #FFFDD0 !important; | orc = background: #736326; color: white !important; | rohirrim = background: #80461B; color: #FFFDD0 !important; | royalty = background: #993D00; color: white !important; | sindar = background: #949494; color: white !important; | teleri = background: #0099CC; color: white !important; | valar = background: #9A03B5; color: #FFFDD0 !important; | vanyar = background: #DAA520; color: white !important; | #default = background: #FFD700; color: black !important;}} text-align:center;">'''{{PAGENAME}}'''{{t|1=<br/>{{{house}}}|1{{{house|}}}=}} | ||
<div {{t|1=style="margin-top:8px;"|1{{{born|}}}=}} {{t|1=style="margin-top:8px;"|1{{{died|}}}=}}>{{t|1=<span" style="font-size: 90%; color: inherit !important; margin: 1.5em;">'''Born:''' {{{born}}}</span>|1{{{born|}}}=}} {{t|1=<span style="font-size: 90%; color: inherit !important; margin: 1.5em;">'''Died:''' {{{died}}}</span>|1{{{died|}}}=}}</div></td></tr></includeonly><noinclude>==Usage== | <div {{t|1=style="margin-top:8px;"|1{{{born|}}}=}} {{t|1=style="margin-top:8px;"|1{{{died|}}}=}}>{{t|1=<span" style="font-size: 90%; color: inherit !important; margin: 1.5em;">'''Born:''' {{{born}}}</span>|1{{{born|}}}=}} {{t|1=<span style="font-size: 90%; color: inherit !important; margin: 1.5em;">'''Died:''' {{{died}}}</span>|1{{{died|}}}=}}</div></td></tr></includeonly><noinclude>==Usage== | ||
This is an '''optional''' header which is used '''once''' in a series of sequences. If used, it should be placed '''after''' <nowiki>{{seq-start}}</nowiki>, and '''before''' the first <nowiki>{{seq}}</nowiki> (see [[Template:Seq]] on how to use those). The usage of seq-head is as follows: | This is an '''optional''' header which is used '''once''' in a series of sequences. If used, it should be placed '''after''' <nowiki>{{seq-start}}</nowiki>, and '''before''' the first <nowiki>{{seq}}</nowiki> (see [[Template:Seq]] on how to use those). The usage of seq-head is as follows: | ||
Line 16: | Line 16: | ||
'''died''', date of death. Can be left blank or omitted. | '''died''', date of death. Can be left blank or omitted. | ||
{| | {| | ||
|- | |||
| style="background: #5F9EA0; color: black;" | arnorian | |||
|- | |- | ||
| style="background: #734A12; color: white;" | dwarf | | style="background: #734A12; color: white;" | dwarf |
Revision as of 19:21, 19 November 2010
Usage
This is an optional header which is used once in a series of sequences. If used, it should be placed after {{seq-start}}, and before the first {{seq}} (see Template:Seq on how to use those). The usage of seq-head is as follows:
{{seq-head | race= | house= | born= | died= }}
Where:
race, select from the options below to display a pre-defined colour scheme to match the character's infobox. If omitted or left blank #default below will be displayed.
house, is the dynastic house. Can be left blank or omitted.
born, date of birth. Can be left blank or omitted.
died, date of death. Can be left blank or omitted.
arnorian |
dwarf |
edain |
evil |
gondorian |
halfelf |
hobbit |
maiar |
men |
nandor |
noldor |
numenorean |
orc |
rohirrim |
royalty |
sindar |
teleri |
valar |
vanyar |
#default |
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.