Template:Infobox Race: Difference between revisions
Jump to navigation
Jump to search
Qatar Shendo (talk | contribs) mNo edit summary |
Jeb`el Ras (talk | contribs) cat change |
||
(10 intermediate revisions by 3 users not shown) | |||
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:{{{height|}}}|<tr><td width="31%" valign="top">Average Height</td><td width="69%">{{{height}}}</td></tr>}} | ||
{{#if:{{{skin color|}}}|<tr><td width="31%" valign="top">Skin color</td><td width="69%">{{{skin color}}}</td></tr>}} | |||
{{#if:{{{hair color|}}}|<tr><td width="31%" valign="top">Hair color</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:{{{lifespan|}}}|<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 = Enter plural form of Race e.g. Humans for the Race Human; Naboo for the Race Naboo | |||
}} | }} | ||
</nowiki> | </nowiki> | ||
</pre> | </pre> | ||
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude> | |||
[[Category: | |||
</noinclude> |
Latest revision as of 23:00, 17 April 2014
{{{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 = Enter plural form of Race e.g. Humans for the Race Human; Naboo for the Race Naboo }}