Template:Infobox creature/internal: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
(Add Explorer and Honour difficulties.)
(Support specifying the item that grants a passive, via Template:Infobox creature/passives parser.)
(One intermediate revision by the same user not shown)
Line 122: Line 122:
         <data source="e resistances" name="resistances">
         <data source="e resistances" name="resistances">
           <format>{{#invoke: ParseList | main | {{{e resistances}}} | useTemplate = Parse resistance | style = htmlList }}</format>
           <format>{{#invoke: ParseList | main | {{{e resistances}}} | useTemplate = Parse resistance | style = htmlList }}</format>
        </data>
      </group>
      <group>
        <header>Conditions</header>
        <data source="e conditions" name="conditions">
          <format>{{#invoke:
            ParseList | main | {{{e conditions}}}
            | useTemplate = Infobox creature/conditions query
            | style = htmlListNoBullets
          }}</format>
         </data>
         </data>
       </group>
       </group>
Line 129: Line 139:
           <format>{{#invoke:
           <format>{{#invoke:
             ParseList | main | {{{e passives}}}
             ParseList | main | {{{e passives}}}
             | useTemplate = Infobox creature/passives query
             | useTemplate = Infobox creature/passives parser
             | style = htmlListNoBullets
             | style = htmlListNoBullets
           }}</format>
           }}</format>
Line 224: Line 234:
         <data source="resistances" name="resistances">
         <data source="resistances" name="resistances">
           <format>{{#invoke: ParseList | main | {{{resistances}}} | useTemplate = Parse resistance | style = htmlList }}</format>
           <format>{{#invoke: ParseList | main | {{{resistances}}} | useTemplate = Parse resistance | style = htmlList }}</format>
        </data>
      </group>
      <group>
        <header>Conditions</header>
        <data source="conditions" name="conditions">
          <format>{{#invoke:
            ParseList | main | {{{conditions}}}
            | useTemplate = Infobox creature/conditions query
            | style = htmlListNoBullets
          }}</format>
         </data>
         </data>
       </group>
       </group>
Line 231: Line 251:
           <format>{{#invoke:
           <format>{{#invoke:
             ParseList | main | {{{passives}}}
             ParseList | main | {{{passives}}}
             | useTemplate = Infobox creature/passives query
             | useTemplate = Infobox creature/passives parser
             | style = htmlListNoBullets
             | style = htmlListNoBullets
           }}</format>
           }}</format>
Line 323: Line 343:
         <data source="t resistances" name="resistances">
         <data source="t resistances" name="resistances">
           <format>{{#invoke: ParseList | main | {{{t resistances}}} | useTemplate = Parse resistance | style = htmlList }}</format>
           <format>{{#invoke: ParseList | main | {{{t resistances}}} | useTemplate = Parse resistance | style = htmlList }}</format>
        </data>
      </group>
      <group>
        <header>Conditions</header>
        <data source="t conditions" name="conditions">
          <format>{{#invoke:
            ParseList | main | {{{t conditions}}}
            | useTemplate = Infobox creature/conditions query
            | style = htmlListNoBullets
          }}</format>
         </data>
         </data>
       </group>
       </group>
Line 330: Line 360:
           <format>{{#invoke:
           <format>{{#invoke:
             ParseList | main | {{{t passives}}}
             ParseList | main | {{{t passives}}}
             | useTemplate = Infobox creature/passives query
             | useTemplate = Infobox creature/passives parser
             | style = htmlListNoBullets
             | style = htmlListNoBullets
           }}</format>
           }}</format>
Line 422: Line 452:
         <data source="h resistances" name="resistances">
         <data source="h resistances" name="resistances">
           <format>{{#invoke: ParseList | main | {{{h resistances}}} | useTemplate = Parse resistance | style = htmlList }}</format>
           <format>{{#invoke: ParseList | main | {{{h resistances}}} | useTemplate = Parse resistance | style = htmlList }}</format>
        </data>
      </group>
      <group>
        <header>Conditions</header>
        <data source="h conditions" name="conditions">
          <format>{{#invoke:
            ParseList | main | {{{h conditions}}}
            | useTemplate = Infobox creature/conditions query
            | style = htmlListNoBullets
          }}</format>
         </data>
         </data>
       </group>
       </group>
Line 429: Line 469:
           <format>{{#invoke:
           <format>{{#invoke:
             ParseList | main | {{{h passives}}}
             ParseList | main | {{{h passives}}}
             | useTemplate = Infobox creature/passives query
             | useTemplate = Infobox creature/passives parser
             | style = htmlListNoBullets
             | style = htmlListNoBullets
           }}</format>
           }}</format>
Line 489: Line 529:


| resistances = fire immunity, acid vulnerable, slashing immunity nm
| resistances = fire immunity, acid vulnerable, slashing immunity nm
| conditions = Aura of Protection, Aura of Hate
| passives = Agile Chassis, Cull the Weak (Drider)
| passives = Agile Chassis, Cull the Weak (Drider)


Line 523: Line 564:


| e resistances = acid vulnerable, lightning vulnerable
| e resistances = acid vulnerable, lightning vulnerable
| e conditions = Aura of Protection
| e passives = Agile Chassis
| e passives = Agile Chassis


Line 557: Line 599:


| 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
| t passives = Agile Chassis, Cull the Weak (Drider), Adamantine Shield (passive feature)
| t conditions = Aura of Protection, Aura of Hate, Unstoppable
| t passives = Agile Chassis, Cull the Weak (Drider), Adamantine Shield @ Adamantine Shield


| h level = 14
| h level = 14
Line 591: Line 634:


| 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
| h passives = Agile Chassis, Cull the Weak (Drider), Adamantine Shield (passive feature), Fast Hands
| h conditions = Aura of Protection, Aura of Hate, Unstoppable, Legendary Resistance: Incapacitation
| h passives = Agile Chassis, Cull the Weak (Drider), Adamantine Shield @ Adamantine Shield, Fast Hands
}}
}}


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.
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.
</noinclude>
</noinclude>

Revision as of 21:00, 22 April 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.