Difference between revisions of "Template:ArrayMapPropertyListLink"

From Wikispooks
Jump to navigation Jump to search
(Untidy but short)
 
(Fix?)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>[[Category:Templates]]This sub-template is for assigning properties from comma-separated lists.<br/>
+
<noinclude>[[Category:ArrayMap Templates]]This sub-template is for assigning properties from comma-separated lists.<br/>
See also [[Template:ArrayMapProperty]] to set the properties but not display anything.<br/>
+
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.<br/>
 
Usage:<br/>
 
Usage:<br/>
{{t|<nowiki>{{ArrayMapPropertyListLink|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}}