Template:Character info: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
(Add passive features, detach non-attribute stats from AttributeBlock; remove unused alignment stat; design updates)
Line 1: Line 1:
<includeonly>{| class="infobox"; style="margin-left: 10px; width: 350px; text-align: left; font-size: 90%; float: right; border: 1px solid #785000; background-color: #1B1B1B; color: #C1A886; margin-bottom: 0px; padding:0.25em 0.33em 0.33em;" cellspacing="0" cellpadding="4"
<includeonly>{| class="infobox"; style="margin-left: 16px; width: 350px; text-align: left; font-size: 90%; float: right; background-color: #1B1B1B; color: #C1A886; margin-bottom: 0px; padding-top: 0.25em; border-radius: 8px;" cellspacing="0" cellpadding="4"


{{#if:{{{title|}}}|{{!}}-
{{#if:{{{title|}}}|
{{!}}-
{{!}} colspan="2" align="center" {{!}} {{{title|}}}
{{!}} colspan="2" align="center" {{!}} {{{title|}}}
}}
}}
|-
|-
! colspan="2" align="center" style="font-size: 130%; background: #281C14; color: #C1A886;" | {{{name}}}
! colspan="2" align="center" style="font-size: 130%; background: #281C14; color: #C1A886;" | {{{name}}}
|-
 
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
{{!}} colspan="2" align="center" style="padding:0.5em 0;" {{!}} {{{image}}}{{ #if: {{{imagename|}}} | <br />{{{imagename}}} }}
{{!}}-
{{!}} colspan="2" align="center" {{!}} {{{image}}} {{ #if:{{{imagename|}}}|<br>{{{imagename}}} }}
}}
}}
{{#if:{{{STR|}}}{{{level|}}}{{{race|}}}{{{type|}}}{{{HP|}}}{{{AC|}}}{{{speed|}}}{{{size|}}}{{{weight|}}}{{{proficiency|}}}{{{initiative|}}}|{{!}}-
{{#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:{{{level|}}}|
{{!}}-
{{!}} colspan="2" align="center" style="font-weight: bold; padding:0.5em 0;" {{!}} Level {{{level}}}
}}
 
{{#if:{{{STR|}}}|
{{#if:{{{STR|}}}|
{{!}}-
{{!}} colspan="2" align="center" style="padding:0.5em 0;" {{!}} {{AttributeBlock
{{!}} colspan="2" align="center" style="padding:0.5em 0;" {{!}} {{AttributeBlock
|{{{STR}}}
|{{{STR}}}
Line 21: Line 31:
|{{{WIS}}}
|{{{WIS}}}
|{{{CHA}}}
|{{{CHA}}}
|level={{{level}}}
|race={{{race}}}
|type={{{type}}}
|hp={{{HP}}}
|ac={{{AC}}}
|ms={{{speed}}}
|size={{{size}}}
|weight={{{weight}}}
|prof={{{proficiency}}}
|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|}}} | {{!}}-
! colspan="2" align="center" style="font-size: 110%;background: #281C14; color: #C1A886;"  {{!}} '''Character information'''
}}
}}
|-
 
{{#if:{{{class|}}}|{{!}}-
{{#if:{{{race|}}}{{{type|}}}{{{HP|}}}{{{AC|}}}{{{speed|}}}{{{size|}}}{{{weight|}}}{{{proficiency|}}}{{{initiative|}}}|
{{!}} Class
{{!}}-
{{!}} {{{class|}}}
{{!}} colspan="2" align="center" {{!}} {{HorizontalRuleImage|350}}
}}
 
{{#if:{{{race|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} [[File:Creature Race Icon.png|24px|link=Races]]&nbsp;&nbsp;Race
{{!}} {{{race|}}}
{{!}}-|}}
{{#if:{{{type|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} [[File:Creature Type Icon.png|24px|link=List of Creature Types]]&nbsp;&nbsp;Type
{{!}} {{{type|}}}
{{!}}-|}}
{{!}}-|}}
{{#if:{{{subclass|}}}|{{!}}-
{{#if:{{{HP|}}}|{{!}}-
{{!}} Subclass
{{!}} style="padding-left: 8px;" {{!}} [[File:HP Icon.png|24px|link=Hit Points]]&nbsp;&nbsp;HP
{{!}} {{{subclass|}}}
{{!}} {{{HP|}}}
{{!}}-|}}
{{!}}-|}}
{{#if:{{{alignment|}}}|{{!}}-
{{#if:{{{AC|}}}|{{!}}-
{{!}} Alignment
{{!}} style="padding-left: 8px;" {{!}} [[File:Creature AC Icon.png|24px|link=Armour Class]]&nbsp;&nbsp;AC
{{!}} {{{alignment|}}}
{{!}} {{{AC|}}}
{{!}}-|}}
{{!}}-|}}
{{#if:{{{background|}}}|{{!}}-
{{#if:{{{speed|}}}|{{!}}-
{{!}} Background
{{!}} style="padding-left: 8px;" {{!}} [[File:Creature Speed Icon.png|24px|link=Movement Speed]]&nbsp;&nbsp;Movement Speed
{{!}} {{{background|}}}
{{!}} {{{speed|}}}
{{!}}-|}}
{{!}}-|}}
{{#if:{{{location|}}}|{{!}}-
{{#if:{{{size|}}}|{{!}}-
{{!}} Location
{{!}} style="padding-left: 8px;" {{!}} [[File:Creature Size Icon.png|24px|link=Creature Size]]&nbsp;&nbsp;Size
{{!}} {{{location|}}}
{{!}} {{{size|}}}
{{!}}-|}}
{{!}}-|}}
{{#if:{{{family|}}}|{{!}}-
{{#if:{{{weight|}}}|{{!}}-
{{!}} Family
{{!}} style="padding-left: 8px;" {{!}} [[File:Weight Icon.png|24px|link=]]&nbsp;&nbsp;Weight
{{!}} {{{family|}}}
{{!}} {{{weight|}}}
{{!}}-|}}
{{!}}-|}}
{{#if:{{{allies|}}}|{{!}}-
{{#if:{{{proficiency|}}}|{{!}}-
{{!}} Allies
{{!}} style="padding-left: 8px;" {{!}} [[File:Proficiency Icon.png|24px|link=Proficiency]]&nbsp;&nbsp;Proficiency
{{!}} {{{allies|}}}
{{!}} {{{proficiency|}}}
{{!}}-|}}
{{!}}-|}}
{{#if:{{{enemies|}}}|{{!}}-
{{#if:{{{initiative|}}}|{{!}}-
{{!}} Enemies
{{!}} style="padding-left: 8px;" {{!}} [[File:Initiative Icon.png|24px|link=Initiative]]&nbsp;&nbsp;Initiative
{{!}} {{{enemies|}}}
{{!}} {{{initiative|}}}
{{!}}-|}}
{{!}}-|}}
{{#if:{{{passive|}}}|
{{!}} colspan="2" align="center" {{!}} {{HorizontalRuleImage|350}}
{{!}}-
{{!}} style="padding-left: 38px;" {{!}} Passive features
{{!}} {{{passive|}}}
}}


{{#if:{{{bludgeoning|}}}{{{piercing|}}}{{{slashing|}}}{{{acid|}}}{{{cold|}}}{{{fire|}}}{{{lightning|}}}{{{necrotic|}}}{{{poison|}}}{{{psychic|}}}{{{radiant|}}}{{{thunder|}}}|{{!}}-
{{#if:{{{bludgeoning|}}}{{{piercing|}}}{{{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|}}}|{{!}}-
{{#if:{{{bludgeoning|}}}|{{!}}-
{{!}} {{DamageType|Bludgeoning}}
{{!}} style="padding-left: 8px;" {{!}} {{DamageType|Bludgeoning}}
{{!}} {{{bludgeoning}}}
{{!}} {{{bludgeoning}}}
{{!}}-|}}
{{!}}-|}}
{{#if:{{{piercing|}}}|{{!}}-
{{#if:{{{piercing|}}}|{{!}}-
{{!}} {{DamageType|Piercing}}
{{!}} style="padding-left: 8px;" {{!}} {{DamageType|Piercing}}
{{!}} {{{piercing}}}
{{!}} {{{piercing}}}
{{!}}-|}}
{{!}}-|}}
{{#if:{{{slashing|}}}|{{!}}-
{{#if:{{{slashing|}}}|{{!}}-
{{!}} {{DamageType|Slashing}}
{{!}} style="padding-left: 8px;" {{!}} {{DamageType|Slashing}}
{{!}} {{{slashing}}}
{{!}} {{{slashing}}}
{{!}}-|}}
{{!}}-|}}
{{#if:{{{acid|}}}|{{!}}-
{{#if:{{{acid|}}}|{{!}}-
{{!}} {{DamageType|Acid}}
{{!}} style="padding-left: 8px;" {{!}} {{DamageType|Acid}}
{{!}} {{{acid}}}
{{!}} {{{acid}}}
{{!}}-|}}
{{!}}-|}}
{{#if:{{{cold|}}}|{{!}}-
{{#if:{{{cold|}}}|{{!}}-
{{!}} {{DamageType|Cold}}
{{!}} style="padding-left: 8px;" {{!}} {{DamageType|Cold}}
{{!}} {{{cold}}}
{{!}} {{{cold}}}
{{!}}-|}}
{{!}}-|}}
{{#if:{{{fire|}}}|{{!}}-
{{#if:{{{fire|}}}|{{!}}-
{{!}} {{DamageType|Fire}}
{{!}} style="padding-left: 8px;" {{!}} {{DamageType|Fire}}
{{!}} {{{fire}}}
{{!}} {{{fire}}}
{{!}}-|}}
{{!}}-|}}
{{#if:{{{force|}}}|{{!}}-
{{#if:{{{force|}}}|{{!}}-
{{!}} {{DamageType|Force}}
{{!}} style="padding-left: 8px;" {{!}} {{DamageType|Force}}
{{!}} {{{force}}}
{{!}} {{{force}}}
{{!}}-|}}
{{!}}-|}}
{{#if:{{{lightning|}}}|{{!}}-
{{#if:{{{lightning|}}}|{{!}}-
{{!}} {{DamageType|Lightning}}
{{!}} style="padding-left: 8px;" {{!}} {{DamageType|Lightning}}
{{!}} {{{lightning}}}
{{!}} {{{lightning}}}
{{!}}-|}}
{{!}}-|}}
{{#if:{{{necrotic|}}}|{{!}}-
{{#if:{{{necrotic|}}}|{{!}}-
{{!}} {{DamageType|Necrotic}}
{{!}} style="padding-left: 8px;" {{!}} {{DamageType|Necrotic}}
{{!}} {{{necrotic}}}
{{!}} {{{necrotic}}}
{{!}}-|}}
{{!}}-|}}
{{#if:{{{poison|}}}|{{!}}-
{{#if:{{{poison|}}}|{{!}}-
{{!}} {{DamageType|Poison}}
{{!}} style="padding-left: 8px;" {{!}} {{DamageType|Poison}}
{{!}} {{{poison}}}
{{!}} {{{poison}}}
{{!}}-|}}
{{!}}-|}}
{{#if:{{{psychic|}}}|{{!}}-
{{#if:{{{psychic|}}}|{{!}}-
{{!}} {{DamageType|Psychic}}
{{!}} style="padding-left: 8px;" {{!}} {{DamageType|Psychic}}
{{!}} {{{psychic}}}
{{!}} {{{psychic}}}
{{!}}-|}}
{{!}}-|}}
{{#if:{{{radiant|}}}|{{!}}-
{{#if:{{{radiant|}}}|{{!}}-
{{!}} {{DamageType|Radiant}}
{{!}} style="padding-left: 8px;" {{!}} {{DamageType|Radiant}}
{{!}} {{{radiant}}}
{{!}} {{{radiant}}}
{{!}}-|}}
{{!}}-|}}
{{#if:{{{thunder|}}}|{{!}}-
{{#if:{{{thunder|}}}|{{!}}-
{{!}} {{DamageType|Thunder}}
{{!}} style="padding-left: 8px;" {{!}} {{DamageType|Thunder}}
{{!}} {{{thunder}}}
{{!}} {{{thunder}}}
{{!}}-|}}
{{!}}-|}}
{{#if:{{{class|}}}{{{background|}}}{{{enemies|}}}{{{location|}}}{{{allies|}}} | {{!}}-
! colspan="2" align="center" style="font-size: 110%;background: #281C14; color: #C1A886;"  {{!}} '''Character information'''
}}
|-
{{#if:{{{class|}}}|{{!}}-
{{!}} style="padding-left: 38px;" {{!}} Class
{{!}} {{{class|}}}
{{!}}-|}}
{{#if:{{{subclass|}}}|{{!}}-
{{!}} style="padding-left: 38px;" {{!}} Subclass
{{!}} {{{subclass|}}}
{{!}}-|}}
{{#if:{{{background|}}}|{{!}}-
{{!}} style="padding-left: 38px;" {{!}} Background
{{!}} {{{background|}}}
{{!}}-|}}
{{#if:{{{location|}}}|{{!}}-
{{!}} style="padding-left: 38px;" {{!}} Location
{{!}} {{{location|}}}
{{!}}-|}}
{{#if:{{{family|}}}|{{!}}-
{{!}} style="padding-left: 38px;" {{!}} Family
{{!}} {{{family|}}}
{{!}}-|}}
{{#if:{{{allies|}}}|{{!}}-
{{!}} style="padding-left: 38px;" {{!}} Allies
{{!}} {{{allies|}}}
{{!}}-|}}
{{#if:{{{enemies|}}}|{{!}}-
{{!}} style="padding-left: 38px;" {{!}} Enemies
{{!}} {{{enemies|}}}
{{!}}-|}}
|-
|-
{{#if:{{{alt-name|}}}|{{!}}-
{{#if:{{{alt-name|}}}|{{!}}-
Line 142: Line 179:
{{!}} colspan="2" align="center" style="padding:0.5em 0;" {{!}} {{{alt-image}}}{{ #if: {{{alt-imageimagename|}}} | <br />{{{alt-imagename}}} }}
{{!}} colspan="2" align="center" style="padding:0.5em 0;" {{!}} {{{alt-image}}}{{ #if: {{{alt-imageimagename|}}} | <br />{{{alt-imagename}}} }}
}}
}}
|}<div class="mobileonly" style="clear: both;"></div>
|}<div class="mobileonly" style="clear: both;"></div></includeonly>
</includeonly>
 
<noinclude>
<noinclude>
[[Category:Templates]]
[[Category:Templates]]
Line 166: Line 203:
|proficiency=2
|proficiency=2
|initiative=-1
|initiative=-1
|passive =[[File:Darkvision Icon.png|frameless|upright=0.1|link=Darkvision (Passive Feature)]] [[Darkvision_(Passive_Feature)|Darkvision]]
Vampire Spawn
|class = [[Barbarian]]
|class = [[Barbarian]]
|subclass = Domain of Barbarism
|subclass = Domain of Barbarism
|alignment = Chaotic Stupid
|background= [[Acolyte]]
|background= [[Acolyte]]
|location = Netheril
|location = Netheril
Line 204: Line 242:
|proficiency=2
|proficiency=2
|initiative=-1
|initiative=-1
|passive =[[File:Darkvision Icon.png|frameless|upright=0.1|link=Darkvision (Passive Feature)]] [[Darkvision_(Passive_Feature)|Darkvision]]
Vampire Spawn
|class = [[Barbarian]]
|class = [[Barbarian]]
|subclass = Domain of Barbarism
|subclass = Domain of Barbarism
Line 224: Line 264:
|title =
|title =
|name =  
|name =  
|image=[[File:|350px]]
|image = [[File:|350px]]
|STR=
|STR =
|DEX=
|DEX =
|CON=
|CON =
|INT=
|INT =
|WIS=
|WIS =
|CHA=
|CHA =
|level=
|level =
|race=
|race =
|type=
|type =
|HP=
|HP =
|AC=
|AC =
|speed=
|speed =
|size=
|size =
|weight=
|weight =
|proficiency=
|proficiency =
|initiative=
|initiative =
|passive =
|class =  
|class =  
|subclass =  
|subclass =  

Revision as of 17:03, 18 July 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 2
Initiative Icon.png  Initiative -1
Bg3 content hr.png
Passive features Darkvision Icon.png Darkvision

Vampire Spawn

Resistances
Damage TypesBludgeoning Resistant
Damage TypesPoison Immune
Damage TypesPsychic Vulnerable
Character information
Class Barbarian
Subclass Domain of Barbarism
Background Acolyte
Location Netheril
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
|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]]
|subclass = Domain of Barbarism
|background= [[Acolyte]]
|location = Netheril
|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 =
|level =
|race =
|type =
|HP =
|AC =
|speed =
|size =
|weight =
|proficiency =
|initiative =
|passive =
|class = 
|subclass = 
|background= 
|location = 
|family = 
|allies = 
|enemies = 
|alt-name = 
|alt-image = [[File:|350px]]
}}