Template:Dwarves infobox: Difference between revisions

From Tolkien Gateway
(Added default blanking)
m (Protected "Template:Dwarves infobox" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(19 intermediate revisions by 2 users not shown)
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:#734A12; color:#fff;">{{{image|}}}</td></tr> <tr style="color:#fff; background:#734A12; font-size:larger;"><th colspan="2">{{{name|}}}</th></tr> {{t|1=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#9B8A7C;">'''Biographical information'''</th></tr>|1{{{othernames|}}}{{{life|}}}{{{realm|}}}{{{parentage|}}}{{{lineage|}}}=}} {{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>Lifetime</td><td>{{{life}}}</td></tr>|1{{{life|}}}=}} {{t|1=<tr style="vertical-align: top; background: #f0f0f0"><td>Realm</td><td>{{{realm}}}</td></tr>|1{{{realm|}}}=}} {{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>Lineage</td><td>{{{lineage}}}</td></tr>|1{{{lineage|}}}=}} {{t|1=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#9B8A7C;">'''Physical description'''</th></tr>|1{{{hood|}}}{{{gender|}}}=}} {{t|1=<tr style="vertical-align: top; background: #f0f0f0"><td>Hood color</td><td>{{{hood}}}</td></tr>|1{{{hood|}}}=}} {{t|1=<tr style="vertical-align: top; background: #f0f0f0"><td>Gender</td><td>{{{gender}}}</td></tr>|1{{{gender|}}}=}}</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 #996515; line-height: 1.5;"> {{t|1=<tr><th colspan="2" style="font-weight: normal; padding: 0; background: #996515; color: white;">{{{image}}}</th></tr>|1{{{image|}}}=}} <tr style="color: white; background: #996515;"><th colspan="2">{{{name|{{#explode:{{PAGENAME}}| (|0}}}}}</th></tr> <tr><th colspan="2" style="font-size: 80%; padding: 0; background:#996515;">[[Dwarves|<font color="white">Dwarf</font>]]</th></tr> {{t|1=<tr><th colspan="2" style="font-weight: normal; font-size: 80%; background: #CFB53B; color: black;">'''Biographical Information'''</th></tr>|1{{{othernames|}}}{{{titles|}}}{{{position|}}}{{{location|}}}{{{affiliation|}}}{{{language|}}}{{{birth|}}}{{{birthlocation|}}}{{{death|}}}{{{deathlocation|}}}{{{age|}}}{{{sailedfrom|}}}{{{sailedwest|}}}{{{pronun|}}}{{{notablefor|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%; padding-right: 0px;">Pronunciation</td><td style="font-size: 80%;">{{{pronun}}}</td></tr>|1{{{pronun|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Other&nbsp;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%;">Position</td><td style="font-size: 80%;">{{{position}}}</td></tr>|1{{{position|}}}=}} {{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%;">Affiliation</td><td style="font-size: 80%;">{{{affiliation}}}</td></tr>|1{{{affiliation|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Language</td><td style="font-size: 80%;">{{{language}}}</td></tr>|1{{{language|}}}=}} {{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 style="vertical-align: top;"><td style="font-size: 80%;">Notable&nbsp;for</td><td style="font-size: 80%;">{{{notablefor}}}</td></tr>|1{{{notablefor|}}}=}} {{t|1=<tr><th colspan="2" style="font-weight: normal; background: #CFB53B; font-size: 80%; color: black;">'''Family'''</th></tr>|1{{{house|}}}{{{parentage|}}}{{{siblings|}}}{{{spouse|}}}{{{children|}}}=}} {{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%;">Parentage</td><td style="font-size: 80%;">{{{parentage}}}</td></tr>|1{{{parentage|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Siblings</td><td style="font-size: 80%;">{{{siblings}}}</td></tr>|1{{{siblings|}}}=}} {{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><th colspan="2" style="font-weight: normal; background: #CFB53B; font-size: 80%; color: black;">'''Physical Description'''</th></tr>|1{{{gender|}}}{{{height|}}}{{{hair|}}}{{{eyes|}}}{{{clothing|}}}{{{weapons|}}}{{{steed|}}}=}}  {{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%;">Height</td><td style="font-size: 80%;">{{{height}}}</td></tr>|1{{{height|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Hair&nbsp;color</td><td style="font-size: 80%;">{{{hair}}}</td></tr>|1{{{hair|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Eye&nbsp;color</td><td style="font-size: 80%;">{{{eyes}}}</td></tr>|1{{{eyes|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Clothing</td><td style="font-size: 80%;">{{{clothing}}}</td></tr>|1{{{clothing|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Weaponry</td><td style="font-size: 80%;">{{{weapons}}}</td></tr>|1{{{weapons|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Steed</td><td style="font-size: 80%;">{{{steed}}}</td></tr>|1{{{steed|}}}=}} {{#ifexist:Category:Images of {{{gallery|{{PAGENAME}}}}}|<tr style="vertical-align: top;"><td style="font-size: 80%;">'''Gallery'''</td><td style="font-size: 80%;">'''[[:Category:Images of {{{gallery|{{PAGENAME}}}}}|Images of {{{gallery|{{{name|{{#explode:{{PAGENAME}}| (|0}}}}}}}}]]'''</td></tr>}}</table></includeonly><noinclude>
{{clear}}
{{dwarves infobox
<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:#734A12; color:#fff;">{{{image}}}</td></tr> <tr style="color:#fff; background:#734A12; font-size:larger;"><th colspan="2">{{{name}}}</th></tr> <tr><th colspan="2" style="text-align:left; font-weight:normal; background:#9B8A7C;">'''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>Lifetime</td><td>{{{life}}}</td></tr> <tr style="vertical-align: top; background: #f0f0f0"><td>Realm</td><td>{{{realm}}}</td></tr> <tr style="vertical-align: top; background: #f0f0f0"><td>Parentage</td><td>{{{parentage}}}</td></tr> <tr style="vertical-align: top; background: #f0f0f0"><td>Lineage</td><td>{{{lineage}}}</td></tr> <tr><th colspan="2" style="text-align:left; font-weight:normal; background:#9B8A7C;">'''Physical description'''</th></tr> <tr style="vertical-align: top; background: #f0f0f0"><td>Hood color</td><td>{{{hood}}}</td></tr> <tr style="vertical-align: top; background: #f0f0f0"><td>Gender</td><td>{{{gender}}}</td></tr></table>
| image={{{image}}}
| name={{{name}}}
| pronun={{{pronun}}}
| othernames={{{othernames}}}
| titles={{{titles}}}
| position={{{position}}}
| location={{{location}}}
| affiliation={{{affiliation}}}
| language={{{language}}}
| birth={{{birth}}}
| birthlocation={{{birthlocation}}}
| rule={{{rule}}}
| death={{{death}}}
| deathlocation={{{deathlocation}}}
| notablefor={{{notablefor}}}
| age={{{age}}}
| house={{{house}}}
| parentage={{{parentage}}}
| siblings={{{siblings}}}
| spouse={{{spouse}}}
| children={{{children}}}
| gender={{{gender}}}
| height={{{height}}}
| hair={{{hair}}}
| eyes={{{eyes}}}
| clothing={{{clothing}}}
| weapons={{{weapons}}}
| steed={{{steed}}}
}}
==Usage==
==Usage==
<pre>
<pre>
Line 7: Line 35:
| image=
| image=
| name=
| name=
| pronun=
| othernames=
| othernames=
| life=
| titles=
| realm=
| position=
| location=
| affiliation=
| language=
| birth=
| birthlocation=
| rule=
| death=
| deathlocation=
| notablefor=
| age=
| house=
| parentage=
| parentage=
| lineage=
| siblings=
| hood=
| spouse=
| children=
| gender=
| gender=
|}}
| height=
| hair=
| eyes=
| clothing=
| weapons=
| steed=
}}
</pre>
</pre>
[[Category:Infobox templates|{{PAGENAME}}]]
'''Please note:''' the "{{{hood}}}"/"hood=" parameter has been removed; use "{{{clothing}}}"/"clothing=" instead.<br/>
</noinclude>
'''Please note:''' the "{{{lineage}}}"/"lineage=" parameter has been removed; use "{{{house}}}"/"house=" instead.<br/>
'''Please note:''' the "{{{life}}}"/"life=" parameter has been removed; use "{{{birth}}}"/"birth=" and "{{{death}}}"/"death=" instead.<br/>
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Revision as of 23:09, 21 May 2015

"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}}}
Dwarf
Biographical Information
Pronunciation{{{pronun}}}
Other names{{{othernames}}}
Titles{{{titles}}}
Position{{{position}}}
Location{{{location}}}
Affiliation{{{affiliation}}}
Language{{{language}}}
Birth{{{birth}}}
{{{birthlocation}}}
Rule{{{rule}}}
Death{{{death}}} (aged {{{age}}})
{{{deathlocation}}}
Notable for{{{notablefor}}}
Family
House{{{house}}}
Parentage{{{parentage}}}
Siblings{{{siblings}}}
Spouse{{{spouse}}}
Children{{{children}}}
Physical Description
Gender{{{gender}}}
Height{{{height}}}
Hair color{{{hair}}}
Eye color{{{eyes}}}
Clothing{{{clothing}}}
Weaponry{{{weapons}}}
Steed{{{steed}}}

Usage

{{dwarves infobox
| image=
| name=
| pronun=
| othernames=
| titles=
| position=
| location=
| affiliation=
| language=
| birth=
| birthlocation=
| rule=
| death=
| deathlocation=
| notablefor=
| age=
| house=
| parentage=
| siblings=
| spouse=
| children=
| gender=
| height=
| hair=
| eyes=
| clothing=
| weapons=
| steed=
}}

Please note: the "{{{hood}}}"/"hood=" parameter has been removed; use "{{{clothing}}}"/"clothing=" instead.
Please note: the "{{{lineage}}}"/"lineage=" parameter has been removed; use "{{{house}}}"/"house=" instead.
Please note: the "{{{life}}}"/"life=" parameter has been removed; use "{{{birth}}}"/"birth=" and "{{{death}}}"/"death=" instead.