User:Toancaro/List of utilities spells/Variables: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<section begin="variables" />Test include<nowiki
<includeonly><section begin="variables" />Test include<nowiki
/>{{#vardefine: querySpellsLearnable | ((classes HOLDS "Wizard" OR classes HOLDS "Sorcerer" OR classes HOLDS "Cleric" OR classes HOLDS "Bard" OR classes HOLDS "Ranger" OR classes HOLDS "Druid" OR classes HOLDS "Paladin" OR classes HOLDS "Warlock") AND (is_npc = false OR is_npc IS NULL))}}<nowiki
/>{{#vardefine: querySpellsLearnable | ((classes HOLDS "Wizard" OR classes HOLDS "Sorcerer" OR classes HOLDS "Cleric" OR classes HOLDS "Bard" OR classes HOLDS "Ranger" OR classes HOLDS "Druid" OR classes HOLDS "Paladin" OR classes HOLDS "Warlock") AND (is_npc = false OR is_npc IS NULL))}}<nowiki


Line 52: Line 52:
/>{{#vardefine: queryNamesSpellsAll | {{#ifexpr: {{#arraysize:spellsAll}} > 0 | ({{#var: queryNamesSpellsAll1|TRUE}} AND {{#var: queryNamesSpellsAll2|TRUE}} AND {{#var: queryNamesSpellsAll3|TRUE}} AND {{#var: queryNamesSpellsAll4|TRUE}} AND {{#var: queryNamesSpellsAll5|TRUE}} AND {{#var: queryNamesSpellsAll6|TRUE}}) | FALSE}} }}<nowiki
/>{{#vardefine: queryNamesSpellsAll | {{#ifexpr: {{#arraysize:spellsAll}} > 0 | ({{#var: queryNamesSpellsAll1|TRUE}} AND {{#var: queryNamesSpellsAll2|TRUE}} AND {{#var: queryNamesSpellsAll3|TRUE}} AND {{#var: queryNamesSpellsAll4|TRUE}} AND {{#var: queryNamesSpellsAll5|TRUE}} AND {{#var: queryNamesSpellsAll6|TRUE}}) | FALSE}} }}<nowiki


/><section end="variables" /><noinclude>{{Template:TranscludeableLST|chapter1}}</noinclude>
/><section end="variables" /></includeonly><noinclude>{{Template:TranscludeableLST|variables}}</noinclude>

Revision as of 16:19, 15 January 2024

The following section can be transcluded into other pages with {{#lst:User:Toancaro/List of utilities spells/Variables|variables}}.