Template:Seq-head: Difference between revisions

From Tolkien Gateway
m (Testing something)
m (Testing)
Line 1: Line 1:
<includeonly><tr><td colspan="3" style="{{#switch:{{{race}}} | dwarf = background: #734A12; color: white; | edain = background: #712F26; color: white; | evil = background: black; color: white; | gondorian = background: #393939; color: #FFFDD0; | halfelf = background: #440D60; color: white; | hobbit = background: #736326; color: white; | maiar = background: #5D8AA8; color: black; | men = background: #736326; color: white; | nandor = background: #355E3B; color: white; | noldor = background: #900020; color: white; | numenorean = background: #007BA7; color: #FFFDD0; | orc = background: #736326; color: white; | rohirrim = background: #80461B; color: #FFFDD0; | royalty = background: #993D00; color: white; | sindar = background: #949494; color: white; | teleri = background: #0099CC; color: white; | valar = background: #9A03B5; color: black; | vanyar = background: #DAA520; color: white; | #default = background: #FFD700; color: black;}} text-align:center;">'''{{PAGENAME}}'''{{t|1=<br/>{{{house}}}|1{{{house}}}=}}
<includeonly><tr><td colspan="3" style="{{#switch:{{{race}}} | dwarf = background: #734A12; color: white; | edain = background: #712F26; color: white; | evil = background: black; color: white; | gondorian = background: #393939; color: #FFFDD0; | halfelf = background: #440D60; color: white; | hobbit = background: #736326; color: white; | maiar = background: #5D8AA8; color: black; | men = background: #736326; color: white; | nandor = background: #355E3B; color: white; | noldor = background: #900020; color: white; | numenorean = background: #007BA7; color: #FFFDD0; | orc = background: #736326; color: white; | rohirrim = background: #80461B; color: #FFFDD0; | royalty = background: #993D00; color: white; | sindar = background: #949494; color: white; | teleri = background: #0099CC; color: white; | valar = background: #9A03B5; color: black; | vanyar = background: #DAA520; color: white; | #default = background: #FFD700; color: black;}} text-align:center;">'''{{PAGENAME}}'''{{t|1=<br/>{{{house}}}|1{{{house}}}=}}
<div style="margin-top:8px;">{{t|1=<span style="font-size: 90%; color: inherit; margin: 1.5em;">'''Born:''' {{{born|}}}</span>|1{{{born}}}=}} {{t|1=<span style="font-size: 90%; color: inherit; margin: 1.5em;">'''Died:''' {{{died|}}}</span></div>|1{{{died}}}=}}</td></tr></includeonly><noinclude>==Usage==
<div style="margin-top:8px;">{{t|1=<span style="font-size: 90%; color: inherit; margin: 1.5em;">'''Born:''' {{{born}}}</span>|1{{{born|}}}=}} {{t|1=<span style="font-size: 90%; color: inherit; margin: 1.5em;">'''Died:''' {{{died}}}</span></div>|1{{{died|}}}=}}</td></tr></includeonly><noinclude>==Usage==
This is an optional header to a series of sequences, and, if used, should be placed between <nowiki>{{seq-start}}</nowiki> and 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 to a series of sequences, and, if used, should be placed between <nowiki>{{seq-start}}</nowiki> and the first <nowiki>{{seq}}</nowiki> (see [[Template:Seq]] on how to use those). The usage of seq-head is as follows:
<pre>
<pre>

Revision as of 09:40, 2 July 2010

Usage

This is an optional header to a series of sequences, and, if used, should be placed between {{seq-start}} and 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 defines the race of the individual to display a pre-defined colour scheme to match the character's infobox. (The options are below, with #default displaying if none set).
house, is the dynastic house. Can be left blank.
born, date of birth. Can be left blank.
died, date of death. Can be left blank.

dwarf
edain
evil
gondorian
halfelf
hobbit
maiar
men
nandor
noldor
numenorean
orc
rohirrim
royalty
sindar
teleri
valar
vanyar
#default