Difference between revisions of "Template:ArrayMapProperty"

From Wikispooks
Jump to navigation Jump to search
(for tidier arraymaps)
 
(new category)
 
(8 intermediate revisions by 2 users 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:ArrayMapPropertyListLink]] to display a list of links to the values.<br/>
 
Usage:<br/>
 
Usage:<br/>
{{t|<nowiki>{{ArrayMapProperty|Comma-separated-list|Property name}}</nowiki>}}
+
{{t|<nowiki>{{ArrayMapProperty|a,b,c...|Property name}}</nowiki>}}
</noinclude><include>{{#arraymap:{{{1|}}}|,|x|[[{{{2}}}::x| ]]|&#32;}}</include>
+
</noinclude><includeonly>{{#arraymap:{{{1|}}}|,|x|[[{{{2|}}}::x| ]]|&#32;}}</includeonly>

Latest revision as of 16:52, 23 March 2015

This sub-template is for assigning properties from comma-separated lists.
See also Template:ArrayMapPropertyListLink to display a list of links to the values.
Usage:
{{ArrayMapProperty|a,b,c...|Property name}}