Property:RequiresObj

From Salem Wiki
Jump to: navigation, search
(Initial setup)
 
m (Changing type to "String" until SMW upgrade on this wiki, the current installed version makes "Record" unusable)
Line 1: Line 1:
 
__SHOWFACTBOX__
 
__SHOWFACTBOX__
;Value = [[Has type::Record]]
+
;Value = [[Has type::String]]
 
;Fields = [[Has fields::Page; Number; String]]
 
;Fields = [[Has fields::Page; Number; String]]
 
==About==
 
==About==

Revision as of 13:46, 20 June 2012

Value = String
Fields = PageThis property is a special property in this wiki., Number"Number" is a type and predefined property provided by Semantic MediaWiki to represent numeric values., TextThis property is a special property in this wiki.

About

This property holds info on which Objects are required per item.
The record-fields, in sequence, are:

  1. type=Page (required)
    Holds the pagename of the required Object.
  2. type=Number (optional)
    Holds the amount of the required Object.
    Will need to default to 1 in routines using it.
  3. type=String (optional)
    Holds the Heading of the required Object to group when listing the requirements of the item.
    Should eliminate grouping when not used.
... more about "RequiresObj"
Has fields"Has fields" is a predefined property to define a list of properties used with a record typed property and is provided by Semantic MediaWiki.
PageThis property is a special property in this wiki., Number"Number" is a type and predefined property provided by Semantic MediaWiki to represent numeric values., TextThis property is a special property in this wiki. +
Has type"Has type" is a predefined property that describes the datatype of a property and is provided by Semantic MediaWiki.