Property:RepairedWith

From Salem Wiki
Jump to: navigation, search
(Initial setup)
 
m (Changing type, to accommodate flexibility on use when objects need different ingredients for different parts)
Line 1: Line 1:
 
__SHOWFACTBOX__
 
__SHOWFACTBOX__
;Value = [[Has type::Page]]
+
;Value = [[Has type::String]]
 +
;Fields = [[Has fields::Page; Number; String]]
 
==About==
 
==About==
 
This property holds info on which ingredients are required to repair an [[Object]].<br/>This propert will be used by {{t|PropVals}} to automatically list the values when used multiple times on a page.
 
This property holds info on which ingredients are required to repair an [[Object]].<br/>This propert will be used by {{t|PropVals}} to automatically list the values when used multiple times on a page.
 +
 +
The record-fields, in sequence, are:
 +
#type=[[Special:Types/Page|Page]] ''(required)''
 +
#:Holds the '''pagename''' of the required [[:Category:Objects|Object]].
 +
#type=[[Special:Types/Number|Number]] ''(optional)''
 +
#:Holds the '''amount''' of the required [[:Category:Objects|Object]].<br/>Will need to default to 1 in routines using it.
 +
#type=[[Special:Types/String|String]] ''(optional)''
 +
#:Holds the '''Heading''' of the required [[:Category:Objects|Object]] to group when listing the requirements of the item.<br/>Should eliminate grouping when not used.

Revision as of 15:13, 28 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 ingredients are required to repair an Object.
This propert will be used by {{PropVals}} to automatically list the values when used multiple times on a page.

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 "RepairedWith"
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.