Difference between revisions of "Template:Infobox Race"
Rupert Havok (talk | contribs) (Adding Xesh's revised Race template, standardizing fields, etc.) |
Jeb`el Ras (talk | contribs) (cat change) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
{{#if:{{{homeworld|}}}|<tr><td width="31%" valign="top">Homeworld</td><td width="69%">{{{homeworld}}}</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:{{{language|}}}|<tr><td width="31%" valign="top">Language</td><td width="69%">{{{language}}}</td></tr>}} | ||
− | {{#if:{{{ | + | {{#if:{{{height|}}}|<tr><td width="31%" valign="top">Average Height</td><td width="69%">{{{height}}}</td></tr>}} |
− | {{#if:{{{ | + | {{#if:{{{skin color|}}}|<tr><td width="31%" valign="top">Skin color</td><td width="69%">{{{skin color}}}</td></tr>}} |
− | {{#if:{{{ | + | {{#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:{{{distinctions|}}}|<tr><td width="31%" valign="top">Distinctions</td><td width="69%">{{{distinctions}}}</td></tr>}} | ||
− | {{#if:{{{ | + | {{#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>}} | {{#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> | </table> | ||
Line 27: | Line 27: | ||
| distinctions = | | distinctions = | ||
| lifespan = | | lifespan = | ||
− | | known = | + | | known = Enter plural form of Race e.g. Humans for the Race Human; Naboo for the Race Naboo |
}} | }} | ||
</nowiki> | </nowiki> | ||
</pre> | </pre> | ||
− | [[Category: | + | [[Category:Infobox templates|{{PAGENAME}}]]</noinclude> |
− | </noinclude> |
Latest revision as of 18: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 }}