User:Toancaro/List of utilities spells/Join OR: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 10: Line 10:
{{#vardefine: joinORPageSize | 1}}<nowiki/>
{{#vardefine: joinORPageSize | 1}}<nowiki/>
{{#vardefine: test | {{#lst:User:Toancaro/List of utilities spells/Join OR|joinOR}} }}<nowiki/>
{{#vardefine: test | {{#lst:User:Toancaro/List of utilities spells/Join OR|joinOR}} }}<nowiki/>
{{#var: test}}</noinclude><includeonly><section begin="joinOR" /><nowiki
{{#var: test}}</noinclude><includeonly><onlyinclude><section begin="joinOR" /><nowiki


/>{{#arrayunion: joinORItems | {{#if: {{#arraysize:joinORItems}} | joinORItems | }} }}<nowiki
/>{{#arrayunion: joinORItems | {{#if: {{#arraysize:joinORItems}} | joinORItems | }} }}<nowiki
Line 24: Line 24:


/>{{#var: joinORResult}}<nowiki
/>{{#var: joinORResult}}<nowiki
/><section end="joinOR" /></includeonly>
/><section end="joinOR" /></onlyinclude></includeonly>

Revision as of 18:26, 15 January 2024

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

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

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