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...") |
|||
| 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>Sub-Races</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> | ||
Revision as of 16:14, 18 July 2021
Infobox race
Example usage:
{{Infobox creature
| title =
| image =
| caption =
| type =
| subtype =
| alignment =
| challenge =
| patron_deity =
| vision =
| active_cycle =
| diet =
| lifespan =
| location =
| language =
| subraces =
| climate =
| terrain =
| height =
| length =
| wingspan =
| weight =
| skin_color =
| hair_color =
| feathers =
| eye_color =
| build =
| distinctions =
| first =
| based =
| 5e_equivalence =
}}