User:Toancaro/List of utilities spells/Join OR: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Template:TranscludeableLST|joinOR}} <syntaxhighlight line="1"> {{#arraydefine: joinORItems | a,b,c,d,e}} {{#vardefine: joinORPageSize | 1}} {{#vardefine: test | {{#lst:User:Toancaro/List of utilities spells/Join OR|joinOR}} }} {{#var: test}} </syntaxhighlight> Result: <nowiki/> {{#arraydefine: joinORItems | a,b,c,d,e}}<nowiki/> {{#vardefine: joinORPageSize | 1}}<nowiki/> {{#vardefine: test | {{#lst:User:Toancaro/List of utilities spells/Join OR|joinOR}} }}<nowiki/> {{#...") |
mNo edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Template:TranscludeableLST|joinOR}} | <noinclude>{{Template:TranscludeableLST|joinOR}} | ||
<syntaxhighlight line="1"> | <syntaxhighlight line="1"> | ||
{{#arraydefine: joinORItems | a,b,c,d,e}} | {{#arraydefine: joinORItems | a,b,c,d,e}} | ||
{{#vardefine: joinORPageSize | 1}} | {{#vardefine: joinORPageSize | 1}} | ||
{{#lst:User:Toancaro/List of utilities spells/Join OR|joinOR}} | |||
{{#vardefine: test | {{#var: joinORResult}} }} | |||
{{#var: test}} | {{#var: test}} | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 9: | Line 10: | ||
{{#arraydefine: joinORItems | a,b,c,d,e}}<nowiki/> | {{#arraydefine: joinORItems | a,b,c,d,e}}<nowiki/> | ||
{{#vardefine: joinORPageSize | 1}}<nowiki/> | {{#vardefine: joinORPageSize | 1}}<nowiki/> | ||
{{#lst:User:Toancaro/List of utilities spells/Join OR|joinOR}}<nowiki/> | |||
{{#var: test}} | {{#vardefine: test | {{#var: joinORResult}} }}<nowiki/> | ||
<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 25: | ||
/>}}<nowiki | />}}<nowiki | ||
/>{{#var: joinORResult}}<nowiki | />{{#vardefine: joinORResult | ({{#var: joinORResult | FALSE}}) }}<nowiki | ||
/><section end="joinOR" /></includeonly> | /><section end="joinOR" /></onlyinclude></includeonly> |
Latest revision as of 20:07, 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}}
{{#lst:User:Toancaro/List of utilities spells/Join OR|joinOR}}
{{#vardefine: test | {{#var: joinORResult}} }}
{{#var: test}}
Result: (name = "a" OR name = "b" OR name = "c" OR name = "d" OR name = "e")