Tolkien Gateway

Template:Hobbit infobox

(Difference between revisions)
(Added default blanking)
m (Sorted out Hobbit row)
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 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 style="text-align:center; background:#f0f0f0;"> <td colspan="2" style="padding:0; background:#736326; color:#fff;"><small>Hobbit</small></td>
+
<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>
</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 style="text-align:center; background:#f0f0f0;"> <td colspan="2" style="padding:0; background:#736326; color:#fff;"><small>Hobbit</small></td></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>
+
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>

Revision as of 14:18, 19 August 2010

{{{image}}}
{{{name}}}
Hobbit
Biographical information
Other names{{{othernames}}}
Date of birth{{{birth}}}
Date of death{{{death}}}
Parentage{{{parentage}}}
Location{{{location}}}
Physical description
Gender{{{gender}}}
Hair color{{{hair}}}

Usage

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