From Hacked by!
Jump to: navigation, search

Semantic MediaWiki uses types, or more specifically, datatypes, to express the way a property should be treated. When instances of unknown properties are added to a page, they are treated as members of the default type, Page, unless the property pages themselves are created beforehand.

Aside from Page, the SMW interface has several other predefined types, among them String (or Text on newer versions), Number, Date, Geographic coordinates, and URL.

A special property, Has type, defines what type other properties should use. At the Hacked by!, this is achieved through use of {{property type}}.

See also