Difference between revisions of "Template:ArrayMapPropertyListLink"
Jump to navigation
Jump to search
(tweak) |
m |
||
(5 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, [[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|[[{{{2|}}}::x]] |, }}</includeonly> | + | </noinclude><includeonly>{{#arraymap:{{{1|}}}|,|x|[[{{SmartLink/Anchor|{{{2|}}}}}::x| ]]{{SmartLink|x}} |, }}</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}}