Template:Infobox creature/internal: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
No edit summary
(Rename "initiative" to "init bonus" to be in line with "prof bonus".)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><infobox>
<includeonly><infobox type="creature">
<title source="name"></title>
<title source="name"></title>
<data source="title"></data>
<data source="title"></data>
<image source="image"></image>
<image source="image"></image>
<data source="role">
<data source="full name">
   <label>Role</label>
   <label>Full Name</label>
</data>
</data>
<data source="va">
<data source="va">
   <label>Voiced by</label>
   <label>Voiced by</label>
</data>
</data>
<data source="race">
<data source="role">
   <label>Race</label>
   <label>Role</label>
</data>
<data source="class">
  <label>Class</label>
</data>
<data source="background">
  <label>Background</label>
</data>
<data source="hometown">
  <label>Hometown</label>
</data>
</data>
<data source="faction">
<data source="faction">
Line 27: Line 18:
   <label>Family</label>
   <label>Family</label>
</data>
</data>
<data source="hometown">
  <label>Hometown</label>
</data>
<group>
  <header>Stats</header>
  <data source="size">
    <label>Size</label>
  </data>
  <data source="type">
    <label>Type</label>
  </data>
  <data source="race">
    <label>Race</label>
  </data>
  <data source="class">
    <label>Class</label>
  </data>
  <data source="background">
    <label>Background</label>
  </data>
</group>
<panel>
<panel>
   <section>
   <section>
     <label>Balanced</label>
     <label>Balanced</label>
     <group>
     <group>
       <header>Balanced and Explorer stats</header>
       <header>Balanced Difficulty Stats</header>
       <data source="level">
       <data source="level">
         <label>Level</label>
         <label>Level</label>
      </data>
      <data source="size">
        <label>Size</label>
      </data>
      <data source="type">
        <label>Type</label>
       </data>
       </data>
       <data source="hp">
       <data source="hp">
Line 47: Line 53:
         <label>AC</label>
         <label>AC</label>
       </data>
       </data>
       <data source="initiative">
       <data source="init bonus">
         <label>Initiative</label>
         <label>Initiative</label>
       </data>
       </data>
Line 120: Line 126:
       <group>
       <group>
         <header>Resistances <sup>[[Resistances|(info)]]</sup></header>
         <header>Resistances <sup>[[Resistances|(info)]]</sup></header>
         <data source="resistances" name="bg3wiki-resistances">
         <data source="resistances" name="resistances">
           <format>{{#invoke: ParseList | main | {{{resistances}}} | useTemplate = Parse resistance | style = htmlList }}</format>
           <format>{{#invoke: ParseList | main | {{{resistances}}} | useTemplate = Parse resistance | style = htmlList }}</format>
        </data>
      </group>
      <group>
        <header>Actions</header>
        <data source="actions" name="actions">
          <format>{{#invoke:
            ParseList | main | {{{actions}}}
            | useTemplate = Infobox creature/actions query
            | style = htmlListNoBullets
          }}</format>
        </data>
      </group>
      <group>
        <header>Conditions</header>
        <data source="conditions" name="conditions">
          <format>{{#invoke:
            ParseList | main | {{{conditions}}}
            | useTemplate = Infobox creature/conditions query
            | style = htmlListNoBullets
          }}</format>
        </data>
      </group>
      <group>
        <header>Features</header>
        <data source="passives" name="passives">
          <format>{{#invoke:
            ParseList | main | {{{passives}}}
            | useTemplate = Infobox creature/passives parser
            | style = htmlListNoBullets
          }}</format>
        </data>
      </group>
    </group>
  </section>
  <section>
    <label>Explorer</label>
    <group>
      <header>Explorer Difficulty Stats</header>
      <data source="e level">
        <label>Level</label>
      </data>
      <data source="e hp">
        <label>HP</label>
      </data>
      <data source="e ac">
        <label>AC</label>
      </data>
      <data source="e init bonus">
        <label>Initiative</label>
      </data>
      <data source="e prof bonus">
        <label>Proficiency</label>
      </data>
      <data source="e movement m">
        <label>Movement</label>
        <format>{{{e movement m|0}}}&#8239;m ({{{e movement ft|0}}}&#8239;ft)</format>
      </data>
      <data source="e weight kg">
        <label>Weight</label>
        <format>{{{e weight kg|0}}}&#8239;kg ({{{e weight lb|0}}}&#8239;lb)</format>
      </data>
      <group layout="horizontal">
        <header>Ability scores</header>
        <data source="e str">
          <label>STR</label>
          <format>{{{e str}}}<br/>({{{e str mod}}})</format>
        </data>
        <data source="e dex">
          <label>DEX</label>
          <format>{{{e dex}}}<br/>({{{e dex mod}}})</format>
        </data>
        <data source="e con">
          <label>CON</label>
          <format>{{{e con}}}<br/>({{{e con mod}}})</format>
        </data>
        <data source="e int">
          <label>INT</label>
          <format>{{{e int}}}<br/>({{{e int mod}}})</format>
        </data>
        <data source="e wis">
          <label>WIS</label>
          <format>{{{e wis}}}<br/>({{{e wis mod}}})</format>
        </data>
        <data source="e cha">
          <label>CHA</label>
          <format>{{{e cha}}}<br/>({{{e cha mod}}})</format>
        </data>
      </group>
      <group layout="horizontal">
        <header>Saving throws</header>
        <data source="e str">
          <label>{{#if: {{{e str save prof|}}} | '''STR''' | STR }}</label>
          <format>{{#if: {{{e str save prof|}}} | '''{{{e str save}}}''' | {{{e str save}}} }}</format>
        </data>
        <data source="e dex">
          <label>{{#if: {{{e dex save prof|}}} | '''DEX''' | DEX }}</label>
          <format>{{#if: {{{e dex save prof|}}} | '''{{{e dex save}}}''' | {{{e dex save}}} }}</format>
        </data>
        <data source="e con">
          <label>{{#if: {{{e con save prof|}}} | '''CON''' | CON }}</label>
          <format>{{#if: {{{e con save prof|}}} | '''{{{e con save}}}''' | {{{e con save}}} }}</format>
        </data>
        <data source="e int">
          <label>{{#if: {{{e int save prof|}}} | '''INT''' | INT }}</label>
          <format>{{#if: {{{e int save prof|}}} | '''{{{e int save}}}''' | {{{e int save}}} }}</format>
        </data>
        <data source="e wis">
          <label>{{#if: {{{e wis save prof|}}} | '''WIS''' | WIS }}</label>
          <format>{{#if: {{{e wis save prof|}}} | '''{{{e wis save}}}''' | {{{e wis save}}} }}</format>
        </data>
        <data source="e cha">
          <label>{{#if: {{{e cha save prof|}}} | '''CHA''' | CHA }}</label>
          <format>{{#if: {{{e cha save prof|}}} | '''{{{e cha save}}}''' | {{{e cha save}}} }}</format>
        </data>
      </group>
      <group>
        <header>Resistances <sup>[[Resistances|(info)]]</sup></header>
        <data source="e resistances" name="resistances">
          <format>{{#invoke: ParseList | main | {{{e resistances}}} | useTemplate = Parse resistance | style = htmlList }}</format>
        </data>
      </group>
      <group>
        <header>Actions</header>
        <data source="e actions" name="actions">
          <format>{{#invoke:
            ParseList | main | {{{e actions}}}
            | useTemplate = Infobox creature/actions query
            | style = htmlListNoBullets
          }}</format>
        </data>
      </group>
      <group>
        <header>Conditions</header>
        <data source="e conditions" name="conditions">
          <format>{{#invoke:
            ParseList | main | {{{e conditions}}}
            | useTemplate = Infobox creature/conditions query
            | style = htmlListNoBullets
          }}</format>
        </data>
      </group>
      <group>
        <header>Features</header>
        <data source="e passives" name="passives">
          <format>{{#invoke:
            ParseList | main | {{{e passives}}}
            | useTemplate = Infobox creature/passives parser
            | style = htmlListNoBullets
          }}</format>
         </data>
         </data>
       </group>
       </group>
Line 129: Line 284:
     <label>Tactician</label>
     <label>Tactician</label>
     <group>
     <group>
       <header>Tactician and Honour stats</header>
       <header>Tactician Difficulty Stats</header>
       <data source="t level">
       <data source="t level">
         <label>Level</label>
         <label>Level</label>
      </data>
      <!-- Type and size don't change between difficulties -->
      <data source="size">
        <label>Size</label>
      </data>
      <data source="type">
        <label>Type</label>
       </data>
       </data>
       <data source="t hp">
       <data source="t hp">
Line 146: Line 294:
         <label>AC</label>
         <label>AC</label>
       </data>
       </data>
       <data source="t initiative">
       <data source="t init bonus">
         <label>Initiative</label>
         <label>Initiative</label>
       </data>
       </data>
Line 216: Line 364:
       <group>
       <group>
         <header>Resistances <sup>[[Resistances|(info)]]</sup></header>
         <header>Resistances <sup>[[Resistances|(info)]]</sup></header>
         <data source="t resistances" name="bg3wiki-resistances">
         <data source="t resistances" name="resistances">
           <format>{{#invoke: ParseList | main | {{{t resistances}}} | useTemplate = Parse resistance | style = htmlList }}</format>
           <format>{{#invoke: ParseList | main | {{{t resistances}}} | useTemplate = Parse resistance | style = htmlList }}</format>
        </data>
      </group>
      <group>
        <header>Actions</header>
        <data source="t actions" name="actions">
          <format>{{#invoke:
            ParseList | main | {{{t actions}}}
            | useTemplate = Infobox creature/actions query
            | style = htmlListNoBullets
          }}</format>
        </data>
      </group>
      <group>
        <header>Conditions</header>
        <data source="t conditions" name="conditions">
          <format>{{#invoke:
            ParseList | main | {{{t conditions}}}
            | useTemplate = Infobox creature/conditions query
            | style = htmlListNoBullets
          }}</format>
        </data>
      </group>
      <group>
        <header>Features</header>
        <data source="t passives" name="passives">
          <format>{{#invoke:
            ParseList | main | {{{t passives}}}
            | useTemplate = Infobox creature/passives parser
            | style = htmlListNoBullets
          }}</format>
        </data>
      </group>
    </group>
  </section>
  <section>
    <label>Honour</label>
    <group>
      <header>Honour Difficulty Stats</header>
      <data source="h level">
        <label>Level</label>
      </data>
      <data source="h hp">
        <label>HP</label>
      </data>
      <data source="h ac">
        <label>AC</label>
      </data>
      <data source="h init bonus">
        <label>Initiative</label>
      </data>
      <data source="h prof bonus">
        <label>Proficiency</label>
      </data>
      <data source="h movement m">
        <label>Movement</label>
        <format>{{{h movement m|0}}}&#8239;m ({{{h movement ft|0}}}&#8239;ft)</format>
      </data>
      <data source="h weight kg">
        <label>Weight</label>
        <format>{{{h weight kg|0}}}&#8239;kg ({{{h weight lb|0}}}&#8239;lb)</format>
      </data>
      <group layout="horizontal">
        <header>Ability scores</header>
        <data source="h str">
          <label>STR</label>
          <format>{{{h str}}}<br/>({{{h str mod}}})</format>
        </data>
        <data source="h dex">
          <label>DEX</label>
          <format>{{{h dex}}}<br/>({{{h dex mod}}})</format>
        </data>
        <data source="h con">
          <label>CON</label>
          <format>{{{h con}}}<br/>({{{h con mod}}})</format>
        </data>
        <data source="h int">
          <label>INT</label>
          <format>{{{h int}}}<br/>({{{h int mod}}})</format>
        </data>
        <data source="h wis">
          <label>WIS</label>
          <format>{{{h wis}}}<br/>({{{h wis mod}}})</format>
        </data>
        <data source="h cha">
          <label>CHA</label>
          <format>{{{h cha}}}<br/>({{{h cha mod}}})</format>
        </data>
      </group>
      <group layout="horizontal">
        <header>Saving throws</header>
        <data source="h str">
          <label>{{#if: {{{h str save prof|}}} | '''STR''' | STR }}</label>
          <format>{{#if: {{{h str save prof|}}} | '''{{{h str save}}}''' | {{{h str save}}} }}</format>
        </data>
        <data source="h dex">
          <label>{{#if: {{{h dex save prof|}}} | '''DEX''' | DEX }}</label>
          <format>{{#if: {{{h dex save prof|}}} | '''{{{h dex save}}}''' | {{{h dex save}}} }}</format>
        </data>
        <data source="h con">
          <label>{{#if: {{{h con save prof|}}} | '''CON''' | CON }}</label>
          <format>{{#if: {{{h con save prof|}}} | '''{{{h con save}}}''' | {{{h con save}}} }}</format>
        </data>
        <data source="h int">
          <label>{{#if: {{{h int save prof|}}} | '''INT''' | INT }}</label>
          <format>{{#if: {{{h int save prof|}}} | '''{{{h int save}}}''' | {{{h int save}}} }}</format>
        </data>
        <data source="h wis">
          <label>{{#if: {{{h wis save prof|}}} | '''WIS''' | WIS }}</label>
          <format>{{#if: {{{h wis save prof|}}} | '''{{{h wis save}}}''' | {{{h wis save}}} }}</format>
        </data>
        <data source="h cha">
          <label>{{#if: {{{h cha save prof|}}} | '''CHA''' | CHA }}</label>
          <format>{{#if: {{{h cha save prof|}}} | '''{{{h cha save}}}''' | {{{h cha save}}} }}</format>
        </data>
      </group>
      <group>
        <header>Resistances <sup>[[Resistances|(info)]]</sup></header>
        <data source="h resistances" name="resistances">
          <format>{{#invoke: ParseList | main | {{{h resistances}}} | useTemplate = Parse resistance | style = htmlList }}</format>
        </data>
      </group>
      <group>
        <header>Actions</header>
        <data source="h actions" name="actions">
          <format>{{#invoke:
            ParseList | main | {{{h actions}}}
            | useTemplate = Infobox creature/actions query
            | style = htmlListNoBullets
          }}</format>
        </data>
      </group>
      <group>
        <header>Conditions</header>
        <data source="h conditions" name="conditions">
          <format>{{#invoke:
            ParseList | main | {{{h conditions}}}
            | useTemplate = Infobox creature/conditions query
            | style = htmlListNoBullets
          }}</format>
        </data>
      </group>
      <group>
        <header>Features</header>
        <data source="h passives" name="passives">
          <format>{{#invoke:
            ParseList | main | {{{h passives}}}
            | useTemplate = Infobox creature/passives parser
            | style = htmlListNoBullets
          }}</format>
         </data>
         </data>
       </group>
       </group>
Line 227: Line 524:
| name = Name
| name = Name
| title = Title
| title = Title
| level = Level 12
| image =
| image =
<gallery>
<gallery>
Line 233: Line 529:
Steel Watcher Model.png|Model
Steel Watcher Model.png|Model
</gallery>
</gallery>
| role = Mascot
| va = Keanu Reeves
| va = Keanu Reeves
| race = Cat
| class = Felinid
| background = Outlander
| hometown = The Shire
| faction = Gondor
| faction = Gondor
| family = The Reeves'
| family = The Reeves'
| race = Cat
| type = Mammal
| type = Mammal
| size = Smol
| size = Smol


| level = 10
| hp = 10
| hp = 10
| ac = 10
| ac = 10
| prof bonus = +4
| prof bonus = +4
| initiative = +5
| init bonus = +5
| movement m = 9
| movement m = 9
| movement ft = 30
| movement ft = 30
Line 270: Line 571:
| con save prof = yes
| con save prof = yes


| resistances = fire immunity, acid vulnerable, slashing immunity nm
| actions = Absolute Power, Dueller's Enthusiasm
| conditions = Aura of Protection, Aura of Hate
| passives = Agile Chassis, Cull the Weak (Drider)
| e level = 8
| e hp = 8
| e ac = 8
| e prof bonus = +3
| e init bonus = +4
| e movement m = 9
| e movement ft = 30
| e weight kg = 600
| e weight lb = 1200
| e str = 10
| e dex = 11
| e con = 12
| e int = 13
| e wis = 14
| e cha = 15
| e str mod = 0
| e dex mod = 0
| e con mod = +1
| e int mod = +1
| e wis mod = +2
| e cha mod = +2
| e str save = 0
| e dex save = +4
| e con save = +5
| e int save = +1
| e wis save = +2
| e cha save = +2
| e dex save prof = yes
| e con save prof = yes
| e resistances = acid vulnerable, lightning vulnerable
| e actions = Absolute Power
| e conditions = Aura of Protection
| e passives = Agile Chassis
| t level = 12
| t hp = 12
| t hp = 12
| t ac = 12
| t ac = 12
| t prof bonus = +5
| t prof bonus = +5
| t initiative = +6
| t init bonus = +6
| t movement m = 12
| t movement m = 12
| t movement ft = 40
| t movement ft = 40
Line 300: Line 643:
| t con save prof = yes
| t con save prof = yes


| resistances = fire immunity, acid vulnerable, slashing immunity nm
| t resistances = fire immunity, slashing immunity nm, piercing immune nm, bludgeoning immune nm
| t resistances = fire immunity, slashing immunity nm, piercing immune nm, bludgeoning immune nm
| t actions = Absolute Power, Dueller's Enthusiasm, Entangle
| t conditions = Aura of Protection, Aura of Hate, Unstoppable
| t passives = Agile Chassis, Cull the Weak (Drider), Adamantine Shield @ Adamantine Shield
| h level = 14
| h hp = 14
| h ac = 14
| h prof bonus = +6
| h init bonus = +7
| h movement m = 12
| h movement ft = 40
| h weight kg = 800
| h weight lb = 1600
| h str = 14
| h dex = 15
| h con = 16
| h int = 17
| h wis = 18
| h cha = 19
| h str mod = +2
| h dex mod = +2
| h con mod = +3
| h int mod = +3
| h wis mod = +4
| h cha mod = +4
| h str save = +2
| h dex save = +7
| h con save = +8
| h int save = +3
| h wis save = +4
| h cha save = +4
| h dex save prof = yes
| h con save prof = yes
| h resistances = fire immunity, cold immune, slashing immunity nm, piercing immune nm, bludgeoning immune nm
| h actions = Absolute Power, Dueller's Enthusiasm, Entangle, Fireball
| h conditions = Aura of Protection, Aura of Hate, Unstoppable, Legendary Resistance: Incapacitation
| h passives = Agile Chassis, Cull the Weak (Drider), Adamantine Shield @ Adamantine Shield, Fast Hands
}}
}}


This is the raw internal infobox template for creatures. It does very little processing on its parameters and expects all the data to be spoon-fed.
This is the raw internal infobox template for creatures. It does very little processing on its parameters and expects all the data to be spoon-fed.
</noinclude>
</noinclude>

Latest revision as of 02:14, 7 June 2024

This is the raw internal infobox template for creatures. It does very little processing on its parameters and expects all the data to be spoon-fed.