Property:Has type

From open-support.info

Revision as of 02:50, 15 April 2011 by Dick6809 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 sandbox.semantic-mediawiki.org 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]].


(previous 25) (next 25)

Pages using the property "Has type"

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

B

Book chain +Page  +
Book example +String  +
Book figure +String  +
Book heading +String  +
Book next +String  +
Book script +String  +
Book table +String  +
Book title +String  +

D

Description +Text  +
Docinfo author +Page  +
Docinfo category +Page  +
Docinfo editor +Page  +
Docinfo language +String  +
Docinfo master page +Page  +
Docinfo master rev +Number  +
Docinfo priority +Number  +
Docinfo progress +Number  +
Docinfo status +String  +
Docinfo support +Page  +

M

Made by +Page  +

N

Namespace +String  +

P

Percent recycled +Number  +
Product name +String  +

R

Revision id +Number  +

U

Uses recycled plastic +Boolean  +
(previous 25) (next 25)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox