Template:Infobox Race: Difference between revisions
Jump to navigation
Jump to search
Rupert Havok (talk | contribs) No edit summary |
Rupert Havok (talk | contribs) Adding Xesh's revised Race template, standardizing fields, etc. |
||
Line 1: | Line 1: | ||
<table style="border: 1px solid grey; padding: 1px; margin: 5px; width: 25%; float: right; font-size: 11px;"> | |||
<tr><td width="100%" colspan="2" style="text-align: center;">{{{image}}}</td></tr> | |||
<tr><td width="100%" colspan="2" style="background-color: #21314c; font-size: 16px; text-align: center;"><font color="white"><b>{{{name}}}</b></font></td></tr> | |||
{{#if:{{{homeworld|}}}|<tr><td width="31%" valign="top">Homeworld</td><td width="69%">{{{homeworld}}}</td></tr>}} | |||
{{#if:{{{language|}}}|<tr><td width="31%" valign="top">Language</td><td width="69%">{{{language}}}</td></tr>}} | |||
{{#if:{{{aveheight|}}}|<tr><td width="31%" valign="top">Average Height</td><td width="69%">{{{height}}}</td></tr>}} | |||
| | {{#if:{{{skincolour|}}}|<tr><td width="31%" valign="top">Skin colour</td><td width="69%">{{{skin color}}}</td></tr>}} | ||
| | {{#if:{{{haircolour|}}}|<tr><td width="31%" valign="top">Hair colour</td><td width="69%">{{{hair color}}}</td></tr>}} | ||
{{#if:{{{distinctions|}}}|<tr><td width="31%" valign="top">Distinctions</td><td width="69%">{{{distinctions}}}</td></tr>}} | |||
| | {{#if:{{{avelife|}}}|<tr><td width="31%" valign="top">Average lifespan</td><td width="69%">{{{lifespan}}}</td></tr>}} | ||
| | {{#if:{{{known|}}}|<tr><td width="31%" valign="top">Known Members</td><td width="69%">[[:Category:{{{known|{{PAGENAME}}}}}|List of known {{{known|{{PAGENAME}}}}}]]</td></tr>}} | ||
</table> | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
<noinclude> | <noinclude> | ||
===Usage=== | ===Usage=== | ||
The Race Box template is used for Race pages only, to describe the Race. Paste the following code into the top of an article, filling all known fields | The Race Box template is used for Race pages only, to describe the Race. Paste the following code into the top of an article, filling all known fields. For unknown or not applicable values leave the field blank. | ||
<pre><nowiki> | <pre><nowiki> | ||
{{Infobox Race | {{Infobox Race | ||
| image =[[File:Example.jpg]] | | image = [[File:Example.jpg]] | ||
| name = | | name = | ||
| homeworld = | | homeworld = | ||
| language = | | language = | ||
| | | height = | ||
| | | skin color = | ||
| | | hair color = | ||
| distinctions = | | distinctions = | ||
| | | lifespan = | ||
| known = (only use if plural differs from the singular race name. | | known = (only use if plural differs from the singular race name. e.g for "Human" put: | known = Humans) | ||
}} | }} | ||
</nowiki> | </nowiki> | ||
</pre> | </pre> | ||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 19:35, 27 September 2012
{{{image}}} | |
{{{name}}} |
Usage
The Race Box template is used for Race pages only, to describe the Race. Paste the following code into the top of an article, filling all known fields. For unknown or not applicable values leave the field blank.
{{Infobox Race | image = [[File:Example.jpg]] | name = | homeworld = | language = | height = | skin color = | hair color = | distinctions = | lifespan = | known = (only use if plural differs from the singular race name. e.g for "Human" put: | known = Humans) }}