Difference between revisions of "Template:ArrayMapBulletedListLink"

From Wikispooks
Jump to navigation Jump to search
(No bullet in case of one item only)
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>[[Category:Templates]]This sub-template is for creating a bulleted list of links from a comma-separated list.<br/>
+
<noinclude>[[Category:ArrayMap Templates]]This template is for creating a bulleted list of links from a comma-separated list.<br/>
See [[Template:ArrayMapListLink]] for the (more common) comma-separated list of links.<br/>
+
 
 +
See [[Template:ArrayMapListLink]] for the (more common) comma-separated list of links, or [[Template:ArrayMapBulletedListImageLink]] to add images next to the links.<br/>
 
Usage:<br/>
 
Usage:<br/>
 
{{t|<nowiki>{{ArrayMapListLink|a,b,c...}}</nowiki>}}
 
{{t|<nowiki>{{ArrayMapListLink|a,b,c...}}</nowiki>}}
</noinclude><includeonly>
+
</noinclude><includeonly>{{#if: {{{1|}}}|{{#if: {{Contains|,|{{SmartLink|{{{1|}}}}}}}|•&nbsp;{{#arraymap:{{{1|}}}|,|@@@|{{SmartLink|@@@}}|<br/>•&nbsp;}}|{{SmartLink|{{{1|}}}}}}}}}</includeonly>
{{#if: {{Contains|,|{{{1|}}}}}|{{#if: {{{1|}}}|•&nbsp;}}{{#arraymap:{{{1|}}}|,|x|[[x]]|<br/>•&nbsp;}}|{{{1|}}}}}</includeonly>
 

Latest revision as of 14:43, 22 September 2024

This 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, or Template:ArrayMapBulletedListImageLink to add images next to the links.
Usage:
{{ArrayMapListLink|a,b,c...}}