Property:RequiresObj
From Salem Wiki
m (→About: update) |
m (5 revisions imported) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
__SHOWFACTBOX__ | __SHOWFACTBOX__ | ||
;Value = [[Has type::String]] | ;Value = [[Has type::String]] | ||
− | ;Fields = [[Has fields:: | + | ;Fields = [[Has fields::Objectname; Amount; Heading]] |
==About== | ==About== | ||
This property holds info on which [[:Category:Objects|Objects]] are required per item. | This property holds info on which [[:Category:Objects|Objects]] are required per item. |
Latest revision as of 20:24, 9 January 2018
- Value = String
- Fields = Objectname, Amount, Heading
About
This property holds info on which Objects are required per item.
This property will be used by {{Infobox}}, using {{PropVals}}, to automatically list the value(s) even when used multiple times on a page.
The record-fields, in sequence, are:
- type=Page (required)
- Holds the pagename of the required Object.
- type=Number (optional)
- Holds the amount of the required Object.
Will need to default to 1 in routines using it.
- Holds the amount of the required Object.
- 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.
- Holds the Heading of the required Object to group when listing the requirements of the item.
... 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.
Has type"Has type" is a predefined property that describes the datatype of a property and is provided by Semantic MediaWiki.