Template:Infobox creature/internal: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Add type attribute.)
(Add Explorer and Honour difficulties.)
Line 37: Line 37:
</group>
</group>
<panel>
<panel>
  <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 initiative">
        <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>Features</header>
        <data source="e passives" name="passives">
          <format>{{#invoke:
            ParseList | main | {{{e passives}}}
            | useTemplate = Infobox creature/passives query
            | style = htmlListNoBullets
          }}</format>
        </data>
      </group>
    </group>
  </section>
   <section>
   <section>
     <label>Balanced</label>
     <label>Balanced</label>
     <group>
     <group>
       <header>Balanced and Explorer</header>
       <header>Balanced Difficulty Stats</header>
       <data source="level">
       <data source="level">
         <label>Level</label>
         <label>Level</label>
Line 142: Line 241:
     <label>Tactician</label>
     <label>Tactician</label>
     <group>
     <group>
       <header>Tactician and Honour</header>
       <header>Tactician Difficulty Stats</header>
       <data source="t level">
       <data source="t level">
         <label>Level</label>
         <label>Level</label>
Line 231: Line 330:
           <format>{{#invoke:
           <format>{{#invoke:
             ParseList | main | {{{t passives}}}
             ParseList | main | {{{t passives}}}
            | useTemplate = Infobox creature/passives query
            | 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 initiative">
        <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>Features</header>
        <data source="h passives" name="passives">
          <format>{{#invoke:
            ParseList | main | {{{h passives}}}
             | useTemplate = Infobox creature/passives query
             | useTemplate = Infobox creature/passives query
             | style = htmlListNoBullets
             | style = htmlListNoBullets
Line 289: Line 487:
| dex save prof = yes
| dex save prof = yes
| con save prof = yes
| con save prof = yes
| resistances = fire immunity, acid vulnerable, slashing immunity nm
| passives = Agile Chassis, Cull the Weak (Drider)
| e level = 8
| e hp = 8
| e ac = 8
| e prof bonus = +3
| e initiative = +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 passives = Agile Chassis


| t level = 12
| t level = 12
Line 321: Line 556:
| 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 passives = Agile Chassis, Cull the Weak (Drider), Adamantine Shield (passive feature)


| passives = Agile Chassis, Cull the Weak (Drider)
| h level = 14
| t passives = Agile Chassis, Cull the Weak (Drider), Adamantine Shield (passive feature)
| h hp = 14
| h ac = 14
| h prof bonus = +6
| h initiative = +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 passives = Agile Chassis, Cull the Weak (Drider), Adamantine Shield (passive feature), 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>

Revision as of 16:49, 16 April 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.