Template:Infobox creature/internal: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Put the check on other template)
No edit summary
(16 intermediate revisions by 3 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>
   <data source="archetype">
   <data source="archetype">
Line 37: Line 46:
   <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 125: 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 139: 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 149: 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 159: 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 165: Line 192:
     </group>
     </group>
   </section>
   </section>
  {{#if: {{{has explorer stats|}}} |
   <section>
   <section>
     <label>Explorer</label>
     <label>Explorer</label>
Line 245: 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 259: 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 269: 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 279: 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 285: Line 323:
     </group>
     </group>
   </section>
   </section>
  | }}
  {{#if: {{{has tactician stats|}}} |
   <section>
   <section>
     <label>Tactician</label>
     <label>Tactician</label>
Line 366: 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 380: 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 390: 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 400: 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 406: Line 454:
     </group>
     </group>
   </section>
   </section>
  | }}
  {{#if: {{{has honour stats|}}} |
   <section>
   <section>
     <label>Honour</label>
     <label>Honour</label>
Line 487: 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 501: 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 511: 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 521: 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 527: Line 585:
     </group>
     </group>
   </section>
   </section>
  | }}
</panel>
</panel>
</infobox></includeonly><noinclude>
</infobox></includeonly><noinclude>
Line 540: Line 597:
| role = Mascot
| role = Mascot
| va = Amelia Tyler
| va = Amelia Tyler
| full name = Leia Organa
| identity = Female
| race = Cat
| race = Cat
| subrace = Tabby
| archetype = Soldier Cat
| 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 580: 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 616: 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 652: 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 688: 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.