Template:Character info: Difference between revisions

Jump to navigation Jump to search
Abilities scores now optional
mNo edit summary
(Abilities scores now optional)
Line 10: Line 10:
{{!}} colspan="2" align="center" style="padding:0.5em 0;" {{!}} {{{image}}}{{ #if: {{{imagename|}}} | <br />{{{imagename}}} }}
{{!}} colspan="2" align="center" style="padding:0.5em 0;" {{!}} {{{image}}}{{ #if: {{{imagename|}}} | <br />{{{imagename}}} }}
}}
}}
{{#if:{{{STR|}}}|{{!}}-
{{#if:{{{STR|}}}{{{level|}}}{{{race|}}}{{{type|}}}{{{HP|}}}{{{AC|}}}{{{speed|}}}{{{size|}}}{{{weight|}}}{{{proficiency|}}}{{{initiative|}}}|{{!}}-
! colspan="2" align="center" style="font-size: 110%; background: #281C14; color: #C1A886;" {{!}} '''Stats'''}}
! colspan="2" align="center" style="font-size: 110%; background: #281C14; color: #C1A886;" {{!}} '''Stats'''}}
|-
|-
{{#if:{{{STR|}}}|
{{#if:{{{STR|}}}|
{{!}} colspan="2" align="center" style="padding:0.5em 0;" {{!}} {{AttributeBlock|{{{STR}}}|{{{DEX}}}|{{{CON}}}|{{{INT}}}|{{{WIS}}}|{{{CHA}}}
{{!}} colspan="2" align="center" style="padding:0.5em 0;" {{!}} {{AttributeBlock
|{{{STR}}}
|{{{DEX}}}
|{{{CON}}}
|{{{INT}}}
|{{{WIS}}}
|{{{CHA}}}
|level={{{level}}}
|level={{{level}}}
|race={{{race}}}
|race={{{race}}}
Line 24: Line 30:
|weight={{{weight}}}
|weight={{{weight}}}
|prof={{{proficiency}}}
|prof={{{proficiency}}}
|init={{{initiative}}}
|init={{{initiative}}} }}
}}
| {{!}} colspan="2" align="center" style="padding:0.5em 0;" {{!}} {{AttributeBlock
|level={{{level}}}
|race={{{race}}}
|type={{{type}}}
|hp={{{HP}}}
|ac={{{AC}}}
|ms={{{speed}}}
|size={{{size}}}
|weight={{{weight}}}
|prof={{{proficiency}}}
|init={{{initiative}}} }}
}}
}}
{{#if:{{{class|}}}{{{alignment|}}}{{{background|}}}{{{enemies|}}}{{{location|}}}{{{allies|}}} | {{!}}-
{{#if:{{{class|}}}{{{alignment|}}}{{{background|}}}{{{enemies|}}}{{{location|}}}{{{allies|}}} | {{!}}-
Line 154: Line 170:
|alt-image = [[File:Astarionheadshot.jpg|350px]]
|alt-image = [[File:Astarionheadshot.jpg|350px]]
}}
}}
You don't have to include every single bit of info there, but if you want to use the statblock you'll have to fill out at least the main six attributes. Example:
Filling in the 6 Ability Score stats is optional. However, this template only currently supports being provided none or all of them.
 
Example:
<pre>
<pre>
{{CharacterInfo
{{CharacterInfo

Navigation menu