Property:Has type

From HackerspaceWiki
Jump to: navigation, search

Has type is a special property in Semantic MediaWiki with a built-in meaning: it assigns a type to a property. Special:Types lists the types available in the wiki. See datatypes in the Help system.

For example, the page for Property:Population would specify [[has type::Number]]. "Has type" assumes its value is in the Type namespace, so you can omit the prefix Type:.

Since version 1.0, SMW allows many-valued properties. Types for these properties are specified by listing multiple types as the value of Has type, separated by semicolons. For example, on Property:Employment takes a link to a company, a job title, and a start and end date, so it specifies its type as [[has type:=Page; String; Date; Date]].

This documentation page applies to all SMW versions from 1.0 to the most current version.
"Has type" is a predefined property (also known as special property). It is a built-in property that comes with additional administrative privileges but can be used just like any other user-defined property.

Pages using the property "Has type"

This property is a special property in this wiki. Showing 25 pages using this property.

(previous 25) (next 25)


Abstract deadline +Date  +
Articlepagename +Page  +


Basepagename +Page  +


CalendarFeed +URL  +
Callsign +Text  +
Camera ready due +Date  +
City +Page  +
Country +Page  +


Date +Date  +
Date of founding +Date  +
Demo deadline +Date  +
Description +Text  +
Diaspora* +Text  +


Email +Email  +
Employer +Page  +
End date +Date  +
Equipment +Page  +
Event Name +Text  +
Event Type +Page  +
Event in series +Page  +
EventBrite +URL  +
Exchanges +Text  +


FCC Class +Text  +
Facebook +URL  +
Firstname +Text  +
(previous 25) (next 25)
Personal tools