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

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
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" /><includeonly>
/><section end="variables" /></includeonly>
{{Back to top}}
{{Back to top}}



Revision as of 17:59, 15 January 2024

Variables

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

↑ Back to top

Join OR

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

{{#arraydefine: joinORItems | a,b,c,d,e}}
{{#vardefine: joinORPageSize | 1}}
{{#vardefine: test | {{#lst:User:Toancaro/List of utilities spells/Variables|joinOR}} }}
{{#var: test}}

Result: name = "a" OR name = "b" OR name = "c" OR name = "d" OR name = "e"

↑ Back to top