Difference between revisions of "Template:Infobox race"
From OtanWiki
(Created page with "<div class="infobox" > <div class="infobox-title" style="font-size: 2em; text-align: center;">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| <div class="infobox-image" styl...") |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
<div class="infobox-image" style="text-align: center;">[[File:{{{image}}}|300px]]</div>}} | <div class="infobox-image" style="text-align: center;">[[File:{{{image}}}|300px]]</div>}} | ||
{{#if:{{{caption|}}}|<div style="font-size: .8em; text-align: center;">{{{caption}}}</div>}} | {{#if:{{{caption|}}}|<div style="font-size: .8em; text-align: center;">{{{caption}}}</div>}} | ||
− | <table> {{#if:{{{ | + | <table> {{#if:{{{race|}}}|<tr> |
− | |||
− | |||
− | |||
<th>Race</th> | <th>Race</th> | ||
− | <td>{{{ | + | <td>{{{race}}}</td> |
− | </tr>}} {{#if:{{{ | + | </tr>}} {{#if:{{{subraces|}}}|<tr> |
− | <th> | + | <th>Subraces</th> |
− | <td>{{{ | + | <td>{{{subraces}}}</td> |
+ | </tr>}} {{#if:{{{variants|}}}|<tr> | ||
+ | <th>Variants</th> | ||
+ | <td>{{{variants}}}</td> | ||
</tr>}} {{#if:{{{patron_deity|}}}|<tr> | </tr>}} {{#if:{{{patron_deity|}}}|<tr> | ||
<th>Patron Deity</th> | <th>Patron Deity</th> | ||
Line 33: | Line 33: | ||
<th>Language</th> | <th>Language</th> | ||
<td>{{{language}}}</td> | <td>{{{language}}}</td> | ||
− | |||
− | |||
− | |||
</tr>}} {{#if:{{{climate|}}}|<tr> | </tr>}} {{#if:{{{climate|}}}|<tr> | ||
<th>Climate</th> | <th>Climate</th> | ||
Line 89: | Line 86: | ||
Example usage: | Example usage: | ||
<pre> | <pre> | ||
− | {{Infobox | + | {{Infobox race |
| title = | | title = | ||
| image = | | image = | ||
| caption = | | caption = | ||
− | | | + | | race = |
− | | | + | | subraces = |
− | | | + | | variants = |
− | |||
| patron_deity = | | patron_deity = | ||
| vision = | | vision = | ||
Line 104: | Line 100: | ||
| location = | | location = | ||
| language = | | language = | ||
− | |||
| climate = | | climate = | ||
| terrain = | | terrain = | ||
Line 120: | Line 115: | ||
| based = | | based = | ||
| 5e_equivalence = | | 5e_equivalence = | ||
+ | | alignment = | ||
}} | }} | ||
</pre> | </pre> |
Latest revision as of 20:32, 7 August 2021
Infobox race
Example usage:
{{Infobox race | title = | image = | caption = | race = | subraces = | variants = | patron_deity = | vision = | active_cycle = | diet = | lifespan = | location = | language = | climate = | terrain = | height = | length = | wingspan = | weight = | skin_color = | hair_color = | feathers = | eye_color = | build = | distinctions = | first = | based = | 5e_equivalence = | alignment = }}