Template:Infobox creature/internal: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
(Horizontal layout for skills)
 
(4 intermediate revisions by 3 users not shown)
Line 46: 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 134: 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 148: 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 158: 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 168: 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 253: 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 267: 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 277: 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 287: 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 372: 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 386: 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 396: 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 406: 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 491: 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 505: 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 515: 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 525: 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 548: Line 599:
| class = Felinid
| class = Felinid
| subclass = Tiger
| subclass = Tiger
| deity = Bastet
| background = Outlander
| background = Outlander
| hometown = The Shire
| hometown = The Shire
Line 586: 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 622: 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 658: 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 694: 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.