Difference between revisions of "Template:ArrayMapPropertyBulletedListLink"

From Wikispooks
Jump to navigation Jump to search
(Created page with "<noinclude>Category:TemplatesThis sub-template is for creating a bulleted list of links from a comma-separated list.<br/> See also: Template:ArrayMapList for no bullet...")
 
(tidier code)
Line 3: Line 3:
 
Usage:<br/>
 
Usage:<br/>
 
{{t|<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|a,b,c...|Property name}}</nowiki>}}
 
{{t|<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|a,b,c...|Property name}}</nowiki>}}
</noinclude><includeonly>{{ArrayMapProperty|{{{1|}}}|{{{2|}}}}}{{#if: {{{1|}}}|{{#if: {{Contains|,|{{{1|}}}}}|{{#if: {{{1|}}}|•&nbsp;}}{{#arraymap:{{{1|}}}|,|x|x|<br/>•&nbsp;}}|{{{1|}}}}}}}</includeonly>
+
</noinclude><includeonly>{{ArrayMapProperty|{{{1|}}}|{{{2|}}}}}{{ArrayMapBulletedListLink|{{{1|}}}|{{{2|}}}}}</includeonly>

Revision as of 04:31, 18 August 2014

This sub-template is for creating a bulleted list of links from a comma-separated list.
See also: Template:ArrayMapList for no bullets, Template:ArrayMapBulletedListLink for links. Usage:
{{ArrayMapPropertyBulletedListLink|a,b,c...|Property name}}