Template:Infobox creature/internal: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
(Add resistances.)
Line 96: Line 96:
           <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>
        <header>Resistances</header>
        <data source="resistances" name="bg3wiki-resistances">
          <format>{{#invoke: ParseList | main | {{{resistances}}} | useTemplate = Parse resistance | style = htmlList }}</format>
         </data>
         </data>
       </group>
       </group>
Line 176: Line 182:
           <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>
        <header>Resistances</header>
        <data source="t resistances" name="bg3wiki-resistances">
          <format>{{#invoke: ParseList | main | {{{t resistances}}} | useTemplate = Parse resistance | style = htmlList }}</format>
         </data>
         </data>
       </group>
       </group>
Line 254: Line 266:
| t dex save prof = yes
| t dex save prof = yes
| t con save prof = yes
| t con save prof = yes
| resistances = fire immunity, acid vulnerable, slashing immunity nm
| t resistances = fire immunity, slashing immunity nm, piercing immune nm, bludgeoning immune nm
}}
}}


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 05:02, 7 April 2024

User:Taylan/InfoboxTest1

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.