Template:Infobox creature/internal: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Rename "initiative" to "init bonus" to be in line with "prof bonus".)
No edit summary
(21 intermediate revisions by 4 users not shown)
Line 5: Line 5:
<data source="full name">
<data source="full name">
   <label>Full Name</label>
   <label>Full Name</label>
</data>
<data source="identity">
  <label>Identity</label>
</data>
</data>
<data source="va">
<data source="va">
Line 20: Line 23:
<data source="hometown">
<data source="hometown">
   <label>Hometown</label>
   <label>Hometown</label>
</data>
<data source="occupation">
  <label>Occupation</label>
</data>
</data>
<group>
<group>
Line 31: Line 37:
   <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 122: Line 140:
           <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>
Line 136: Line 166:
             ParseList | main | {{{actions}}}
             ParseList | main | {{{actions}}}
             | useTemplate = Infobox creature/actions query
             | useTemplate = Infobox creature/actions query
             | style = htmlListNoBullets
             | style = htmlListNoBulletsOrMargin
           }}</format>
           }}</format>
         </data>
         </data>
Line 146: Line 176:
             ParseList | main | {{{conditions}}}
             ParseList | main | {{{conditions}}}
             | useTemplate = Infobox creature/conditions query
             | useTemplate = Infobox creature/conditions query
             | style = htmlListNoBullets
             | style = htmlListNoBulletsOrMargin
           }}</format>
           }}</format>
         </data>
         </data>
Line 156: Line 186:
             ParseList | main | {{{passives}}}
             ParseList | main | {{{passives}}}
             | useTemplate = Infobox creature/passives parser
             | useTemplate = Infobox creature/passives parser
             | style = htmlListNoBullets
             | style = htmlListNoBulletsOrMargin
           }}</format>
           }}</format>
         </data>
         </data>
Line 241: Line 271:
           <label>{{#if: {{{e cha save prof|}}} | '''CHA''' | CHA }}</label>
           <label>{{#if: {{{e cha save prof|}}} | '''CHA''' | CHA }}</label>
           <format>{{#if: {{{e cha save prof|}}} | '''{{{e cha save}}}''' | {{{e cha save}}} }}</format>
           <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>
         </data>
       </group>
       </group>
Line 255: Line 297:
             ParseList | main | {{{e actions}}}
             ParseList | main | {{{e actions}}}
             | useTemplate = Infobox creature/actions query
             | useTemplate = Infobox creature/actions query
             | style = htmlListNoBullets
             | style = htmlListNoBulletsOrMargin
           }}</format>
           }}</format>
         </data>
         </data>
Line 265: Line 307:
             ParseList | main | {{{e conditions}}}
             ParseList | main | {{{e conditions}}}
             | useTemplate = Infobox creature/conditions query
             | useTemplate = Infobox creature/conditions query
             | style = htmlListNoBullets
             | style = htmlListNoBulletsOrMargin
           }}</format>
           }}</format>
         </data>
         </data>
Line 275: Line 317:
             ParseList | main | {{{e passives}}}
             ParseList | main | {{{e passives}}}
             | useTemplate = Infobox creature/passives parser
             | useTemplate = Infobox creature/passives parser
             | style = htmlListNoBullets
             | style = htmlListNoBulletsOrMargin
           }}</format>
           }}</format>
         </data>
         </data>
Line 360: Line 402:
           <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>
Line 374: Line 428:
             ParseList | main | {{{t actions}}}
             ParseList | main | {{{t actions}}}
             | useTemplate = Infobox creature/actions query
             | useTemplate = Infobox creature/actions query
             | style = htmlListNoBullets
             | style = htmlListNoBulletsOrMargin
           }}</format>
           }}</format>
         </data>
         </data>
Line 384: Line 438:
             ParseList | main | {{{t conditions}}}
             ParseList | main | {{{t conditions}}}
             | useTemplate = Infobox creature/conditions query
             | useTemplate = Infobox creature/conditions query
             | style = htmlListNoBullets
             | style = htmlListNoBulletsOrMargin
           }}</format>
           }}</format>
         </data>
         </data>
Line 394: Line 448:
             ParseList | main | {{{t passives}}}
             ParseList | main | {{{t passives}}}
             | useTemplate = Infobox creature/passives parser
             | useTemplate = Infobox creature/passives parser
             | style = htmlListNoBullets
             | style = htmlListNoBulletsOrMargin
           }}</format>
           }}</format>
         </data>
         </data>
Line 479: Line 533:
           <label>{{#if: {{{h cha save prof|}}} | '''CHA''' | CHA }}</label>
           <label>{{#if: {{{h cha save prof|}}} | '''CHA''' | CHA }}</label>
           <format>{{#if: {{{h cha save prof|}}} | '''{{{h cha save}}}''' | {{{h cha save}}} }}</format>
           <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>
         </data>
       </group>
       </group>
Line 493: Line 559:
             ParseList | main | {{{h actions}}}
             ParseList | main | {{{h actions}}}
             | useTemplate = Infobox creature/actions query
             | useTemplate = Infobox creature/actions query
             | style = htmlListNoBullets
             | style = htmlListNoBulletsOrMargin
           }}</format>
           }}</format>
         </data>
         </data>
Line 503: Line 569:
             ParseList | main | {{{h conditions}}}
             ParseList | main | {{{h conditions}}}
             | useTemplate = Infobox creature/conditions query
             | useTemplate = Infobox creature/conditions query
             | style = htmlListNoBullets
             | style = htmlListNoBulletsOrMargin
           }}</format>
           }}</format>
         </data>
         </data>
Line 513: Line 579:
             ParseList | main | {{{h passives}}}
             ParseList | main | {{{h passives}}}
             | useTemplate = Infobox creature/passives parser
             | useTemplate = Infobox creature/passives parser
             | style = htmlListNoBullets
             | style = htmlListNoBulletsOrMargin
           }}</format>
           }}</format>
         </data>
         </data>
Line 530: Line 596:
</gallery>
</gallery>
| role = Mascot
| role = Mascot
| va = Keanu Reeves
| va = Amelia Tyler
| full name = Leia Organa
| identity = Female
| 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 570: Line 643:
| 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
| resistances = fire immunity, acid vulnerable, slashing immunity nm
Line 606: Line 682:
| e dex save prof = yes
| e dex save prof = yes
| e con save prof = yes
| e con save prof = yes
| e perception = 10
| e acrobatics = 6
| e athletics = 12


| e resistances = acid vulnerable, lightning vulnerable
| e resistances = acid vulnerable, lightning vulnerable
Line 642: Line 721:
| 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


| 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
Line 678: Line 760:
| h dex save prof = yes
| h dex save prof = yes
| h con 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 resistances = fire immunity, cold immune, slashing immunity nm, piercing immune nm, bludgeoning immune nm

Revision as of 10:22, 22 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.