Template:Race infobox: Difference between revisions

From Tolkien Gateway
m (testing)
 
m (Protected "Template:Race infobox" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(40 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:250px; background:#ffffff; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;">
<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>
<tr><td colspan="2"><div id="infoboxinternal">
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#ffffff; border-collapse:collapse;">
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:gray;">{{{image|}}}</td></tr>
<tr style="text-align:center; color:#ffffff; background:gray; font-size:larger;"><th colspan="2">{{{name}}}</th></tr> {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Dominions</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{planet|}}}
</td></tr>|1{{{planet|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Languages</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{language|}}}
</td></tr>|1{{{language|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Average&nbsp;height</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{height|}}}
</td></tr>|1{{{height|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Average&nbsp;length</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{length|}}}
</td></tr>|1{{{wingspan|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Skin&nbsp;color</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{skincolor|}}}
</td></tr>|1{{{skincolor|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Hair&nbsp;color</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{haircolor|}}}
</td></tr>|1{{{haircolor|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Feather&nbsp;color</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{feathers|}}}
</td></tr>|1{{{feathers|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Distinctions</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{distinctions|}}}
</td></tr>|1{{{distinctions|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Lifespan</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{lifespan|}}}
</td></tr>|1{{{lifespan|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Races</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{members|}}}
</td></tr>|1{{{members|}}}=}} </table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%;"></td><td style="text-align:left; width:51%;">&nbsp;&nbsp;[[Template:Sentient|[Source]]]</td></tr></table><noinclude>
{{clear}}
{{clear}}
{{race infobox
| name={{{name}}}
| image={{{image}}}
| caption={{{caption}}}
| pronun={{{pronun}}}
| othernames={{{othernames}}}
| origin={{{origin}}}
| location={{{location}}}
| affiliation={{{affiliation}}}
| rivalry={{{rivalry}}}
| language={{{language}}}
| people={{{people}}}
| members={{{members}}}
| lifespan={{{lifespan}}}
| distinctions={{{distinctions}}}
| height={{{height}}}
| hair={{{hair}}}
| skin={{{skin}}}
| clothing={{{clothing}}}
| weapons={{{weapons}}}
}}
===Usage Instructions===
===Usage Instructions===
Use this template by pasting the following code into the top of the article, filling all relevant fields::
<pre>
<pre><nowiki>
{{race infobox
{{race
| name=
|image=
| image=
|name=
| caption=
|dominions=
| pronun=
|languages=
| othernames=
|height=
| origin=
|length=
| location=
|skincolor=
| affiliation=
|haircolor=
| rivalry=
|feathers=
| language=
|distinctions=
| people=
|lifespan=
| members=
|members=
| lifespan=
| distinctions=
| height=
| hair=
| skin=
| clothing=
| weapons=
}}
}}
</nowiki></pre>
</pre>
 
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
===Source===
<nowiki>{{subst:slh|gray|250px}} {{subst:sld|Homeworld|planet}} {{subst:sld|Language|language}} {{subst:sld|Average&nbsp;height|height}} {{subst:sld|Average&nbsp;length|length}} {{subst:sld|Average&nbsp;wingspan|wingspan}} {{subst:sld|Skin&nbsp;color|skincolor}} {{subst:sld|Hair&nbsp;color|haircolor}} {{subst:sld|Feather&nbsp;color|feathers}} {{subst:sld|Distinctions|distinctions}} {{subst:sld|Average&nbsp;lifespan|lifespan}} {{subst:sld|Races|races}} {{subst:sld|Famous&nbsp;members|members}} {{subst:slf}}</nowiki>
 
[[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=
}}