Difference between revisions of "Template:ArrayMapProperty"

From Wikispooks
Jump to navigation Jump to search
(for tidier arraymaps)
 
(fix)
Line 1: Line 1:
 
<noinclude>[[Category:Templates]]This sub-template is for assigning properties from comma-separated lists.<br/>
 
<noinclude>[[Category:Templates]]This sub-template is for assigning properties from comma-separated lists.<br/>
 
Usage:<br/>
 
Usage:<br/>
{{t|<nowiki>{{ArrayMapProperty|Comma-separated-list|Property name}}</nowiki>}}
+
<nowiki>{{t|{{ArrayMapProperty|Comma-separated-list|Property name}}}}</nowiki>
</noinclude><include>{{#arraymap:{{{1|}}}|,|x|[[{{{2}}}::x| ]]|&#32;}}</include>
+
</noinclude><includeonly>{{#arraymap:{{{1|}}}|,|x|[[{{{2}}}::x| ]]|&#32;}}</includeonly>

Revision as of 16:00, 19 January 2014

This sub-template is for assigning properties from comma-separated lists.
Usage:
{{t|{{ArrayMapProperty|Comma-separated-list|Property name}}}}