Difference between revisions of "Template:ArrayMapPropertyListLink"

From Wikispooks
Jump to navigation Jump to search
(Add SmartLink)
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>[[Category:ArrayMap 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, [[Template:ArrayMapListLink]] to not set any property, and [[Template:ArrayMapPropertyBulletedListLink]] for a similar thing but with bullets.<br/>
+
See also [[Template:ArrayMapProperty]] to set the properties but not display anything, [[Template:ArrayMapListLink]] to not set any property, [[Template:ArrayMapPropertyListImageLink]] for a similar thing but with images as well (if available), and [[Template:ArrayMapPropertyBulletedListLink]] for a similar thing but with bullets.<br/>
 
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| ]]{{SmartLink|x}} |,&#32;}}</includeonly>

Latest revision as of 13:05, 14 October 2024

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, Template:ArrayMapPropertyListImageLink for a similar thing but with images as well (if available), and Template:ArrayMapPropertyBulletedListLink for a similar thing but with bullets.
Usage:
{{ArrayMapPropertyListLink|a,b,c...|Property name}}