Template:CharacterInfobox: Difference between revisions

From TheRaspyDragon
Jump to navigation Jump to search
Created page with "<div class="infobox" style="border: 1px solid #a2a9b1; background-color: #f8f9fa; color: #202122; margin: 0.5em 0 0.5em 1em; padding: 0.5em; float: right; clear: right; width: 260px; font-size: 88%; line-height: 1.5em; font-family: sans-serif; box-shadow: 0 2px 4px rgba(0,0,0,0.1); border-radius: 4px;"> {| style="width: 100%; background: transparent; border-spacing: 0 4px;" |- ! colspan="2" style="font-size: 140%; text-align: center; background-color: #5c1d24; color: whi..."
 
No edit summary
Line 1: Line 1:
<div class="infobox" style="border: 1px solid #a2a9b1; background-color: #f8f9fa; color: #202122; margin: 0.5em 0 0.5em 1em; padding: 0.5em; float: right; clear: right; width: 260px; font-size: 88%; line-height: 1.5em; font-family: sans-serif; box-shadow: 0 2px 4px rgba(0,0,0,0.1); border-radius: 4px;">
<div class="infobox" style="border: 1px solid #a2a9b1; background-color: #f8f9fa; color: #202122; margin: 0.5em 0 0.5em 1em; padding: 0.5em; float: right; clear: right; width: 290px; font-size: 88%; line-height: 1.5em; font-family: sans-serif; box-shadow: 0 2px 4px rgba(0,0,0,0.1); border-radius: 4px;">
{| style="width: 100%; background: transparent; border-spacing: 0 4px;"
{| style="width: 100%; background: transparent; border-spacing: 0 4px;"
|-
|-
Line 5: Line 5:
|-
|-
{{#if:{{{portrait|}}}|
{{#if:{{{portrait|}}}|
<tr><td colspan="2" style="text-align: center; padding: 5px;">
{{!}}-
{{{portrait}}}
{{!}} colspan="2" style="text-align: center; padding: 5px;" {{!}} {{{portrait}}}#.webp
</td></tr>
}}
}}
|-
|-
! style="text-align: left; padding: 4px; border-bottom: 1px solid #eaecf0; width: 40%;" | Level
! style="text-align: left; padding: 4px; border-bottom: 1px solid #eaecf0; width: 38%;" | Level
| style="padding: 4px; border-bottom: 1px solid #eaecf0;" | {{{level|—}}}
| style="padding: 4px; border-bottom: 1px solid #eaecf0;" | {{{level|—}}}
|-
|-
Line 16: Line 15:
| style="padding: 4px; border-bottom: 1px solid #eaecf0;" | {{{size|—}}}
| style="padding: 4px; border-bottom: 1px solid #eaecf0;" | {{{size|—}}}
|-
|-
! style="text-align: left; padding: 4px; border-bottom: 1px solid #eaecf0;" | Traits
{{#if:{{{traits|}}}|
| style="padding: 4px; border-bottom: 1px solid #eaecf0;" | {{{traits|—}}}
{{!}}-
! style="text-align: left; padding: 4px; border-bottom: 1px solid #eaecf0;" {{!}} Traits
{{!}} style="padding: 4px; border-bottom: 1px solid #eaecf0;" {{!}} {{{traits}}}
}}
{{#if:{{{key_ability|}}}|
{{!}}-
! style="text-align: left; padding: 4px; border-bottom: 1px solid #eaecf0;" {{!}} Key Ability
{{!}} style="padding: 4px; border-bottom: 1px solid #eaecf0;" {{!}} {{{key_ability}}}
}}
{{#if:{{{hero_points|}}}|
{{!}}-
! style="text-align: left; padding: 4px; border-bottom: 1px solid #eaecf0;" {{!}} Hero Points
{{!}} style="padding: 4px; border-bottom: 1px solid #eaecf0;" {{!}} {{{hero_points}}}
}}
|-
! colspan="2" style="background-color: #5c1d24; color: white; text-align: center; font-weight: bold; padding: 4px; border-radius: 2px; font-size: 95%;" | Defenses & Combat
|-
|-
! style="text-align: left; padding: 4px; border-bottom: 1px solid #eaecf0;" | HP
! style="text-align: left; padding: 4px; border-bottom: 1px solid #eaecf0;" | HP
Line 24: Line 38:
! style="text-align: left; padding: 4px; border-bottom: 1px solid #eaecf0;" | AC
! style="text-align: left; padding: 4px; border-bottom: 1px solid #eaecf0;" | AC
| style="padding: 4px; border-bottom: 1px solid #eaecf0;" | {{{ac|—}}}
| style="padding: 4px; border-bottom: 1px solid #eaecf0;" | {{{ac|—}}}
|-
{{#if:{{{fortitude|}}}{"+reflex|""}{"+will|""}|
{{!}}-
! style="text-align: left; padding: 4px; border-bottom: 1px solid #eaecf0; vertical-align: top;" {{!}} Saving Throws
{{!}} style="padding: 4px; border-bottom: 1px solid #eaecf0;" {{!}} **Fort** {{{fortitude|—}}}, **Ref** {{{reflex|—}}}, **Will** {{{will|—}}}
}}
|-
|-
! style="text-align: left; padding: 4px; border-bottom: 1px solid #eaecf0;" | Perception
! style="text-align: left; padding: 4px; border-bottom: 1px solid #eaecf0;" | Perception
Line 30: Line 50:
! style="text-align: left; padding: 4px; border-bottom: 1px solid #eaecf0;" | Speed
! style="text-align: left; padding: 4px; border-bottom: 1px solid #eaecf0;" | Speed
| style="padding: 4px; border-bottom: 1px solid #eaecf0;" | {{{speed|—}}}
| style="padding: 4px; border-bottom: 1px solid #eaecf0;" | {{{speed|—}}}
|-
{{#if:{{{attributes|}}}|
{{!}}-
! colspan="2" style="background-color: #cbd5e1; color: #1e293b; text-align: center; font-weight: bold; padding: 3px; border-radius: 2px; font-size: 90%;" {{!}} Attributes
{{!}}-
{{!}} colspan="2" style="text-align: center; padding: 6px; font-size: 85%; border-bottom: 1px solid #eaecf0; background-color: #f1f5f9;" {{!}} {{{attributes}}}
}}
{{#if:{{{languages|}}}|
{{!}}-
! style="text-align: left; padding: 4px; border-bottom: 1px solid #eaecf0; vertical-align: top;" {{!}} Languages
{{!}} style="padding: 4px; border-bottom: 1px solid #eaecf0; font-size: 90%;" {{!}} {{{languages}}}
}}
|}
|}
</div>
</div>

Revision as of 05:33, 30 May 2026

""}{"+will
CharacterInfobox
Level
Size
Defenses & Combat
HP
AC
Perception
Speed