Template:Infobox creature/internal: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
(Horizontal layout for skills)
 
(13 intermediate revisions by 3 users not shown)
Line 20: 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 31: Line 34:
   <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 43:
   <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 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>
Line 139: Line 163:
             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 173:
             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 183:
             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 189:
     </group>
     </group>
   </section>
   </section>
  {{#if: {{{has explorer stats|}}} |
   <section>
   <section>
     <label>Explorer</label>
     <label>Explorer</label>
     <group>
     <group>
       <header>Explorer Difficulty Stats ({{{has explorer stats|}}})</header>
       <header>Explorer Difficulty Stats</header>
       <data source="e level">
       <data source="e level">
         <label>Level</label>
         <label>Level</label>
Line 245: Line 268:
           <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 294:
             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 304:
             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 314:
             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 320:
     </group>
     </group>
   </section>
   </section>
  | }}
  {{#if: {{{has tactician stats|}}} |
   <section>
   <section>
     <label>Tactician</label>
     <label>Tactician</label>
Line 366: 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>
Line 380: Line 425:
             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 435:
             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 445:
             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 451:
     </group>
     </group>
   </section>
   </section>
  | }}
  {{#if: {{{has honour stats|}}} |
   <section>
   <section>
     <label>Honour</label>
     <label>Honour</label>
Line 487: Line 530:
           <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 556:
             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 566:
             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 576:
             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 582:
     </group>
     </group>
   </section>
   </section>
  | }}
</panel>
</panel>
</infobox></includeonly><noinclude>
</infobox></includeonly><noinclude>
Line 541: Line 595:
| va = Amelia Tyler
| va = Amelia Tyler
| 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 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
| resistances = fire immunity, acid vulnerable, slashing immunity nm
Line 616: Line 677:
| 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 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


| 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 755:
| 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

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.