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 +PageThis type is among the standard datatypes of this wiki.  +
Book example +StringThis type is among the standard datatypes of this wiki.  +
Book figure +StringThis type is among the standard datatypes of this wiki.  +
Book heading +StringThis type is among the standard datatypes of this wiki.  +
Book next +StringThis type is among the standard datatypes of this wiki.  +
Book script +StringThis type is among the standard datatypes of this wiki.  +
Book table +StringThis type is among the standard datatypes of this wiki.  +
Book title +StringThis type is among the standard datatypes of this wiki.  +

D

Description +TextThis type is among the standard datatypes of this wiki.  +
Docinfo author +PageThis type is among the standard datatypes of this wiki.  +
Docinfo category +PageThis type is among the standard datatypes of this wiki.  +
Docinfo editor +PageThis type is among the standard datatypes of this wiki.  +
Docinfo language +StringThis type is among the standard datatypes of this wiki.  +
Docinfo master page +PageThis type is among the standard datatypes of this wiki.  +
Docinfo master rev +NumberThis type is among the standard datatypes of this wiki.  +
Docinfo priority +NumberThis type is among the standard datatypes of this wiki.  +
Docinfo progress +NumberThis type is among the standard datatypes of this wiki.  +
Docinfo status +StringThis type is among the standard datatypes of this wiki.  +
Docinfo support +PageThis type is among the standard datatypes of this wiki.  +

M

Made by +PageThis type is among the standard datatypes of this wiki.  +

N

Namespace +StringThis type is among the standard datatypes of this wiki.  +

P

Percent recycled +NumberThis type is among the standard datatypes of this wiki.  +
Product name +StringThis type is among the standard datatypes of this wiki.  +

R

Revision id +NumberThis type is among the standard datatypes of this wiki.  +

U

Uses recycled plastic +BooleanThis type is among the standard datatypes of this wiki.  +
(previous 25) (next 25)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox