Semantic MediaWiki and related extensions
|
The function mw.smw.getPropertyType
provides an easy way to get the type of a given property. Note however, that it uses the smw internal property types, not the one you might be used to.
{{#invoke:smw|type|Modification date}}
can be used as it returns a simple string value such as _dat
.