Template:Race infobox: Difference between revisions

From Tolkien Gateway
m (Changed width from 250px to 252px)
(Redesigned to match other userboxes)
Line 1: Line 1:
<includeonly><table border="0" cellspacing="0" cellpadding="4" style="float:right; clear:right; margin: 0 0 .5em 1em; width:252px; background:#ffffff; border-collapse:collapse; border:1px solid #D50A22; font-size:smaller; line-height:1.5;"><tr style="text-align:center;"><td colspan="2" style="padding:0; background:#D50A22;">{{{image|}}}</td></tr><tr style="color:#ffffff; background:#D50A22; font-size:larger;"><th colspan="2">{{{name|}}}</th></tr> {{t|1=<tr style="vertical-align: middle; border-bottom: 1px solid #999; background: {{{3|#f0f0f0}}}"><td style="padding-top: 6px; ">Dominions</td><td>{{{dominions}}}</td></tr>|1{{{dominions|}}}=}} {{t|1=<tr style="vertical-align: middle; border-bottom: 1px solid #999;background: {{{3|#f0f0f0}}}"><td>Languages</td><td>{{{languages}}}</td></tr>|1{{{languages|}}}=}} {{t|1=<tr style="vertical-align: middle; vertical-align: middle; border-bottom: 1px solid #999;background: {{{3|#f0f0f0}}}"><td>Average&nbsp;height</td><td>{{{height}}}</td></tr>|1{{{height|}}}=}} {{t|1=<tr style="vertical-align: middle; border-bottom: 1px solid #999;background: {{{3|#f0f0f0}}}"><td>Average&nbsp;length</td><td>{{{length}}}</td></tr>|1{{{length|}}}=}} {{t|1=<tr style="vertical-align: middle; border-bottom: 1px solid #999;background: {{{3|#f0f0f0}}}"><td>Skin&nbsp;color</td><td>{{{skincolor}}}</td></tr>|1{{{skincolor|}}}=}} {{t|1=<tr style="vertical-align: middle; border-bottom: 1px solid #999;background: {{{3|#f0f0f0}}}"><td>Hair&nbsp;color</td><td>{{{haircolor}}}</td></tr>|1{{{haircolor|}}}=}} {{t|1=<tr style="vertical-align: middle; border-bottom: 1px solid #999;background: {{{3|#f0f0f0}}}"><td>Feather&nbsp;color</td><td>{{{feathers}}}</td></tr>|1{{{feathers|}}}=}} {{t|1=<tr style="vertical-align: middle; border-bottom: 1px solid #999;background: {{{3|#f0f0f0}}}"><td>Distinctions</td><td>{{{distinctions}}}</td></tr>|1{{{distinctions|}}}=}} {{t|1=<tr style="vertical-align: middle; border-bottom: 1px solid #999;background: {{{3|#f0f0f0}}}"><td>Lifespan</td><td>{{{lifespan}}}</td></tr>|1{{{lifespan|}}}=}} {{t|1=<tr style="vertical-align: middle; background: {{{3|#f0f0f0}}}"><td>Members</td><td>{{{members}}}</td></tr>|1{{{members|}}}=}}</table></includeonly><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 #D50A22; line-height: 1.5;"> {{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>
{{clear}}
{{clear}}
<table border="0" cellspacing="0" cellpadding="4" style="float:right; clear:right; margin: 0 0 .5em 1em; width:252px; background:#ffffff; border-collapse:collapse; border:1px solid #D50A22; font-size:smaller; line-height:1.5;"><tr style="text-align:center;"><td colspan="2" style="padding:0; background:#D50A22;"><nowiki>{{{image}}}</nowiki></td></tr><tr style="color:#ffffff; background:#D50A22; font-size:larger;"><th colspan="2"><nowiki>{{{name}}}</nowiki></th></tr> <tr style="vertical-align: middle; border-bottom: 1px solid #999; background: {{{3|#f0f0f0}}}"><td style="padding-top: 6px; ">Dominions</td><td><nowiki>{{{dominions}}}</nowiki></td></tr> <tr style="vertical-align: middle; border-bottom: 1px solid #999;background: {{{3|#f0f0f0}}}"><td>Languages</td><td><nowiki>{{{languages}}}</nowiki></td></tr> <tr style="vertical-align: middle; vertical-align: middle; border-bottom: 1px solid #999;background: {{{3|#f0f0f0}}}"><td>Average&nbsp;height</td><td><nowiki>{{{height}}}</nowiki></td></tr> <tr style="vertical-align: middle; border-bottom: 1px solid #999;background: {{{3|#f0f0f0}}}"><td>Average&nbsp;length</td><td><nowiki>{{{length}}}</nowiki></td></tr> <tr style="vertical-align: middle; border-bottom: 1px solid #999;background: {{{3|#f0f0f0}}}"><td>Skin&nbsp;color</td><td><nowiki>{{{skincolor}}}</nowiki></td></tr> <tr style="vertical-align: middle; border-bottom: 1px solid #999;background: {{{3|#f0f0f0}}}"><td>Hair&nbsp;color</td><td><nowiki>{{{haircolor}}}</nowiki></td></tr> <tr style="vertical-align: middle; border-bottom: 1px solid #999;background: {{{3|#f0f0f0}}}"><td>Feather&nbsp;color</td><td><nowiki>{{{feathers}}}</nowiki></td></tr> <tr style="vertical-align: middle; border-bottom: 1px solid #999;background: {{{3|#f0f0f0}}}"><td>Distinctions</td><td><nowiki>{{{distinctions}}}</nowiki></td></tr> <tr style="vertical-align: middle; border-bottom: 1px solid #999;background: {{{3|#f0f0f0}}}"><td>Lifespan</td><td><nowiki>{{{lifespan}}}</nowiki></td></tr> <tr style="vertical-align: middle; background: {{{3|#f0f0f0}}}"><td>Members</td><td><nowiki>{{{members}}}</nowiki></td></tr></table>
{{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===
<pre>
<pre>
{{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=
}}
}}
</pre>
</pre>
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Revision as of 22:10, 22 October 2010

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