Forum:Arraymap usage in ShoutWiki

ShoutWiki — express yourself and be heard!
Jump to navigation Jump to search

Forums: Index Community help

Hi I'm having unexpected results with the #arraymap: any anyone tell me where I might be going wrong?


[Working example]


[Local version not functioning as expected]


Template


<includeonly>{{#if:{{{name|}}}|<span>'''{{{name}}}''' :</span><br>}}<div>{{#if:{{{MAIN|}}}|* '''{{fc|{{{color|#d0eb50}}}|MAIN FILES}}''' - {{#arraymap:{{{MAIN|}}}|;|%|''%''}} | }}{{#if:{{{UPDT|}}}|* '''{{fc|{{{color|#d0eb50}}}|UPDATES}}''' - {{#arraymap:{{{UPDT|}}}|;|%|''%''}} | }}{{#if:{{{ALTERNATIVE|}}}|* '''{{fc|{{{color|#d0eb50}}}|ALTERNATIVE}}''' - {{#arraymap:{{{ALTERNATIVE|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL|}}}|* '''{{fc|{{{color|#d0eb50}}}|ADDITIONAL}}''' - {{#arraymap:{{{ADDITIONAL|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL1|}}}|* '''{{fc|{{{color|#d0eb50}}}|ADDITIONAL1}}''' - {{#arraymap:{{{ADDITIONAL1|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL2|}}}|* '''{{fc|{{{color|#d0eb50}}}|ADDITIONAL2}}''' - {{#arraymap:{{{ADDITIONAL2|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL3|}}}|* '''{{fc|{{{color|#d0eb50}}}|ADDITIONAL3}}''' - {{#arraymap:{{{ADDITIONAL3|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL4|}}}|* '''{{fc|{{{color|#d0eb50}}}|ADDITIONAL4}}''' - {{#arraymap:{{{ADDITIONAL4|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL5|}}}|* '''{{fc|{{{color|#d0eb50}}}|ADDITIONAL5}}''' - {{#arraymap:{{{ADDITIONAL5|}}}|;|%|''%''}} | }}{{#if:{{{OPT|}}}|* '''{{fc|{{{color|#d0eb50}}}|OPTIONAL FILES}}''' - {{#arraymap:{{{OPT|}}}|;|%|''%''}} | }}{{#if:{{{MISC|}}}|* '''{{fc|{{{color|#d0eb50}}}|MISCELLANEOUS}}''' - {{#arraymap:{{{MISC|}}}|;|%|''%''}} | }}{{#if:{{{OLD|}}}|* '''{{fc|{{{color|#d0eb50}}}|OLD VERSIONS}}''' - {{#arraymap:{{{OLD|}}}|;|%|''%''}}| }}</div></includeonly><noinclude>__NOTOC__


Command executed 

{{User:Gernash/NexusDownload
|color=#000000
|MAIN=Main File
|OPT=Option 1; Option 2}}

{{User:Gernash/NexusDownload
|name=Download this super mod
|MAIN= Super mod main file 1.0
|UPDT = Update 1.1beta}}

Result with User:Gernash/NexusDownload


MAIN FILES - {{#arraymap:Main File|;|%|%}}
OPTIONAL FILES - {{#arraymap:Option 1; Option 2|;|%|%}}
Download this super mod :

MAIN FILES - {{#arraymap:Super mod main file 1.0|;|%|%}}
UPDATES - {{#arraymap:Update 1.1beta|;|%|%}}
You don't have the Page Forms extension installed, and therefore, no #arraymap parser function. --Lewis Cawte (talk) ShoutWiki Staff 15:32, 15 February 2019 (UTC)