Demo:Setting multiple values using a separator

From semantic-mediawiki.org
Jump to: navigation, search

#set

{{#set:
 |has set test 1=Example 1;Example 2;Example 3;Example 4|+sep=;
 |has set test 2=More examples
 |has set test 3=12+22+3+4+5+6+7+8+9+10|+sep=+
 |has set test 4=In between example
 |has set test 5=123,1234,12345,|+sep=
 |has set test 6=One,or,two,more,examples|+sep
 |has set test 6=Last example
 |has set test 7=Pipe1|Pipe2|Pipe3
}}

For details and verification, see the Special:Browse.

#subobject

{{#subobject:
 |has subobject test 1=Example 1;Example 2;Example 3;Example 4|+sep=;
 |has subobject test 2=More examples
 |has subobject test 3=12+22+3+4+5+6+7+8+9+10|+sep=+
 |has subobject test 4=In between example
 |has subobject test 5=123,1234,12345,|+sep=
 |has subobject test 6=One; or; three; more; examples|+sep=; 
 |has subobject test 6=Last example
 |has subobject test 7=Pipe1|Pipe2|Pipe3
}}

For details and verification, see the Special:Browse.