Template:Infobox creature/internal: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
(Horizontal layout for skills)
 
(32 intermediate revisions by 4 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="full name">
  <label>Full Name</label>
</data>
<data source="va">
<data source="va">
   <label>Voiced by</label>
   <label>Voiced by</label>
Line 17: Line 20:
<data source="hometown">
<data source="hometown">
   <label>Hometown</label>
   <label>Hometown</label>
</data>
<data source="occupation">
  <label>Occupation</label>
</data>
</data>
<group>
<group>
Line 28: Line 34:
   <data source="race">
   <data source="race">
     <label>Race</label>
     <label>Race</label>
  </data>
  <data source="subrace">
    <label>Subrace</label>
  </data>
  <data source="archetype">
    <label>Archetype</label>
   </data>
   </data>
   <data source="class">
   <data source="class">
     <label>Class</label>
     <label>Class</label>
  </data>
  <data source="subclass">
    <label>Subclass</label>
  </data>
  <data source="deity">
    <label>Deity</label>
   </data>
   </data>
   <data source="background">
   <data source="background">
Line 40: Line 58:
     <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 50: Line 68:
         <label>AC</label>
         <label>AC</label>
       </data>
       </data>
       <data source="initiative">
       <data source="init bonus">
         <label>Initiative</label>
         <label>Initiative</label>
       </data>
       </data>
Line 119: Line 137:
           <label>{{#if: {{{cha save prof|}}} | '''CHA''' | CHA }}</label>
           <label>{{#if: {{{cha save prof|}}} | '''CHA''' | CHA }}</label>
           <format>{{#if: {{{cha save prof|}}} | '''{{{cha save}}}''' | {{{cha save}}} }}</format>
           <format>{{#if: {{{cha save prof|}}} | '''{{{cha save}}}''' | {{{cha save}}} }}</format>
        </data>
      </group>
      <group layout="horizontal">
        <header>Skills</header>
        <data source="athletics">
          <label>Athletics</label>
        </data>
        <data source="acrobatics">
          <label>Acrobatics</label>
        </data>
        <data source="perception">
          <label>Perception</label>
         </data>
         </data>
       </group>
       </group>
       <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 = htmlListNoBulletsOrMargin
          }}</format>
        </data>
      </group>
      <group>
        <header>Conditions</header>
        <data source="conditions" name="conditions">
          <format>{{#invoke:
            ParseList | main | {{{conditions}}}
            | useTemplate = Infobox creature/conditions query
            | style = htmlListNoBulletsOrMargin
          }}</format>
        </data>
      </group>
      <group>
        <header>Features</header>
        <data source="passives" name="passives">
          <format>{{#invoke:
            ParseList | main | {{{passives}}}
            | useTemplate = Infobox creature/passives parser
            | style = htmlListNoBulletsOrMargin
          }}</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 layout="horizontal">
        <header>Skills</header>
        <data source="e athletics">
          <label>Athletics</label>
        </data>
        <data source="e acrobatics">
          <label>Acrobatics</label>
        </data>
        <data source="e perception">
          <label>Perception</label>
        </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 = htmlListNoBulletsOrMargin
          }}</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 = htmlListNoBulletsOrMargin
          }}</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 = htmlListNoBulletsOrMargin
          }}</format>
         </data>
         </data>
       </group>
       </group>
Line 132: Line 323:
     <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>
      </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 149: Line 333:
         <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 215: Line 399:
           <label>{{#if: {{{t cha save prof|}}} | '''CHA''' | CHA }}</label>
           <label>{{#if: {{{t cha save prof|}}} | '''CHA''' | CHA }}</label>
           <format>{{#if: {{{t cha save prof|}}} | '''{{{t cha save}}}''' | {{{t cha save}}} }}</format>
           <format>{{#if: {{{t cha save prof|}}} | '''{{{t cha save}}}''' | {{{t cha save}}} }}</format>
        </data>
      </group>
      <group layout="horizontal">
        <header>Skills</header>
        <data source="t athletics">
          <label>Athletics</label>
        </data>
        <data source="t acrobatics">
          <label>Acrobatics</label>
        </data>
        <data source="t perception">
          <label>Perception</label>
         </data>
         </data>
       </group>
       </group>
       <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 = htmlListNoBulletsOrMargin
          }}</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 = htmlListNoBulletsOrMargin
          }}</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 = htmlListNoBulletsOrMargin
          }}</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 layout="horizontal">
        <header>Skills</header>
        <data source="h athletics">
          <label>Athletics</label>
        </data>
        <data source="h acrobatics">
          <label>Acrobatics</label>
        </data>
        <data source="h perception">
          <label>Perception</label>
        </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 = htmlListNoBulletsOrMargin
          }}</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 = htmlListNoBulletsOrMargin
          }}</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 = htmlListNoBulletsOrMargin
          }}</format>
         </data>
         </data>
       </group>
       </group>
Line 236: Line 593:
</gallery>
</gallery>
| role = Mascot
| role = Mascot
| va = Keanu Reeves
| va = Amelia Tyler
| race = Cat
| race = Cat
| subrace = Tabby
| archetype = Soldier Cat
| class = Felinid
| class = Felinid
| subclass = Tiger
| deity = Bastet
| background = Outlander
| background = Outlander
| hometown = The Shire
| hometown = The Shire
| occupation = Butcher and Baker
| faction = Gondor
| faction = Gondor
| family = The Reeves'
| family = The Reeves'
Line 250: Line 612:
| 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 276: Line 638:
| dex save prof = yes
| dex save prof = yes
| con save prof = yes
| con save prof = yes
| perception = 10
| acrobatics = 6
| athletics = 12
| 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 perception = 10
| e acrobatics = 6
| e athletics = 12
| e resistances = acid vulnerable, lightning vulnerable
| e actions = Absolute Power
| e conditions = Aura of Protection
| e passives = Agile Chassis


| t level = 12
| t level = 12
Line 281: Line 690:
| 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 307: Line 716:
| t dex save prof = yes
| t dex save prof = yes
| t con save prof = yes
| t con save prof = yes
| t perception = 10
| t acrobatics = 6
| t athletics = 12


| 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 perception = 10
| h acrobatics = 6
| h athletics = 12
| 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 03:06, 11 November 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.