Difference between revisions of "Template:ArrayMapBulletedListLink"

From Wikispooks
Jump to navigation Jump to search
(fix)
(restore the link for single items)
Line 4: Line 4:
 
{{t|<nowiki>{{ArrayMapListLink|a,b,c...}}</nowiki>}}
 
{{t|<nowiki>{{ArrayMapListLink|a,b,c...}}</nowiki>}}
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{{#if: {{Contains|,|[[{{{1|}}}]]}}|{{#if: {{{1|}}}|•&nbsp;}}{{#arraymap:{{{1|}}}|,|x|[[x]]|<br/>•&nbsp;}}|{{{1|}}}}}</includeonly>
+
{{#if: {{Contains|,|[[{{{1|}}}]]}}|{{#if: {{{1|}}}|•&nbsp;}}{{#arraymap:{{{1|}}}|,|x|[[x]]|<br/>•&nbsp;}}|[[{{{1|}}}]]}}</includeonly>

Revision as of 12:21, 11 August 2014

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...}}