Difference between revisions of "Template:ArrayMapBulletedListLink"

From Wikispooks
Jump to navigation Jump to search
(fix!)
 
(5 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
Usage:<br/>
 
Usage:<br/>
 
{{t|<nowiki>{{ArrayMapListLink|a,b,c...}}</nowiki>}}
 
{{t|<nowiki>{{ArrayMapListLink|a,b,c...}}</nowiki>}}
</noinclude><includeonly>{{#if: {{{1|}}}|{{#if: {{Contains|,|[[{{{1|}}}]]}}|{{#if: {{{1|}}}|•&nbsp;}}{{#arraymap:{{{1|}}}|,|x|{{SmartLink|x}}|<br/>•&nbsp;}}|{{SmartLink|{{{1|}}}}}}}}}</includeonly>
+
</noinclude><includeonly>{{#if: {{{1|}}}|{{#if: {{Contains|,|{{SmartLink|{{{1|}}}}}}}|•&nbsp;{{#arraymap:{{{1|}}}|,|@@@|{{SmartLink|@@@}}|<br/>•&nbsp;}}|{{SmartLink|{{{1|}}}}}}}}}</includeonly>

Latest revision as of 13:07, 30 August 2016

This sub-template is for creating a bulleted list of links from a comma-separated list.
See Template:ArrayMapListLink for the (more common) comma-separated list of links.
Usage:
{{ArrayMapListLink|a,b,c...}}