Template:Edain infobox: Difference between revisions

From Tolkien Gateway
m (Fixing font sizing in both skins)
m (Testing location)
Line 1: Line 1:
<includeonly><table border="0" cellspacing="0" cellpadding="4" style="float: right; margin: 0 0 .5em .5em; width: 250px; background: #F0F0F0; border-collapse: collapse; border: 1px solid #712F26; line-height: 1.5;"> <tr><th colspan="2" style="font-weight: normal; padding: 0; background: #712F26; color: white;">{{{image|}}}</th></tr> <tr style="color: white; background: #712F26;"><th colspan="2">{{{name|}}}</th></tr> <tr><th colspan="2" style="padding: 0; background: #712F26; font-size: 80%;">[[Edain|<font color="white">Adan</font>]]</th></tr> {{t|1=<tr><th colspan="2" style="font-weight: normal; background: #8A3324; font-size: 80%;">'''Biographical Information'''</th></tr>|1{{{house|}}}{{{othernames|}}}{{{titles|}}}{{{birth|}}}{{{realm|}}}{{{death|}}}{{{age|}}}{{{parentage|}}}{{{spouse|}}}{{{children|}}}{{{ref|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">House</td><td style="font-size: 80%;">{{{house}}}</td></tr>|1{{{house|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Other Names</td><td style="font-size: 80%;">{{{othernames}}}</td></tr>|1{{{othernames|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Titles</td><td style="font-size: 80%;">{{{titles}}}</td></tr>|1{{{titles|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Birth</td><td style="font-size: 80%;">{{{birth}}}</td></tr>|1{{{birth|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Realm</td><td style="font-size: 80%;">{{{realm}}}</td></tr>|1{{{realm|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Death</td><td style="font-size: 80%;">{{{death}}}</td></tr>|1{{{death|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Age at death</td><td style="font-size: 80%;">{{{age}}}</td></tr>|1{{{age|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Parentage</td><td style="font-size: 80%;">{{{parentage}}}</td></tr>|1{{{parentage|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Spouse</td><td style="font-size: 80%;">{{{spouse}}}</td></tr>|1{{{spouse|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Children</td><td style="font-size: 80%;">{{{children}}}</td></tr>|1{{{children|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">References</td><td style="font-size: 80%;">{{{ref}}}</td></tr>|1{{{ref|}}}=}} {{t|1=<tr><th colspan="2" style="font-weight: normal; background: #8A3324; font-size: 80%;">'''Physical Description'''</th></tr>|1{{{gender|}}}{{{hair|}}}=}}  {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Gender</td><td style="font-size: 80%;">{{{gender}}}</td></tr>|1{{{gender}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Hair color</td><td style="font-size: 80%;">{{{hair}}}</td></tr>|1{{{hair}}}=}}</table></includeonly><noinclude>
<includeonly><table border="0" cellspacing="0" cellpadding="4" style="float: right; margin: 0 0 .5em .5em; width: 250px; background: #F0F0F0; border-collapse: collapse; border: 1px solid #712F26; line-height: 1.5;"> <tr><th colspan="2" style="font-weight: normal; padding: 0; background: #712F26; color: white;">{{{image|}}}</th></tr> <tr style="color: white; background: #712F26;"><th colspan="2">{{{name|}}}</th></tr> <tr><th colspan="2" style="padding: 0; background: #712F26; font-size: 80%;">[[Edain|<font color="white">Adan</font>]]</th></tr> {{t|1=<tr><th colspan="2" style="font-weight: normal; background: #8A3324; font-size: 80%;">'''Biographical Information'''</th></tr>|1{{{house|}}}{{{othernames|}}}{{{titles|}}}{{{birth|}}}{{{realm|}}}{{{death|}}}{{{age|}}}{{{parentage|}}}{{{spouse|}}}{{{children|}}}{{{ref|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">House</td><td style="font-size: 80%;">{{{house}}}</td></tr>|1{{{house|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Other Names</td><td style="font-size: 80%;">{{{othernames}}}</td></tr>|1{{{othernames|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Titles</td><td style="font-size: 80%;">{{{titles}}}</td></tr>|1{{{titles|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Birth</td><td style="font-size: 80%;">{{{birth}}}</td></tr>|1{{{birth|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Realm</td><td style="font-size: 80%;">{{{realm}}}</td></tr>|1{{{realm|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Death</td><td style="font-size: 80%;">{{{death}}} {{t|1=(aged {{{age}}})|1{{{age|}}}=}} {{#if:{{{death|}}}{{{deathlocation|}}}|<br/>| }} {{{deathlocation|}}</td></tr>|1{{{death|}}}{{{deathlocation|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Parentage</td><td style="font-size: 80%;">{{{parentage}}}</td></tr>|1{{{parentage|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Spouse</td><td style="font-size: 80%;">{{{spouse}}}</td></tr>|1{{{spouse|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Children</td><td style="font-size: 80%;">{{{children}}}</td></tr>|1{{{children|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">References</td><td style="font-size: 80%;">{{{ref}}}</td></tr>|1{{{ref|}}}=}} {{t|1=<tr><th colspan="2" style="font-weight: normal; background: #8A3324; font-size: 80%;">'''Physical Description'''</th></tr>|1{{{gender|}}}{{{hair|}}}=}}  {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Gender</td><td style="font-size: 80%;">{{{gender}}}</td></tr>|1{{{gender}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Hair color</td><td style="font-size: 80%;">{{{hair}}}</td></tr>|1{{{hair}}}=}}</table></includeonly><noinclude>
{{clear}}
{{clear}}
{{First Age Edain infobox
{{First Age Edain infobox
Line 10: Line 10:
| realm={{{realm}}}
| realm={{{realm}}}
| death={{{death}}}
| death={{{death}}}
| deathlocation={{{deathlocation}}}
| age={{{age}}}
| age={{{age}}}
| parentage={{{parentage}}}
| parentage={{{parentage}}}

Revision as of 20:33, 19 August 2010

{{{image}}}
{{{name}}}
Adan
Biographical Information
House{{{house}}}
Other Names{{{othernames}}}
Titles{{{titles}}}
Birth{{{birth}}}
Realm{{{realm}}}
Death{{{death}}} (aged {{{age}}})
{Template:Deathlocation
Parentage{{{parentage}}}
Spouse{{{spouse}}}
Children{{{children}}}
References{{{ref}}}
Physical Description
Gender{{{gender}}}
Hair color{{{hair}}}

Usage

{{First Age Edain infobox
| image=
| name=
| house=
| othernames=
| titles=
| birth=
| realm=
| death=
| age=
| parentage=
| spouse=
| children=
| ref=
| gender=
| hair=
|}}