DPL Example 014
From FollowTheScore
We load the result of a DPL query into an array and print that array using a different separator. The trick is to use a special separator in the format statement of your DPL query (in this example we use the paragraph symbol).
See [1] to see what you can do with the ArrayExternsion ...
{{#arraydefine:x| {{#dpl: |titlematch=B% |count=10 |format=,%TITLE%,§, }}|§}} {{#arrayprint:x|<br/>}}
DPL produces the following wikitext as output (which is fed into #arraydefine ..):
{{Extension DPL}}Bruxelles city§Bug Apo§Boolean§Bug Apo 3§Bug'Apo 4§Berlin§Bob Jones Out Sick§Bug SQL 1064§Berliner Mauer§Berlin Wall§|§}}
So the following output is produced:
{{#arraydefine:x|
Bruxelles city§Bug Apo§Boolean§Bug Apo 3§Bug'Apo 4§Berlin§Bob Jones Out Sick§Bug SQL 1064§Berliner Mauer§Berlin Wall§|§}}
{{#arrayprint:x|
}}