791
editsAd placeholder
User:Toancaro/List of utilities spells/Variables: Difference between revisions
Jump to navigation
Jump to search
m
User:Toancaro/List of utilities spells/Variables (edit)
Revision as of 17:59, 15 January 2024
, 15 January→Variables
m (→Join OR) |
m (→Variables) |
||
Line 2: | Line 2: | ||
==Variables== | ==Variables== | ||
{{Template:TranscludeableLST|variables}}<br/> | {{Template:TranscludeableLST|variables}}<br/> | ||
<section begin="variables" /><nowiki | <includeonly><section begin="variables" /><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 55: | Line 55: | ||
/>{{#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" /> | /><section end="variables" /><includeonly> | ||
{{Back to top}} | {{Back to top}} | ||
==Join OR== | ==Join OR== | ||
{{Template:TranscludeableLST|joinOR}} | {{Template:TranscludeableLST|joinOR}} |