Jump to content

Template:Infobox Character: Difference between revisions

Olivinism (talk | contribs)
No edit summary
Olivinism (talk | contribs)
Blanked the page
Tag: Blanking
 
Line 1: Line 1:
<table class="infobox" style="width: 300px; float: right; margin-left: 1em; border: 1px solid #a2a9b1; background: --background-color-neutral-subtle; font-size: 90%;">
 
<tr>
<th colspan="2" style="text-align:center; font-size: 120%; background:--background-color-neutral-subtle; padding:4px;">{{{name|}}}</th>
</tr>
{{#if:{{{image|}}}|<tr>
<td colspan="2" style="text-align:center; padding:4px;">[[File:{{{image}}}|220px]]</td>
</tr>}}
{{#if:{{{image_caption|}}}|<tr>
<td colspan="2" style="text-align:center; font-size: 85%; color:#555; padding:0 4px 4px 4px;">{{{image_caption}}}</td>
</tr>}}
{{#if:{{{title|}}}|<tr>
<td colspan="2" style="text-align:center; font-style:italic;">{{{title}}}</td>
</tr>}}
{{#if:{{{race|}}}|<tr>
<th>Race</th><td>{{{race}}}</td>
</tr>}}
{{#if:{{{class|}}}|<tr>
<th>Class</th><td>{{{class}}}</td>
</tr>}}
{{#if:{{{subclass|}}}|<tr>
<th>Subclass</th><td>{{{subclass}}}</td>
</tr>}}
{{#if:{{{level|}}}|<tr>
<th>Level</th><td>{{{level}}}</td>
</tr>}}
{{#if:{{{alignment|}}}|<tr>
<th>Alignment</th><td>{{{alignment}}}</td>
</tr>}}
{{#if:{{{background|}}}|<tr>
<th>Background</th><td>{{{background}}}</td>
</tr>}}
{{#if:{{{deity|}}}|<tr>
<th>Deity</th><td>{{{deity}}}</td>
</tr>}}
{{#if:{{{hp|}}}|<tr>
<th>Hit Points</th><td>{{{hp}}}</td>
</tr>}}
{{#if:{{{ac|}}}|<tr>
<th>Armor Class</th><td>{{{ac}}}</td>
</tr>}}
{{#if:{{{str|}}}|<tr>
<td colspan="2" style="padding:6px 4px;">
<div class="infobox-stats" style="display:grid; grid-template-columns: repeat(6, 1fr); text-align:center; gap:2px;">
<div><strong>STR</strong><br>{{{str|—}}}</div>
<div><strong>DEX</strong><br>{{{dex|—}}}</div>
<div><strong>CON</strong><br>{{{con|—}}}</div>
<div><strong>INT</strong><br>{{{int|—}}}</div>
<div><strong>WIS</strong><br>{{{wis|—}}}</div>
<div><strong>CHA</strong><br>{{{cha|—}}}</div>
</div>
</td>
</tr>}}
{{#if:{{{player|}}}|<tr>
<th>Player</th><td>{{{player}}}</td>
</tr>}}
{{#if:{{{campaign|}}}|<tr>
<th>Campaign</th><td>{{{campaign}}}</td>
</tr>}}
{{#if:{{{status|}}}|<tr>
<th>Status</th><td>{{{status}}}</td>
</tr>}}
</table>