Template:Hobbit infobox: Difference between revisions

From Tolkien Gateway
m (Fixed error)
m (Testing idea)
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{claimed|[[User:Mith|Mith]]}}</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 #006600; line-height:1.5;"> <tr><th colspan="2" style="font-weight:normal; padding: 0; background: #006600; color: white;">{{{image|}}}</th></tr> <tr style="color: white; background: #006600;"><th colspan="2">{{{name|}}}</th></tr> <tr><th colspan="2" style="padding: 0; background: #006600; font-size: 80%;">[[Hobbits|<font color="white">Hobbit</font>]]</th></tr> {{t|1=<tr><th colspan="2" style="font-weight: normal; background: #009900; font-size: 80%;">'''Biographical Information'''</th></tr>|1{{{othernames|}}}{{{birth|}}}{{{death|}}}{{{parentage|}}}{{{location|}}}=}} {{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%;">Date of birth</td><td style="font-size: 80%;">{{{birth}}}</td></tr>|1{{{birth|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Date of death</td><td style="font-size: 80%;">{{{death}}}</td></tr>|1{{{death|}}}=}} {{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%;">Location</td><td style="font-size: 80%;">{{{location}}}</td></tr>|1{{{location|}}}=}} {{t|1=<tr><th colspan="2" style="font-weight: normal; background: #009900; 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>
<noinclude>{{claimed|[[User:Mith|Mith]]}}</noinclude><includeonly><table border="0" cellspacing="0" cellpadding="4" style="float: right; margin: 0 0 .5em .5em; width: 252px; background: #f0f0f0; border-collapse: collapse; border:1px solid #006600; line-height:1.5;"> <tr><th colspan="2" style="font-weight:normal; padding: 0; background: #006600; color: white;">{{{image|}}}</th></tr> <tr style="color: white; background: #006600;"><th colspan="2">{{{name|}}}</th></tr> <tr><th colspan="2" style="padding: 0; background: #006600; font-size: 80%;">[[Hobbits|<font color="white">Hobbit</font>]]</th></tr> {{t|1=<tr><th colspan="2" style="font-weight: normal; background: #009900; font-size: 80%;">'''Biographical Information'''</th></tr>|1{{{othernames|}}}{{{birth|}}}{{{death|}}}{{{parentage|}}}{{{location|}}}=}} {{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%;">Parentage</td><td style="font-size: 80%;">{{{parentage}}}</td></tr>|1{{{parentage|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Location</td><td style="font-size: 80%;">{{{location}}}</td></tr>|1{{{location|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Birth</td><td style="font-size: 80%;">{{{birth}}} {{#if:{{{birth|}}}|<br/>}} {{{birthlocation|}}}</td></tr>|1{{{birth|}}}{{{birthlocation|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Rule</td><td style="font-size: 80%;">{{{rule}}}</td></tr>|1{{{rule|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">{{#if:{{{sailedwest|}}}|Sailed&nbsp;west|Death}}</td><td style="font-size: 80%;">{{#if:{{{death|}}}{{{sailedwest|}}}|{{{death|}}}{{{sailedwest|}}} {{t|1=(aged {{{age}}})|1{{{age|}}}=}}<br/>{{{deathlocation|}}}{{{sailedfrom|}}}|{{{sailedfrom|}}}{{{deathlocation|}}} {{t|1=(aged {{{age}}})|1{{{age|}}}=}}}} </td></tr>|1{{{death|}}}{{{sailedwest|}}}{{{deathlocation|}}}{{{sailedfrom|}}}{{{age|}}}=}} {{t|1=<tr><th colspan="2" style="font-weight: normal; background: #009900; 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>
{{hobbit
{{hobbit
| image={{{image}}}
| image={{{image}}}
Line 10: Line 10:
| gender={{{gender}}}
| gender={{{gender}}}
| hair={{{hair}}}
| hair={{{hair}}}
|}}
}}
==Usage==
==Usage==
<pre>
<pre>
Line 23: Line 23:
| gender=
| gender=
| hair=
| hair=
|}}
}}
</pre>
</pre>
[[Category:Infobox templates|{{PAGENAME}}]]
[[Category:Infobox templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 21:57, 6 January 2013

"I oughtn't to interrupt you, I know. [...] You are very busy, I'm sure." — Mr. Parish
Mith is currently busy with major revisions to this article. Before editing, discuss your intentions on this article's talk page.
{{{image}}}
{{{name}}}
Hobbit
Biographical Information
Other names{{{othernames}}}
Parentage{{{parentage}}}
Location{{{location}}}
Birth{{{birth}}}
Death{{{death}}}
Physical Description
Gender{{{gender}}}
Hair color{{{hair}}}

Usage

{{hobbit
| image=
| name=
| othernames=
| birth=
| death=
| parentage=
| location=
| gender=
| hair=
}}