Difference between revisions of "Template:ArrayMapProperty"

From Wikispooks
Jump to navigation Jump to search
(link to the new template)
m (Reverted edits by Robin (talk) to last revision by Peter)
Line 1: Line 1:
<noinclude>[[Category:Templates]]This sub-template is for assigning properties from comma-separated lists. See also [[Template:ArrayMapPropertyC]], which capitalizes each element in the list.<br/>
+
<noinclude>[[Category:Templates]]This sub-template is for assigning properties from comma-separated lists.<br/>
 
Usage:<br/>
 
Usage:<br/>
 
{{t|<nowiki>{{ArrayMapProperty|a,b,c...|Property name}}</nowiki>}}
 
{{t|<nowiki>{{ArrayMapProperty|a,b,c...|Property name}}</nowiki>}}
 
</noinclude><includeonly>{{#arraymap:{{{1|}}}|,|x|[[{{{2|}}}::x| ]]|&#32;}}</includeonly>
 
</noinclude><includeonly>{{#arraymap:{{{1|}}}|,|x|[[{{{2|}}}::x| ]]|&#32;}}</includeonly>

Revision as of 02:28, 23 February 2014

This sub-template is for assigning properties from comma-separated lists.
Usage:
{{ArrayMapProperty|a,b,c...|Property name}}