Template:Race infobox: Difference between revisions

From Tolkien Gateway
(Added image caption; reordered {{{name}}} and {{{image}}}; begun to expand and reoganise entire template)
m (Protected "Template:Race infobox" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><table border="0" cellspacing="0" cellpadding="4" style="float: right; margin:0 0 .5em .5em; width: 272px; background: #F0F0F0; border-collapse: collapse; border: 1px solid #AA081D; line-height:1.5;"> <tr style="color: white; background: #AA081D; font-size: larger;"><th colspan="2" style="padding-bottom: 0; padding-top: 0;">{{{name|{{#explode:{{PAGENAME}}| (|0}}}}}</th></tr> <tr><td colspan="2" style="padding: 0; background: #AA081D; font-size: 80%; text-align: center;" class="seqcream">[[Races|Race]]</td></tr> {{t|1=<tr><th colspan="2" style="font-weight: normal; padding: 0; background: #AA081D; color: white;">{{{image}}}</th></tr> <tr><td colspan="2" class="seqcream" style="background: #AA081D; color: white; font-size: 80%; text-align: center; padding-left: 10px; padding-right: 10px; height: 2px;">{{{caption|}}}</td></tr>|1{{{image|}}}=}} {{t|1=<tr><th colspan="2" style="background: #D50A22; font-size: 80%; color: white;">General Information</th></tr>|1{{{pronun|}}}{{{othernames|}}}{{{dominions|}}}{{{languages|}}}{{{members|}}}=}}{{t|1=<tr style="vertical-align: top; font-size: 80%;"><td>Pronunciation</td><td>{{{pronun}}}</td></tr>|1{{{pronun|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%;"><td>Other&nbsp;names</td><td>{{{othernames}}}</td></tr>|1{{{othernames|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%;"><td>Dominions</td><td>{{{dominions}}}</td></tr>|1{{{dominions|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%;"><td>Languages</td><td>{{{languages}}}</td></tr>|1{{{languages|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%;"><td>Members</td><td>{{{members}}}</td></tr>|1{{{members|}}}=}} {{t|1=<tr><th colspan="2" style="background: #D50A22; font-size: 80%; color: white;">Physical Description</th></tr>|1{{{height|}}}{{{length|}}}{{{skincolor|}}}{{{haircolor|}}}{{{feathers|}}}{{{distinctions|}}}{{{lifespan|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%;"><td>Average&nbsp;height</td><td>{{{height}}}</td></tr>|1{{{height|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%;"><td>Average&nbsp;length</td><td>{{{length}}}</td></tr>|1{{{length|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%;"><td>Skin&nbsp;color</td><td>{{{skincolor}}}</td></tr>|1{{{skincolor|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%;"><td>Hair&nbsp;color</td><td>{{{haircolor}}}</td></tr>|1{{{haircolor|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%;"><td>Feather&nbsp;color</td><td>{{{feathers}}}</td></tr>|1{{{feathers|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%;"><td>Distinctions</td><td>{{{distinctions}}}</td></tr>|1{{{distinctions|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%;"><td>Lifespan</td><td>{{{lifespan}}}</td></tr>|1{{{lifespan|}}}=}} </table></includeonly><noinclude>
<includeonly><table border="0" cellspacing="0" cellpadding="4" style="float: right; margin:0 0 .5em .5em; width: 272px; background: #F0F0F0; border-collapse: collapse; border: 1px solid #aa081b; line-height:1.5;"> <tr style="color: white; background: #aa081b; font-size: larger;"><th colspan="2" style="padding-bottom: 0; padding-top: 0;">{{{name|{{#explode:{{PAGENAME}}| (|0}}}}}</th></tr> <tr><td colspan="2" style="padding: 0; background: #aa081b; font-size: 80%; text-align: center;" class="seqcream">[[Races|Race]]</td></tr> {{t|1=<tr><th colspan="2" style="font-weight: normal; padding: 0; background: #aa081b; color: white;">{{{image}}}</th></tr> <tr><td colspan="2" class="seqcream" style="background: #aa081b; color: white; font-size: 80%; text-align: center; padding-left: 10px; padding-right: 10px; height: 2px;">{{{caption|}}}</td></tr>|1{{{image|}}}=}} {{t|1=<tr><th colspan="2" style="background: #cf0a21; font-size: 80%; color: white;">General Information</th></tr>|1{{{pronun|}}}{{{othernames|}}}{{{origin|}}}{{{location|}}}{{{affiliation|}}}{{{rivalry|}}}{{{language|}}}{{{people|}}}{{{members|}}}=}}{{t|1=<tr style="vertical-align: top; font-size: 80%; border-top: #aa081b 1px solid;"><td>Pronunciation</td><td>{{{pronun}}}</td></tr>|1{{{pronun|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%; border-top: #aa081b 1px solid;"><td>Other&nbsp;names</td><td>{{{othernames}}}</td></tr>|1{{{othernames|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%; border-top: #aa081b 1px solid;"><td>Origins</td><td>{{{origin}}}</td></tr>|1{{{origin|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%; border-top: #aa081b 1px solid;"><td>Locations</td><td>{{{location}}}</td></tr>|1{{{location|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%; border-top: #aa081b 1px solid;"><td>Affiliation</td><td>{{{affiliation}}}</td></tr>|1{{{affiliation|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%; border-top: #aa081b 1px solid;"><td>Rivalries</td><td>{{{rivalry}}}</td></tr>|1{{{rivalry|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%; border-top: #aa081b 1px solid;"><td>Languages</td><td>{{{language}}}</td></tr>|1{{{language|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%; border-top: #aa081b 1px solid;"><td>People</td><td>{{{people}}}</td></tr>|1{{{people|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%; border-top: #aa081b 1px solid;"><td>Members</td><td>{{{members}}}</td></tr>|1{{{members|}}}=}} {{t|1=<tr><th colspan="2" style="background: #cf0a21; font-size: 80%; color: white; border-top: #aa081b 1px solid;">Physical Description</th></tr>|1{{{lifespan|}}}{{{distinctions|}}}{{{height|}}}{{{hair|}}}{{{skin|}}}{{{clothing|}}}{{{weapons|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%; border-top: #aa081b 1px solid;"><td>Lifespan</td><td>{{{lifespan}}}</td></tr>|1{{{lifespan|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%; border-top: #aa081b 1px solid;"><td>Distinctions</td><td>{{{distinctions}}}</td></tr>|1{{{distinctions|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%; border-top: #aa081b 1px solid;"><td>Average&nbsp;height</td><td>{{{height}}}</td></tr>|1{{{height|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%; border-top: #aa081b 1px solid;"><td>Hair&nbsp;color</td><td>{{{hair}}}</td></tr>|1{{{hair|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%; border-top: #aa081b 1px solid;"><td>Skin&nbsp;color</td><td>{{{skin}}}</td></tr>|1{{{skin|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%; border-top: #aa081b 1px solid;"><td>Clothing</td><td>{{{clothing}}}</td></tr>|1{{{clothing|}}}=}} {{t|1=<tr style="vertical-align: top; font-size: 80%; border-top: #aa081b 1px solid;"><td>Weaponry</td><td>{{{weapons}}}</td></tr>|1{{{weapons|}}}=}} {{#ifexist:Category:Images of {{{gallery|{{PAGENAME}}}}}|<tr style="vertical-align: top; font-size: 80%; border-top: #aa081b 1px solid;"><td>'''Gallery'''</td><td>'''[[:Category:Images of {{{gallery|{{PAGENAME}}}}}|Images of {{{gallery|{{{name|{{#explode:{{PAGENAME}}| (|0}}}}}}}}]]'''</td></tr>}} </table></includeonly><noinclude>
{{clear}}
{{clear}}
{{race
{{race infobox
| name={{{name}}}
| name={{{name}}}
| image={{{image}}}
| image={{{image}}}
Line 7: Line 7:
| pronun={{{pronun}}}
| pronun={{{pronun}}}
| othernames={{{othernames}}}
| othernames={{{othernames}}}
| dominions={{{dominions}}}
| origin={{{origin}}}
| languages={{{languages}}}
| location={{{location}}}
| affiliation={{{affiliation}}}
| rivalry={{{rivalry}}}
| language={{{language}}}
| people={{{people}}}
| members={{{members}}}
| lifespan={{{lifespan}}}
| distinctions={{{distinctions}}}
| height={{{height}}}
| height={{{height}}}
| length={{{length}}}
| hair={{{hair}}}
| skincolor={{{skincolor}}}
| skin={{{skin}}}
| haircolor={{{haircolor}}}
| clothing={{{clothing}}}
| feathers={{{feathers}}}
| weapons={{{weapons}}}
| distinctions={{{distinctions}}}
| lifespan={{{lifespan}}}
| members={{{members}}}
}}
}}
===Usage Instructions===
===Usage Instructions===
<pre>
<pre>
{{race
{{race infobox
| name=
| name=
| image=
| image=
Line 26: Line 30:
| pronun=
| pronun=
| othernames=
| othernames=
| dominions=
| origin=
| languages=
| location=
| affiliation=
| rivalry=
| language=
| people=
| members=
| lifespan=
| distinctions=
| height=
| height=
| length=
| hair=
| skincolor=
| skin=
| haircolor=
| clothing=
| feathers=
| weapons=
| distinctions=
| lifespan=
| members=
}}
}}
</pre>
</pre>
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Revision as of 11:08, 17 December 2017

{{{name}}}
Race
{{{image}}}
{{{caption}}}
General Information
Pronunciation{{{pronun}}}
Other names{{{othernames}}}
Origins{{{origin}}}
Locations{{{location}}}
Affiliation{{{affiliation}}}
Rivalries{{{rivalry}}}
Languages{{{language}}}
People{{{people}}}
Members{{{members}}}
Physical Description
Lifespan{{{lifespan}}}
Distinctions{{{distinctions}}}
Average height{{{height}}}
Hair color{{{hair}}}
Skin color{{{skin}}}
Clothing{{{clothing}}}
Weaponry{{{weapons}}}

Usage Instructions

{{race infobox
| name=
| image=
| caption=
| pronun=
| othernames=
| origin=
| location=
| affiliation=
| rivalry=
| language=
| people=
| members=
| lifespan=
| distinctions=
| height=
| hair=
| skin=
| clothing=
| weapons=
}}