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

From bg3.wiki
Jump to navigation Jump to search
Line 31: Line 31:
/>{{#arraydefine: joinORItems | {{#var: spellsAll}} }}<nowiki
/>{{#arraydefine: joinORItems | {{#var: spellsAll}} }}<nowiki
/>{{#vardefine: queryNamesSpellsAll | {{#lst:User:Toancaro/List of utilities spells/Variables|joinOR}} }}<nowiki
/>{{#vardefine: queryNamesSpellsAll | {{#lst:User:Toancaro/List of utilities spells/Variables|joinOR}} }}<nowiki
/>{{#var: queryNamesSpellsAll}}<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>

Revision as of 18:03, 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