Help:Adding subobjects

From semantic-mediawiki.org
Jump to: navigation, search
Adding subobjects
Set a sub object to a page
Further Information
Provided by: Semantic MediaWiki
Minimum version: 1.7.0
Maximum version: still supported
Function: yes
Tag: no
Name: #subobject
Table of Contents

The parser function #subobject allows SMW annotations to refer to objects that have their own property-value pairs just like wiki pages, but that do not actually have a page in the wiki. This can be used to "group" property-value pairs given on one page without requiring new auxiliary pages to be created. It also integrates the main functionality of the Semantic Internal Objects (SIO) extension into SMW. The pages containing values set with this parser function are stored with special property Has subobject.

Syntax

{{#subobject:street address
| street number=10
| street name=Parks Road
| postcode=OX1 3QD
| city=Oxford
| country=UK
}}

External links


This documentation page applies to all SMW versions from 1.7.0 to the most current version.
      Other languages: dezh-hans

Help:Adding subobjects en 1.7.0


Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox