User:Toancaro/List of utilities spells/Variables: Difference between revisions
Jump to navigation
Jump to search
m (→Join OR) |
m (→Join OR) |
||
Line 65: | Line 65: | ||
{{#var: test}} | {{#var: test}} | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Result: {{#arraydefine: joinORItems | a,b,c,d,e}} | Result: <nowiki/> | ||
{{#vardefine: joinORPageSize | 1}} | {{#arraydefine: joinORItems | a,b,c,d,e}}<nowiki/> | ||
{{#vardefine: test | {{#lst:User:Toancaro/List of utilities spells/Variables|joinOR}} }} | {{#vardefine: joinORPageSize | 1}}<nowiki/> | ||
{{#vardefine: test | {{#lst:User:Toancaro/List of utilities spells/Variables|joinOR}} }}<nowiki/> | |||
{{#var: test}} | {{#var: test}} | ||
<section begin="joinOR" /><nowiki | <includeonly><section begin="joinOR" /><nowiki | ||
/>{{#arrayunion: joinORItems | {{#if: {{#arraysize:joinORItems}} | joinORItems | }} }}<nowiki | />{{#arrayunion: joinORItems | {{#if: {{#arraysize:joinORItems}} | joinORItems | }} }}<nowiki | ||
Line 83: | Line 84: | ||
/>{{#var: joinORResult}}<nowiki | />{{#var: joinORResult}}<nowiki | ||
/><section end="joinOR" /> | /><section end="joinOR" /></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}}
.
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"