Template:Race infobox: Difference between revisions

From Tolkien Gateway
m (→‎Source: removing invalid data, still testing)
mNo edit summary
(20 intermediate revisions by 6 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: 252px; background: #F0F0F0; border-collapse: collapse; border: 1px solid #D50A22; line-height: 1.5;clear:right;"> {{t|1=<tr><th colspan="2" style="font-weight: normal; padding: 0; background: #D50A22; color: white;">{{{image|}}}</th></tr>|1{{{image|}}}=}} {{t|1=<tr style="color: white; background: #D50A22;"><th colspan="2">{{{name|}}}</th></tr>|1{{{name|}}}=}} <tr><th colspan="2" style="font-size: 80%; padding: 0; background: #D50A22;">[[Races|<font color="white">Race</font>]]</th></tr> {{t|1=<tr style="vertical-align: middle; border-bottom: 1px solid #999;"><td style="font-size: 80%;">Dominions</td><td style="font-size: 80%;">{{{dominions}}}</td></tr>|1{{{dominions|}}}=}} {{t|1=<tr style="vertical-align: middle; border-bottom: 1px solid #999;"><td style="font-size: 80%;">Languages</td><td style="font-size: 80%;">{{{languages}}}</td></tr>|1{{{languages|}}}=}} {{t|1=<tr style="vertical-align: middle; vertical-align: middle; border-bottom: 1px solid #999;"><td style="font-size: 80%;">Average&nbsp;height</td><td style="font-size: 80%;">{{{height}}}</td></tr>|1{{{height|}}}=}} {{t|1=<tr style="vertical-align: middle; border-bottom: 1px solid #999;"><td style="font-size: 80%;">Average&nbsp;length</td><td style="font-size: 80%;">{{{length}}}</td></tr>|1{{{length|}}}=}} {{t|1=<tr style="vertical-align: middle; border-bottom: 1px solid #999;"><td style="font-size: 80%;">Skin&nbsp;color</td><td style="font-size: 80%;">{{{skincolor}}}</td></tr>|1{{{skincolor|}}}=}} {{t|1=<tr style="vertical-align: middle; border-bottom: 1px solid #999;"><td style="font-size: 80%;">Hair&nbsp;color</td><td style="font-size: 80%;">{{{haircolor}}}</td></tr>|1{{{haircolor|}}}=}} {{t|1=<tr style="vertical-align: middle; border-bottom: 1px solid #999;"><td style="font-size: 80%;">Feather&nbsp;color</td><td style="font-size: 80%;">{{{feathers}}}</td></tr>|1{{{feathers|}}}=}} {{t|1=<tr style="vertical-align: middle; border-bottom: 1px solid #999;"><td style="font-size: 80%;">Distinctions</td><td style="font-size: 80%;">{{{distinctions}}}</td></tr>|1{{{distinctions|}}}=}} {{t|1=<tr style="vertical-align: middle; border-bottom: 1px solid #999;"><td style="font-size: 80%;">Lifespan</td><td style="font-size: 80%;">{{{lifespan}}}</td></tr>|1{{{lifespan|}}}=}} {{t|1=<tr style="vertical-align: middle;"><td style="font-size: 80%;">Members</td><td style="font-size: 80%;">{{{members}}}</td></tr>|1{{{members|}}}=}}</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
| image={{{image}}}
| name={{{name}}}
| dominions={{{dominions}}}
| languages={{{languages}}}
| height={{{height}}}
| length={{{length}}}
| skincolor={{{skincolor}}}
| haircolor={{{haircolor}}}
| feathers={{{feathers}}}
| distinctions={{{distinctions}}}
| lifespan={{{lifespan}}}
| members={{{members}}}
}}
===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
{{race
|image=
| image=
|name=
| name=
|dominions=
| dominions=
|languages=
| languages=
|height=
| height=
|length=
| length=
|skincolor=
| skincolor=
|haircolor=
| haircolor=
|feathers=
| feathers=
|distinctions=
| distinctions=
|lifespan=
| lifespan=
|members=
| members=
}}
}}
</nowiki></pre>
</pre>
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Revision as of 15:41, 12 July 2011

{{{image}}}
{{{name}}}
Race
Dominions{{{dominions}}}
Languages{{{languages}}}
Average height{{{height}}}
Average length{{{length}}}
Skin color{{{skincolor}}}
Hair color{{{haircolor}}}
Feather color{{{feathers}}}
Distinctions{{{distinctions}}}
Lifespan{{{lifespan}}}
Members{{{members}}}

Usage Instructions

{{race
| image=
| name=
| dominions=
| languages=
| height=
| length=
| skincolor=
| haircolor=
| feathers=
| distinctions=
| lifespan=
| members=
}}