Template:Infobox Character: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<table class="infobox" style="width: 300px; float: right; margin-left: 1em; border: 1px solid #a2a9b1; background: #f8f9fa; font-size: 90%;"> | |||
<tr> | |||
<th colspan="2" style="text-align:center; font-size: 120%; background:#cdd; padding:4px;">{{{name|}}}</th> | |||
</tr> | |||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}|<tr> | ||
<td colspan="2" style="text-align:center; padding:4px;">[[File:{{{image}}}|220px]]</td> | |||
}} | </tr>}} | ||
{{#if:{{{title|}}}| | {{#if:{{{title|}}}|<tr> | ||
<td colspan="2" style="text-align:center; font-style:italic;">{{{title}}}</td> | |||
}} | </tr>}} | ||
{{#if:{{{race|}}}| | {{#if:{{{race|}}}|<tr> | ||
<th>Race</th><td>{{{race}}}</td> | |||
</tr>}} | |||
}} | {{#if:{{{class|}}}|<tr> | ||
{{#if:{{{class|}}}| | <th>Class</th><td>{{{class}}}</td> | ||
</tr>}} | |||
{{#if:{{{subclass|}}}|<tr> | |||
}} | <th>Subclass</th><td>{{{subclass}}}</td> | ||
{{#if:{{{subclass|}}}| | </tr>}} | ||
{{#if:{{{level|}}}|<tr> | |||
<th>Level</th><td>{{{level}}}</td> | |||
}} | </tr>}} | ||
{{#if:{{{level|}}}| | {{#if:{{{alignment|}}}|<tr> | ||
<th>Alignment</th><td>{{{alignment}}}</td> | |||
</tr>}} | |||
}} | {{#if:{{{background|}}}|<tr> | ||
{{#if:{{{alignment|}}}| | <th>Background</th><td>{{{background}}}</td> | ||
</tr>}} | |||
{{#if:{{{deity|}}}|<tr> | |||
}} | <th>Deity</th><td>{{{deity}}}</td> | ||
{{#if:{{{background|}}}| | </tr>}} | ||
{{#if:{{{hp|}}}|<tr> | |||
<th>Hit Points</th><td>{{{hp}}}</td> | |||
}} | </tr>}} | ||
{{#if:{{{deity|}}}| | {{#if:{{{ac|}}}|<tr> | ||
<th>Armor Class</th><td>{{{ac}}}</td> | |||
</tr>}} | |||
}} | {{#if:{{{player|}}}|<tr> | ||
{{#if:{{{hp|}}}| | <th>Player</th><td>{{{player}}}</td> | ||
</tr>}} | |||
{{#if:{{{campaign|}}}|<tr> | |||
}} | <th>Campaign</th><td>{{{campaign}}}</td> | ||
{{#if:{{{ac|}}}| | </tr>}} | ||
{{#if:{{{status|}}}|<tr> | |||
<th>Status</th><td>{{{status}}}</td> | |||
}} | </tr>}} | ||
{{#if:{{{player|}}}| | </table> | ||
}} | |||
{{#if:{{{campaign|}}}| | |||
}} | |||
{{#if:{{{status|}}}| | |||
}} | |||