User:NamelessWonder/Sandbox/Template:CharacterInfo: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
(Created page with "<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;" cellspacing="0" cellpadding="2" {{#if:{{{title|}}}| {{!}}- {{!}} colspan="2" align="center" style="padding-top:0.25em;" {{!}} {{{title|}}} }} |- ! colspan="2" align="center" style="font-size: 130%; background: #281C14; color: #C1A886;" | {{{name}}} {{#if:{{{image|}}}| {{!}}- {{!}} colspa...")
 
No edit summary
Line 1: Line 1:
<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;" cellspacing="0" cellpadding="2"
{{#if:{{{title|}}}|
{{!}}-
{{!}} colspan="2" align="center" style="padding-top:0.25em;" {{!}} {{{title|}}}
}}
|-
! colspan="2" align="center" style="font-size: 130%; background: #281C14; color: #C1A886;" | {{{name}}}
{{#if:{{{image|}}}|
{{!}}-
{{!}} colspan="2" align="center" style="padding: 0px;" {{!}} {{{image}}} {{ #if:{{{imagename|}}}|<br>{{{imagename}}} }}
}}
{{#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'''
}}
{{#if:{{{level|}}}|
{{!}}-
{{!}} colspan="2" align="center" style="font-weight: bold; padding:0.5em 0;" {{!}} Level {{{level}}}
}}
{{#if:{{{STR|}}}|
{{!}}-
{{!}} colspan="2" align="center" style="padding: 0;" {{!}} {{AttributeBlock
|{{{STR}}}
|{{{DEX}}}
|{{{CON}}}
|{{{INT}}}
|{{{WIS}}}
|{{{CHA}}}
}}
}}
{{#if:{{{race|}}}{{{type|}}}{{{HP|}}}{{{AC|}}}{{{speed|}}}{{{size|}}}{{{weight|}}}{{{proficiency|}}}{{{initiative|}}}|
{{!}}-
{{!}} colspan="2" align="center" {{!}} {{HorizontalRuleImage|350}}
}}
{{#if:{{{race|}}}|{{!}}-
{{!}} style="padding-left: 8px; width: 50%;" {{!}} [[File:Creature Race Icon.png|24px|link=Races]]&nbsp;&nbsp;Race
{{!}} style="width: 50%;" {{!}} {{{race|}}}
{{!}}-|}}
{{#if:{{{type|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} [[File:Creature Type Icon.png|24px|link=List of Creature Types]]&nbsp;&nbsp;Type
{{!}} {{{type|}}}
{{!}}-|}}
{{#if:{{{HP|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} [[File:HP Icon.png|24px|link=Hit Points]]&nbsp;&nbsp;HP
{{!}} {{{HP|}}}
{{!}}-|}}
{{#if:{{{AC|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} [[File:Creature AC Icon.png|24px|link=Armour Class]]&nbsp;&nbsp;AC
{{!}} {{{AC|}}}
{{!}}-|}}
{{#if:{{{speed|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} [[File:Creature Speed Icon.png|24px|link=Movement Speed]]&nbsp;&nbsp;Movement Speed
{{!}} {{{speed|}}}
{{!}}-|}}
{{#if:{{{size|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} [[File:Creature Size Icon.png|24px|link=Creature Size]]&nbsp;&nbsp;Size
{{!}} {{{size|}}}
{{!}}-|}}
{{#if:{{{weight|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} [[File:Weight Icon.png|24px|link=]]&nbsp;&nbsp;Weight
{{!}} {{{weight|}}}
{{!}}-|}}
{{#if:{{{proficiency|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} [[File:Proficiency Icon.png|24px|link=Proficiency]]&nbsp;&nbsp;Proficiency Bonus
{{!}} +{{{proficiency|}}}
{{!}}-|}}
{{#if:{{{initiative|}}}|{{!}}-
{{!}} style="padding-left: 8px;" {{!}} [[File:Initiative Icon.png|24px|link=Initiative]]&nbsp;&nbsp;Initiative
{{!}} {{{initiative|}}}
{{!}}-|}}
<!-- passives -->
{{#if:{{{passive|}}}|
{{!}} colspan="2" align="center" style="font-size: 110%; background: #281C14; color: #C1A886;"  {{!}} '''Passive Features'''
{{!}}-
{{!}} colspan="2" style="padding-left: 38px; padding-right: 38px;" {{!}} {{{passive|}}}|
<!-- passive1 alternative-->
{{#if:{{{passive1|}}}|
{{!}} colspan="2" align="center" style="font-size: 110%; background: #281C14; color: #C1A886;"  {{!}} '''Passive Features'''
{{!}}-
{{!}} colspan="2" style="padding-left: {{#switch: {{{passive1img|}}} | none=39px | #default = {{#if:{{{passive1img|}}}|8px|{{#ifexist: File:{{{passive1}}} Icon.png|8px|39px}}}}}};" {{!}} {{#switch: {{{passive1img|}}} | none=<!--blank--> | #default = {{#if:{{{passive1img|}}} | {{Icon|{{{passive1img}}}|24}}&nbsp; | {{#ifexist: File:{{{passive1}}} Icon.png |{{Icon|{{{passive1}}} Icon.png|24}}&nbsp;}}}}}} [[{{{passive1link|{{#ifexist: {{{passive1}}} (Passive Feature) | {{{passive1}}} (Passive Feature) | {{{passive1}}} }}}}}|{{{passive1}}}]]|}}
{{#if:{{{passive2|}}}|
{{!}}-
{{!}} colspan="2" style="padding-left: {{#switch: {{{passive2img|}}} | none=39px | #default = {{#if:{{{passive2img|}}}|8px|{{#ifexist: File:{{{passive2}}} Icon.png|8px|40px}}}}}};" {{!}} {{#switch: {{{passive2img|}}} | none=<!--blank--> | #default = {{#if:{{{passive2img|}}} | {{Icon|{{{passive2img}}}|24}}&nbsp; | {{#ifexist: File:{{{passive2}}} Icon.png |{{Icon|{{{passive2}}} Icon.png|24}}&nbsp;}}}}}} [[{{{passive2link|{{#ifexist: {{{passive2}}} (Passive Feature) | {{{passive2}}} (Passive Feature) | {{{passive2}}} }}}}}|{{{passive2}}}]]|
}}
{{#if:{{{passive3|}}}|
{{!}}-
{{!}} colspan="2" style="padding-left: {{#switch: {{{passive3img|}}} | none=39px | #default = {{#if:{{{passive3img|}}}|8px|{{#ifexist: File:{{{passive3}}} Icon.png|8px|40px}}}}}};" {{!}} {{#switch: {{{passive3img|}}} | none=<!--blank--> | #default = {{#if:{{{passive3img|}}} | {{Icon|{{{passive3img}}}|24}}&nbsp; | {{#ifexist: File:{{{passive3}}} Icon.png |{{Icon|{{{passive3}}} Icon.png|24}}&nbsp;}}}}}} [[{{{passive3link|{{#ifexist: {{{passive3}}} (Passive Feature) | {{{passive3}}} (Passive Feature) | {{{passive3}}} }}}}}|{{{passive3}}}]]|
}}
{{#if:{{{passive4|}}}|
{{!}}-
{{!}} colspan="2" style="padding-left: {{#switch: {{{passive4img|}}} | none=39px | #default = {{#if:{{{passive4img|}}}|8px|{{#ifexist: File:{{{passive4}}} Icon.png|8px|40px}}}}}};" {{!}} {{#switch: {{{passive4img|}}} | none=<!--blank--> | #default = {{#if:{{{passive4img|}}} | {{Icon|{{{passive4img}}}|24}}&nbsp; | {{#ifexist: File:{{{passive4}}} Icon.png |{{Icon|{{{passive4}}} Icon.png|24}}&nbsp;}}}}}} [[{{{passive4link|{{#ifexist: {{{passive4}}} (Passive Feature) | {{{passive4}}} (Passive Feature) | {{{passive4}}} }}}}}|{{{passive4}}}]]|
}}
{{#if:{{{passive5|}}}|
{{!}}-
{{!}} colspan="2" style="padding-left: {{#switch: {{{passive5img|}}} | none=39px | #default = {{#if:{{{passive5img|}}}|8px|{{#ifexist: File:{{{passive5}}} Icon.png|8px|40px}}}}}};" {{!}} {{#switch: {{{passive5img|}}} | none=<!--blank--> | #default = {{#if:{{{passive5img|}}} | {{Icon|{{{passive5img}}}|24}}&nbsp; | {{#ifexist: File:{{{passive5}}} Icon.png |{{Icon|{{{passive5}}} Icon.png|24}}&nbsp;}}}}}} [[{{{passive5link|{{#ifexist: {{{passive5}}} (Passive Feature) | {{{passive5}}} (Passive Feature) | {{{passive5}}} }}}}}|{{{passive5}}}]]|
}}
}}
<!-- resistances -->
{{#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'''}}
|-
{{#if:{{{bludgeoning|}}}|{{!}}-
{{!}} 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|}}}{{{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| {{{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|}}}|{{!}}-
! colspan="2" align="center" style="font-size: 110%; background: #281C14; color: #C1A886;"  {{!}} '''{{{alt-name}}}'''}}
|-
{{#if:{{{alt-image|}}}|
{{!}} colspan="2" align="center" style="padding: 0;" {{!}} {{{alt-image}}}{{ #if: {{{alt-imageimagename|}}} | <br />{{{alt-imagename}}} }}
}}
|}<div class="mobileonly" style="clear: both;"></div></includeonly>
<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;" cellspacing="0" cellpadding="2"
<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;" cellspacing="0" cellpadding="2"



Revision as of 22:18, 21 July 2023