Template:Character info: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
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

Revision as of 02:12, 12 July 2023

Archduke
Noober
Stats

Level 3

STR

15
(+2)

DEX

8
(-1)

CON

11

INT

9
(-1)

WIS

18
(+4)

CHA

10

Race

Skeleton

Type

Undead

Hit Points

28

Armour Class

15

Movement Speed

10m / 30ft

Size

Medium

Weight

20kg / 40lbs

Proficiency Bonus

+2

Initiative

-1

Character information
Class Barbarian
Alignment Chaotic Stupid
Background Acolyte
Location Netheril
Allies Astarion
Enemies Shadowheart, Wyll
Resistances
Damage TypesBludgeoning Resistant
Damage TypesPoison Immune
Damage TypesPsychic Vulnerable
True form


Filling in the 6 Ability Score stats is optional. However, this template only currently supports being provided none or all of them.

Example:

{{CharacterInfo
|title = Archduke
|name = Noober
|image=[[File:Astarion-promotional.webp|350px]]
|STR=15
|DEX=8
|CON=11
|INT=9
|WIS=18
|CHA=10
|level=3
|race=Skeleton
|type=Undead
|HP=28
|AC=15
|speed=10m / 30ft
|size=Medium
|weight=20kg / 40lbs
|proficiency=2
|initiative=-1
|class = [[Barbarian]]
|background= [[Acolyte]]
|location = Netheril
|allies = [[Astarion]]
|enemies = [[Shadowheart]], [[Wyll]]
|bludgeoning = Resistant
|psychic = Vulnerable
|poison = Immune
|alt-name = True form
|alt-image = [[File:Astarionheadshot.jpg|350px]]
}}

Clean version:

{{CharacterInfo
|title =
|name = 
|image=[[File:|350px]]
|STR=
|DEX=
|CON=
|INT=
|WIS=
|CHA=
|level=
|race=
|type=
|HP=
|AC=
|speed=
|size=
|weight=
|proficiency=
|initiative=
|class = 
|background= 
|location = 
|allies = 
|enemies = 
|alt-name = 
|alt-image = [[File:|350px]]
}}