Contents

The #set parser function allows to annotate data, i.e. assign values to a property, silently. If you want to, you can avoid the [[Property::value]] syntax (in-text annotation) completely using a #set call. Starting with Semantic MediaWiki 1.9.0Released on 3 January 2014 and compatible with MW 1.19.0 - 1.22.x. the #set parser function also provides special parameters that provide many more features.

This parser function actually does not return anything, but saves the very same properties as data as the following silent or hidden in-text annotation would have:

[[Has population::2,229,621| ]]
[[Located in country::France| ]]

It is no longer needed doing it like this, you can just use a #set call as shown in the example above.

It is also possible to set multiple values to the same property:

{{#set:
Has postcode=75001
|Has postcode=75002
...
}}

Starting with Semantic MediaWiki 1.9.0Released on 3 January 2014 and compatible with MW 1.19.0 - 1.22.x.1 you may use the separator parameter to assign multiple values to a property. See the respective help page for further information.