Template:Race infobox: Difference between revisions

From Tolkien Gateway
(Added gallery to infobox)
m (Tweaked gallery)
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 #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;"><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>
<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 infobox
{{race infobox

Revision as of 16:57, 19 November 2015

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