Difference between revisions of "Template:ArrayMapPropertyListLink"

From Wikispooks
Jump to navigation Jump to search
(Add SmartLink)
(Add SmartLink/Anchor rather than SmartLink)
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|[[{{SmartLink|{{{2|}}}}}::x]] |,&#32;}}</includeonly>
+
</noinclude><includeonly>{{#arraymap:{{{1|}}}|,|x|[[{{SmartLink/Anchor|{{{2|}}}}}::x]] |,&#32;}}</includeonly>

Revision as of 02:34, 14 March 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}}