Template:Seq-head: Difference between revisions
m (Fixed column) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><tr><td colspan="3" {{t|1=class="{{#switch:{{{race}}} | arnorian = seqwhite | dragon = seqwhite | dwarf = seqcream | eagle = seqcream | edain = seqcream | ent = 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: #5D8AA8; color: #FFFDD0 !important; | dragon = background: #990000; color: white !important; | dwarf = background: #996515; color: white !important; | eagle = background: #1F1200; color: white !important; | edain = background: #712F26; color: white !important; | ent = background: #263D14; color: white !important; | evil = background: black; color: white !important; | gondorian = background: #393939; color: #FFFDD0 !important; | halfelf = background: #900020; color: white !important; | hobbit = background: #006600; color: white !important; | maiar = background: #9A03B5; color: #FFFDD0 !important; | men = background: #993D00; color: white !important; | nandor = background: #355E3B; color: white !important; | noldor = background: #090A67; color: white !important; | numenorean = background: #007BA7; color: #FFFDD0 !important; | orc = background: #736326; color: white !important; | rohirrim = background: #80461B; color: #FFFDD0 !important; | sindar = background: #949494; color: white !important; | teleri = background: #0099CC; color: white !important; | valar = background: #440D60; color: #FFFDD0 !important; | vanyar = background: #FFCC00; color: white !important; | #default = background: #FFD700; color: black !important;}} text-align:center;">'''{{{name|{{#explode:{{PAGENAME}}| (|0}}}}}'''{{t|1=<br/>{{{house}}}|1{{{house|}}}=}} | <includeonly><tr><td colspan="3" {{t|1=class="{{#switch:{{{race}}} | arnorian = seqwhite | dragon = seqwhite | dwarf = seqcream | eagle = seqcream | edain = seqcream | ent = 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 | elves = seqwhite | northmen = seqwhite | valar = seqwhite | maiar = seqwhite }}"|1{{{race|}}}=}} style="{{#switch:{{{race}}} | arnorian = background: #5D8AA8; color: #FFFDD0 !important; | dragon = background: #990000; color: white !important; | dwarf = background: #996515; color: white !important; | eagle = background: #1F1200; color: white !important; | edain = background: #712F26; color: white !important; | ent = background: #263D14; color: white !important; | evil = background: black; color: white !important; | gondorian = background: #393939; color: #FFFDD0 !important; | halfelf = background: #900020; color: white !important; | hobbit = background: #006600; color: white !important; | maiar = background: #9A03B5; color: #FFFDD0 !important; | men = background: #993D00; color: white !important; | nandor = background: #355E3B; color: white !important; | noldor = background: #090A67; color: white !important; | numenorean = background: #007BA7; color: #FFFDD0 !important; | orc = background: #736326; color: white !important; | rohirrim = background: #80461B; color: #FFFDD0 !important; | sindar = background: #949494; color: white !important; | teleri = background: #0099CC; color: white | ||
!important; | elves = background: #1365A8; color: white !important; | northmen = background: #E09A04; color: white | |||
!important; | valar = background: #440D60; color: #FFFDD0 !important; | vanyar = background: #FFCC00; color: white !important; | #default = background: #FFD700; color: black !important;}} text-align:center;">'''{{{name|{{#explode:{{PAGENAME}}| (|0}}}}}'''{{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 60: | Line 62: | ||
|- | |- | ||
| style="background: #FFCC00; color: white;" | vanyar | | style="background: #FFCC00; color: white;" | vanyar | ||
|- | |||
| style="background: #1365A8; color: white;" | elves | |||
|- | |||
| style="background: #E09A04; color: white;" | northmen | |||
|- | |- | ||
| style="background: #FFD700; color: black" | #default | | style="background: #FFD700; color: black" | #default |
Revision as of 21:59, 21 May 2015
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 | name= | race= | house= | born= | died= }}
Where:
name, is the name of the character. If left plank {{PAGENAME}} will be used.
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 |
dragon |
dwarf |
eagle |
edain |
ent |
evil |
gondorian |
halfelf |
hobbit |
maiar |
men |
nandor |
noldor |
numenorean |
orc |
rohirrim |
sindar |
teleri |
valar |
vanyar |
elves |
northmen |
#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.