Difference between revisions of "Template:ArrayMapPropertyListLink"

From Wikispooks
Jump to navigation Jump to search
(new category)
(Fix?)
 
(2 intermediate revisions by the same user not shown)
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>{{#arraymap:{{{1|}}}|,|x|[[{{{2|}}}::x]] |,&#32;}}</includeonly>
+
</noinclude><includeonly>{{#arraymap:{{{1|}}}|,|x|[[{{SmartLink/Anchor|{{{2|}}}}}::x| ]]{{SmartLink|x}} |,&#32;}}</includeonly>

Latest revision as of 06:39, 17 November 2016

This sub-template is for assigning properties from comma-separated lists.
See also Template:ArrayMapProperty to set the properties but not display anything, Template:ArrayMapListLink to not set any property, and Template:ArrayMapPropertyBulletedListLink for a similar thing but with bullets.
Usage:
{{ArrayMapPropertyListLink|a,b,c...|Property name}}