Jump to content

Template:Infobox Character: Difference between revisions

From Elysium D&D
No edit summary
No edit summary
Line 5: Line 5:
{{#if:{{{image|}}}|<tr>
{{#if:{{{image|}}}|<tr>
<td colspan="2" style="text-align:center; padding:4px;">[[File:{{{image}}}|220px]]</td>
<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>}}
</tr>}}
{{#if:{{{title|}}}|<tr>
{{#if:{{{title|}}}|<tr>
Line 35: Line 38:
{{#if:{{{ac|}}}|<tr>
{{#if:{{{ac|}}}|<tr>
<th>Armor Class</th><td>{{{ac}}}</td>
<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>}}
</tr>}}
{{#if:{{{player|}}}|<tr>
{{#if:{{{player|}}}|<tr>

Revision as of 09:26, 7 August 2026