Help:Special property "Allows value list"

Jump to: navigation, search
Allows value list
Adds a reference to a list of permissible values for a property
Further Information
Provided by: Semantic MediaWiki
Added: 2.5.0
Removed: still in use
Alias: has no alias
Is optional: yes
Label: not specified
Focus: property restriction
In this wiki: Property:Allows value list

The Allows value list property is a special property in Semantic MediaWiki with a built-in meaning: it assigns a reference which is used to define a page which allows to map a list of permissible values to the referencing property. The referenced page is located like a system message in the "MediaWiki" namespace and consists of the string "Smw_allows_list_" and the stored reference as a suffix to it, e.g. "MediaWiki:Smw_allows_list_..." with "..." being replaced by the reference added to this special property. It was introduced with Semantic MediaWiki


Two steps have to be taken to use this special property:

  1. Add [[Allows value list::...]] to a property page for defining a page reference, e.g. [[Allows value list::Foo]] will define page "MediaWiki:Smw_allows_list_Foo".
  2. Add permissible values as listed items starting either with "*" or "**" to the "MediaWiki:Smw_allows_list_..." page, e.g. "* Bar" or "** Foobar" to page "MediaWiki:Smw_allows_list_Foo".


See also

This documentation page applies to all SMW versions from 2.5.0 to the most current version.

Help:Special property Allows value list en 2.5.0