Tolkien Gateway

Template:Hobbit infobox

(Difference between revisions)
m (Sorted out Hobbit row)
(Continued efforts to normalise infoboxes)
Line 1: Line 1:
<includeonly><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; "> <tr style="text-align:center; background:#f0f0f0;"><td colspan="2" style="padding:0; background:#736326; color:#fff;">{{{image|}}}</td></tr>
+
<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 #736326; line-height:1.5;"> <tr><th colspan="2" style="font-weight:normal; padding: 0; background: #736326; color: white;">{{{image|}}}</td></tr> <tr style="color: white; background: #736326;"><th colspan="2">{{{name|}}}</th></tr> <tr><th colspan="2" style="padding: 0; background: #736326; font-size: 80%;">[[Hobbits|<font color="white">Hobbit</font>]]</th></tr> {{t|1=<tr><th colspan="2" style="font-weight: normal; background: #C2B170; font-size: 80%;">'''Biographical Information'''</th></tr>|1{{{othernames|}}}{{{birth|}}}{{{death|}}}{{{parentage|}}}{{{location|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%;"><td>Other names</td><td>{{{othernames}}}</td></tr>|1{{{othernames|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%;"><td>Date of birth</td><td>{{{birth}}}</td></tr>|1{{{birth|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%;"><td>Date of death</td><td>{{{death}}}</td></tr>|1{{{death|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%;"><td>Parentage</td><td>{{{parentage}}}</td></tr>|1{{{parentage|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%;"><td>Location</td><td>{{{location}}}</td></tr>|1{{{location|}}}=}} {{t|1=<tr><th colspan="2" style="font-weight: normal; background: #C2B170; font-size: 80%;">'''Physical Description'''</th></tr>|1{{{gender|}}}{{{hair|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%;"><td>Gender</td><td>{{{gender}}}</td></tr>|1{{{gender|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%;"><td>Hair color</td><td>{{{hair}}}</td></tr>|1{{{hair|}}}=}}</table></includeonly><noinclude>
<tr style="color:#fff; background:#736326; font-size:larger;"><th colspan="2">{{{name|}}}</th></tr> <tr><th colspan="2" style="padding:0; background:#736326; font-size:80%;">[[Hobbits|<font color="white">Hobbit</font>]]</th></tr> {{t|1=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#C2B170;">'''Biographical information'''</th></tr>|1{{{othernames|}}}{{{birth|}}}{{{death|}}}{{{parentage|}}}{{{location|}}}=}} {{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|}}}=}} {{t|1=<tr style="vertical-align: top; background: #f0f0f0"><td>Parentage</td><td>{{{parentage}}}</td></tr>|1{{{parentage|}}}=}} {{t|1=<tr style="vertical-align: top; background: #f0f0f0"><td>Location</td><td>{{{location}}}</td></tr>|1{{{location|}}}=}} {{t|1=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#C2B170;">'''Physical description'''</th></tr>|1{{{gender|}}}{{{hair|}}}=}} {{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>Hair color</td><td>{{{hair}}}</td></tr>|1{{{hair|}}}=}}</table></includeonly><noinclude>{{clear}}<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;"><tr style="text-align:center; background:#f0f0f0;"> <td colspan="2" style="padding:0; background:#736326; color:#fff;">{{{image}}}</td></tr> <tr style="color:#fff; background:#736326; font-size:larger;"><th colspan="2">{{{name}}}</th></tr> <tr><th colspan="2" style="padding:0; background:#736326; font-size:80%;">[[Hobbits|<font color="white">Hobbit</font>]]</th></tr> <tr><th colspan="2" style="text-align:left; font-weight:normal; background:#C2B170;">'''Biographical information'''</th></tr> <tr style="vertical-align: top; background: #f0f0f0"><td>Other names</td><td>{{{othernames}}}</td></tr> <tr style="vertical-align: top; background: #f0f0f0"><td>Date of birth</td><td>{{{birth}}}</td></tr> <tr style="vertical-align: top; background: #f0f0f0"><td>Date of death</td><td>{{{death}}}</td></tr> <tr style="vertical-align: top; background: #f0f0f0"><td>Parentage</td><td>{{{parentage}}}</td></tr><tr style="vertical-align: top; background: #f0f0f0"><td>Location</td><td>{{{location}}}</td></tr><tr><th colspan="2" style="text-align:left; font-weight:normal; background:#C2B170;">'''Physical description'''</th></tr> <tr style="vertical-align: top; background: #f0f0f0"><td>Gender</td><td>{{{gender}}}</td></tr> <tr style="vertical-align: top; background: #f0f0f0"><td>Hair color</td><td>{{{hair}}}</td></tr></table>
+
{{hobbit
 +
| image={{{image}}}
 +
| name={{{name}}}
 +
| othernames={{{othernames}}}
 +
| birth={{{birth}}}
 +
| death={{{death}}}
 +
| parentage={{{parentage}}}
 +
| location={{{location}}}
 +
| gender={{{gender}}}
 +
| hair={{{hair}}}
 +
|}}
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>

Revision as of 17:07, 19 August 2010

{{{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=
|}}