Difference between revisions of "Template:Infobox creature"
From OtanWiki
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | <div class="infobox | + | <div class="infobox" > |
<div class="infobox-title" style="font-size: 2em; text-align: center;">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| | <div class="infobox-title" style="font-size: 2em; text-align: center;">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| | ||
<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>}} | |
| − | + | <table> {{#if:{{{type|}}}|<tr> | |
| − | |||
| − | < | ||
<th>Type</th> | <th>Type</th> | ||
<td>{{{type}}}</td> | <td>{{{type}}}</td> | ||
| Line 11: | Line 9: | ||
<th>Subtype</th> | <th>Subtype</th> | ||
<td>{{{subtype}}}</td> | <td>{{{subtype}}}</td> | ||
| − | </tr>}} {{#if:{{{ | + | </tr>}} {{#if:{{{strain|}}}|<tr> |
| − | <th> | + | <th>Strain</th> |
| − | <td>{{{ | + | <td>{{{strain}}}</td> |
| + | </tr>}} {{#if:{{{substrain|}}}|<tr> | ||
| + | <th>Substrain</th> | ||
| + | <td>{{{substrain}}}</td> | ||
</tr>}} {{#if:{{{challenge|}}}|<tr> | </tr>}} {{#if:{{{challenge|}}}|<tr> | ||
<th>Challenge</th> | <th>Challenge</th> | ||
| Line 77: | Line 78: | ||
<th>Distinctions</th> | <th>Distinctions</th> | ||
<td>{{{distinctions}}}</td> | <td>{{{distinctions}}}</td> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</tr>}}</table> | </tr>}}</table> | ||
</div> | </div> | ||
| Line 97: | Line 89: | ||
| type = | | type = | ||
| subtype = | | subtype = | ||
| + | | strain = | ||
| + | | substrains = | ||
| alignment = | | alignment = | ||
| challenge = | | challenge = | ||
| Line 105: | Line 99: | ||
| lifespan = | | lifespan = | ||
| location = | | location = | ||
| − | | | + | | languages = |
| subraces = | | subraces = | ||
| climate = | | climate = | ||
| Line 119: | Line 113: | ||
| build = | | build = | ||
| distinctions = | | distinctions = | ||
| − | |||
| − | |||
| − | |||
}} | }} | ||
</pre> | </pre> | ||
Latest revision as of 20:53, 14 May 2023
Infobox creature
Example usage:
{{Infobox creature
| title =
| image =
| caption =
| type =
| subtype =
| strain =
| substrains =
| alignment =
| challenge =
| patron_deity =
| vision =
| active_cycle =
| diet =
| lifespan =
| location =
| languages =
| subraces =
| climate =
| terrain =
| height =
| length =
| wingspan =
| weight =
| skin_color =
| hair_color =
| feathers =
| eye_color =
| build =
| distinctions =
}}