Difference between revisions of "Template:Infobox NPC"
From OtanWiki
| (5 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:{{{native_name|}}}|<tr> | |
| − | |||
| − | < | ||
<th>Native Name</th> | <th>Native Name</th> | ||
<td>{{{native_name}}}</td> | <td>{{{native_name}}}</td> | ||
| Line 17: | Line 15: | ||
<th>Race</th> | <th>Race</th> | ||
<td>{{{race}}}</td> | <td>{{{race}}}</td> | ||
| + | </tr>}} {{#if:{{{gender|}}}|<tr> | ||
| + | <th>Gender</th> | ||
| + | <td>{{{gender}}}</td> | ||
</tr>}} {{#if:{{{nationality|}}}|<tr> | </tr>}} {{#if:{{{nationality|}}}|<tr> | ||
<th>Nationality</th> | <th>Nationality</th> | ||
<td>{{{nationality}}}</td> | <td>{{{nationality}}}</td> | ||
| − | </tr>}} {{#if:{{{ | + | </tr>}} {{#if:{{{languages|}}}|<tr> |
| − | <th> | + | <th>Languages</th> |
| − | <td>{{{ | + | <td>{{{languages}}}</td> |
| − | </tr>}} {{#if:{{{ | + | </tr>}} {{#if:{{{archetype|}}}|<tr> |
| − | <th> | + | <th>Archetype</th> |
| − | <td>{{{ | + | <td>{{{archetype}}}</td> |
| + | </tr>}} {{#if:{{{ethos|}}}|<tr> | ||
| + | <th>Ethos</th> | ||
| + | <td>{{{ethos}}}</td> | ||
</tr>}} {{#if:{{{religion|}}}|<tr> | </tr>}} {{#if:{{{religion|}}}|<tr> | ||
<th>Religion</th> | <th>Religion</th> | ||
| Line 65: | Line 69: | ||
<th>Associates</th> | <th>Associates</th> | ||
<td>{{{associates}}}</td> | <td>{{{associates}}}</td> | ||
| + | </tr>}} {{#if:{{{5e_equivalence|}}}|<tr> | ||
| + | <th>5e Equivalence</th> | ||
| + | <td>{{{5e_equivalence}}}</td> | ||
| + | </tr>}} {{#if:{{{alignment|}}}|<tr> | ||
| + | <th>5e Alignment</th> | ||
| + | <td>{{{alignment}}}</td> | ||
</tr>}}</table> | </tr>}}</table> | ||
</div> | </div> | ||
| Line 78: | Line 88: | ||
| honours = | | honours = | ||
| race = | | race = | ||
| + | | gender = | ||
| + | | languages = | ||
| nationality = | | nationality = | ||
| − | | | + | | archetype = |
| − | | | + | | ethos = |
| religion = | | religion = | ||
| home = | | home = | ||
| Line 94: | Line 106: | ||
| children = | | children = | ||
| associates = | | associates = | ||
| + | | 5e_equivalence = | ||
| + | | alignment = | ||
}} | }} | ||
</pre> | </pre> | ||
Latest revision as of 15:02, 12 June 2021
Infobox NPC
Example usage:
{{Infobox NPC
| title =
| image =
| caption =
| native_name =
| titles =
| honours =
| race =
| gender =
| languages =
| nationality =
| archetype =
| ethos =
| religion =
| home =
| born_yr_place =
| died_yr_place =
| other_homes =
| special_abilities =
| special_items =
| properties_owned =
| factions =
| spouse =
| parents =
| children =
| associates =
| 5e_equivalence =
| alignment =
}}