Template:Infobox creature/internal: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
(Created page with "<includeonly><infobox> <title source="title"></title> <data source="title2"></data> <data source="title3"></data> <image source="image"></image> <data source="va"> <label>Voiced by</label> </data> <data source="faction"> <label>Faction</label> </data> <data source="race"> <label>Race</label> </data> <data source="type"> <label>Type</label> </data> <data source="size"> <label>Size</label> </data> <panel> <section> <label>Balanced</label> <group>...")
 
No edit summary
Line 150: Line 150:
         <header>Saving throws</header>
         <header>Saving throws</header>
         <data source="t str save">
         <data source="t str save">
           <label>{{#if: {{{str save prof|}}} | '''STR''' | STR }}</label>
           <label>{{#if: {{{t str save prof|}}} | '''STR''' | STR }}</label>
           <format>{{#if: {{{str save prof|}}} | '''{{{t str save}}}''' | {{{t str save}}} }}</format>
           <format>{{#if: {{{t str save prof|}}} | '''{{{t str save}}}''' | {{{t str save}}} }}</format>
         </data>
         </data>
         <data source="t dex save">
         <data source="t dex save">
           <label>{{#if: {{{dex save prof|}}} | '''DEX''' | DEX }}</label>
           <label>{{#if: {{{t dex save prof|}}} | '''DEX''' | DEX }}</label>
           <format>{{#if: {{{dex save prof|}}} | '''{{{t dex save}}}''' | {{{t dex save}}} }}</format>
           <format>{{#if: {{{t dex save prof|}}} | '''{{{t dex save}}}''' | {{{t dex save}}} }}</format>
         </data>
         </data>
         <data source="t con save">
         <data source="t con save">
           <label>{{#if: {{{con save prof|}}} | '''CON''' | CON }}</label>
           <label>{{#if: {{{t con save prof|}}} | '''CON''' | CON }}</label>
           <format>{{#if: {{{con save prof|}}} | '''{{{t con save}}}''' | {{{t con save}}} }}</format>
           <format>{{#if: {{{t con save prof|}}} | '''{{{t con save}}}''' | {{{t con save}}} }}</format>
         </data>
         </data>
         <data source="t int save">
         <data source="t int save">
           <label>{{#if: {{{int save prof|}}} | '''INT''' | INT }}</label>
           <label>{{#if: {{{t int save prof|}}} | '''INT''' | INT }}</label>
           <format>{{#if: {{{int save prof|}}} | '''{{{t int save}}}''' | {{{t int save}}} }}</format>
           <format>{{#if: {{{t int save prof|}}} | '''{{{t int save}}}''' | {{{t int save}}} }}</format>
         </data>
         </data>
         <data source="t wis save">
         <data source="t wis save">
           <label>{{#if: {{{wis save prof|}}} | '''WIS''' | WIS }}</label>
           <label>{{#if: {{{t wis save prof|}}} | '''WIS''' | WIS }}</label>
           <format>{{#if: {{{wis save prof|}}} | '''{{{t wis save}}}''' | {{{t wis save}}} }}</format>
           <format>{{#if: {{{t wis save prof|}}} | '''{{{t wis save}}}''' | {{{t wis save}}} }}</format>
         </data>
         </data>
         <data source="t cha save">
         <data source="t cha save">
           <label>{{#if: {{{cha save prof|}}} | '''CHA''' | CHA }}</label>
           <label>{{#if: {{{t cha save prof|}}} | '''CHA''' | CHA }}</label>
           <format>{{#if: {{{cha save prof|}}} | '''{{{t cha save}}}''' | {{{t cha save}}} }}</format>
           <format>{{#if: {{{t cha save prof|}}} | '''{{{t cha save}}}''' | {{{t cha save}}} }}</format>
         </data>
         </data>
       </group>
       </group>

Revision as of 01:52, 6 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.