Template:Character info: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Fixed issue with blank save fields always showing as active)
No edit summary
Line 87: Line 87:
{{!}} colspan="2" style="padding-left: 38px;" {{!}} {{{passive|}}}
{{!}} colspan="2" style="padding-left: 38px;" {{!}} {{{passive|}}}
}}
}}
{{#if:{{{bludgeoning|}}}{{{piercing|}}}{{{slashing|}}}{{{acid|}}}{{{cold|}}}{{{fire|}}}{{{lightning|}}}{{{necrotic|}}}{{{poison|}}}{{{psychic|}}}{{{radiant|}}}{{{thunder|}}}|{{!}}-
 
{{#if:{{{bludgeoning|}}}{{{piercing|}}}{{{magic|}}}{{{slashing|}}}{{{acid|}}}{{{cold|}}}{{{fire|}}}{{{lightning|}}}{{{necrotic|}}}{{{poison|}}}{{{psychic|}}}{{{radiant|}}}{{{thunder|}}}|{{!}}-
{{!}} colspan="2" align="center" style="font-size: 110%; background: #281C14; color: #C1A886;"  {{!}} '''Resistances'''}}
{{!}} colspan="2" align="center" style="font-size: 110%; background: #281C14; color: #C1A886;"  {{!}} '''Resistances'''}}
|-
{{!}}-
{{#if:{{{bludgeoning|}}}|{{!}}-
{{!}} colspan="2" align="center" {{!}} {{#if:{{{Slashing|}}}|{{Resistance|Slashing|{{{slashing|resistant}}}}}}}{{#if:{{{piercing|}}}|{{Resistance|Piercing|{{{piercing|resistant}}}}}}}{{#if:{{{bludgeoning|}}}|{{Resistance|Bludgeoning|{{{bludgeoning|resistant}}}}}}}{{#if:{{{acid|}}}|{{Resistance|Acid|{{{acid|resistant}}}}}}}{{#if:{{{thunder|}}}|{{Resistance|Thunder|{{{thunder|resistant}}}}}}}{{#if:{{{necrotic|}}}|{{Resistance|Necrotic|{{{necrotic|resistant}}}}}}}{{#if:{{{fire|}}}|{{Resistance|Fire|{{{fire|resistant}}}}}}}{{#if:{{{lightning|}}}|{{Resistance|Lightning|{{{lightning|resistant}}}}}}}{{#if:{{{cold|}}}|{{Resistance|Cold|{{{cold|resistant}}}}}}}{{#if:{{{psychic|}}}|{{Resistance|Psychic|{{{psychic|resistant}}}}}}}{{#if:{{{poison|}}}|{{Resistance|Poison|{{{poison|resistant}}}}}}}{{#if:{{{radiant|}}}|{{Resistance|Radiant|{{{radiant|resistant}}}}}}}{{#if:{{{force|}}}|{{Resistance|Force|{{{force|resistant}}}}}}}
{{!}} style="padding-left: 8px;" {{!}} {{DamageType|Bludgeoning}}
{{!}} {{{bludgeoning}}}
{{!}}-|}}
{{#if:{{{piercing|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} {{DamageType|Piercing}}
{{!}} {{{piercing}}}
{{!}}-|}}
{{#if:{{{slashing|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} {{DamageType|Slashing}}
{{!}} {{{slashing}}}
{{!}}-|}}
{{#if:{{{acid|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} {{DamageType|Acid}}
{{!}} {{{acid}}}
{{!}}-|}}
{{#if:{{{cold|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} {{DamageType|Cold}}
{{!}} {{{cold}}}
{{!}}-|}}
{{#if:{{{fire|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} {{DamageType|Fire}}
{{!}} {{{fire}}}
{{!}}-|}}
{{#if:{{{force|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} {{DamageType|Force}}
{{!}} {{{force}}}
{{!}}-|}}
{{#if:{{{lightning|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} {{DamageType|Lightning}}
{{!}} {{{lightning}}}
{{!}}-|}}
{{#if:{{{necrotic|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} {{DamageType|Necrotic}}
{{!}} {{{necrotic}}}
{{!}}-|}}
{{#if:{{{poison|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} {{DamageType|Poison}}
{{!}} {{{poison}}}
{{!}}-|}}
{{#if:{{{psychic|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} {{DamageType|Psychic}}
{{!}} {{{psychic}}}
{{!}}-|}}
{{#if:{{{radiant|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} {{DamageType|Radiant}}
{{!}} {{{radiant}}}
{{!}}-|}}
{{#if:{{{thunder|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} {{DamageType|Thunder}}
{{!}} {{{thunder}}}
{{!}}-|}}


{{#if:{{{class|}}}{{{background|}}}{{{location|}}}{{{faction|}}}{{{family|}}}{{{allies|}}}{{{enemies|}}} | {{!}}-
{{#if:{{{class|}}}{{{background|}}}{{{location|}}}{{{faction|}}}{{{family|}}}{{{allies|}}}{{{enemies|}}} | {{!}}-
Line 221: Line 171:
|allies = [[Astarion]]
|allies = [[Astarion]]
|enemies = [[Shadowheart]], [[Wyll]]
|enemies = [[Shadowheart]], [[Wyll]]
|bludgeoning = Resistant
|bludgeoning = resistant
|psychic = Vulnerable
|psychic = Vulnerable
|poison = Immune
|poison = Immune
Line 266: Line 216:
|allies = [[Astarion]]
|allies = [[Astarion]]
|enemies = [[Shadowheart]], [[Wyll]]
|enemies = [[Shadowheart]], [[Wyll]]
|bludgeoning = Resistant
|bludgeoning = resistant
|psychic = Vulnerable
|psychic = Vulnerable
|poison = Immune
|poison = Immune

Revision as of 20:26, 22 August 2023

Archduke
Noober
Astarion-promotional.webp
Stats
Level 3

STR

15
(+2)

DEX

8
(-1)

CON

11

INT

9
(-1)

WIS

18
(+4)

CHA

10
Bg3 content hr.png
Creature Race Icon.png  Race Skeleton
Creature Type Icon.png  Type Undead
HP Icon.png  HP 28
Creature AC Icon.png  AC 15
Creature Speed Icon.png  Movement Speed 10m / 30ft
Creature Size Icon.png  Size Medium
Weight Icon.png  Weight 20kg / 40lbs
Proficiency Icon.png  Proficiency Bonus +2
Initiative Icon.png  Initiative -1
Passive features
Darkvision (Passive Feature) Darkvision

Vampire Spawn

Resistances
Resistant to Non-Magical BludgeoningVulnerable to PsychicImmune to all Poison
Character information
Class Barbarian Barbarian
Background Acolyte
Location Netheril
Faction Tiefling Refugees
Family Halsin (partner)
Allies Astarion
Enemies Shadowheart, Wyll
True form
Astarionheadshot.jpg

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
|str save=
|dex save=yes
|con save=
|int save=yes
|wis save=
|cha save=
|level=3
|race=Skeleton
|type=Undead
|HP=28
|AC=15
|speed=10m / 30ft
|size=Medium
|weight=20kg / 40lbs
|proficiency=2
|initiative=-1
|passive =[[File:Darkvision Icon.png|frameless|upright=0.1|link=Darkvision (Passive Feature)]] [[Darkvision_(Passive_Feature)|Darkvision]]
Vampire Spawn
|class = Barbarian
|background = Acolyte
|location = Netheril
|faction = [[Tiefling Refugees]]
|family = [[Halsin]] (partner)
|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 =
|str save =
|dex save =
|con save =
|int save =
|wis save =
|cha save =
|level =
|race =
|type =
|HP =
|AC =
|speed =
|size =
|weight =
|proficiency =
|initiative =
|passive =
|bludgeoning = 
|piercing =
|slashing =
|acid =
|cold =
|fire =
|force =
|lightning =
|necrotic =
|poison =
|psychic = 
|radiant =
|thunder =
|class = 
|background=
|location = 
|faction =
|family = 
|allies = 
|enemies = 
|alt-name = 
|alt-image = [[File:|350px]]
}}