Template:Infobox creature/internal: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
(Horizontal layout for skills)
(6 intermediate revisions by 3 users not shown)
Line 34: 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 43: Line 46:
   <data source="subclass">
   <data source="subclass">
     <label>Subclass</label>
     <label>Subclass</label>
  </data>
  <data source="deity">
    <label>Deity</label>
   </data>
   </data>
   <data source="background">
   <data source="background">
Line 131: 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 145: 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 155: 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 165: 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 250: 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 264: 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 274: 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 284: 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 369: 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 383: 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 393: 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 403: 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 488: 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 502: 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 512: 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 522: 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 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
| subclass = Tiger
| deity = Bastet
| background = Outlander
| background = Outlander
| hometown = The Shire
| hometown = The Shire
Line 582: 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 618: 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 654: 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 690: 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

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.