Tolkien Gateway

Template:Hobbit infobox

(Difference between revisions)
m (An Eagle has picked up Template:Hobbit infobox and carried it to Template:Hobbit: moved to match the other Template boxes)
m (Testing idea)
(26 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 .5em 1em; width:250px; background:#fff; border-collapse:collapse; border:1px solid #999; font-size:smaller; line-height:1.5; ">
+
<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>
<tr style="text-align:center; background:#f0f0f0;">
+
{{hobbit
<td colspan="2" style="padding:0; background:#736326; color:#fff;">{{{image}}}</td>
+
| image={{{image}}}
</tr>
+
| name={{{name}}}
<tr style="color:#fff; background:#736326; font-size:larger;">
+
| othernames={{{othernames}}}
<th colspan="2">{{{name}}}</th>
+
| birth={{{birth}}}
</tr> <tr><th colspan="2" style="text-align:left; font-weight:normal; background:#C2B170;">'''Biographical information'''</th></tr> {{t|1=<tr style="vertical-align: top; background: #f0f0f0"><td>Other names</td><td>{{{othernames}}}</td></tr>|1{{{othernames}}}=}} {{t|1=<tr style="vertical-align: top; background: #f0f0f0"><td>Date of birth</td><td>{{{birth}}}</td></tr>|1{{{birth}}}=}} {{t|1=<tr style="vertical-align: top; background: #f0f0f0"><td>Date of death</td><td>{{{death}}}</td></tr>|1{{{death}}}=}}
+
| death={{{death}}}
 
+
| parentage={{{parentage}}}
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#C2B170;">'''Physical description'''</th></tr> {{t|1=<tr style="vertical-align: top; background: #f0f0f0"><td>Race</td><td>{{{race}}}</td></tr>|1{{{race}}}=}} {{t|1=<tr style="vertical-align: top; background: #f0f0f0"><td>Gender</td><td>{{{gender}}}</td></tr>|1{{{gender}}}=}} {{t|1=<tr style="vertical-align: top; background: #f0f0f0"><td>Height</td><td>{{{height}}}</td></tr>|1{{{height}}}=}} {{t|1=<tr style="vertical-align: top; background: #f0f0f0"><td>Hair color</td><td>{{{hair}}}</td></tr>|1{{{hair}}}=}} {{t|1=<tr style="vertical-align: top; background: #f0f0f0"><td>Eye color</td><td>{{{eyes}}}</td></tr>|1{{{eyes}}}=}}
+
| location={{{location}}}
 
+
| gender={{{gender}}}
<noinclude>
+
| hair={{{hair}}}
 
+
}}
[[Category:Infobox templates|Hobbit infobox]]
+
==Usage==
 +
<pre>
 +
{{hobbit
 +
| image=
 +
| name=
 +
| othernames=
 +
| birth=
 +
| death=
 +
| parentage=
 +
| location=
 +
| gender=
 +
| hair=
 +
}}
 +
</pre>
 +
[[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}}}
Location{{{location}}}
Birth{{{birth}}}
Death{{{death}}}
Family
Parentage{{{parentage}}}
Physical Description
Gender{{{gender}}}
Hair color{{{hair}}}

Usage

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