Property:HPrec
From Salem Wiki
(Initial setup) |
m (→About: linked to report for reference) |
||
Line 3: | Line 3: | ||
;Fields = [[Has fields::Number; Number; Number]] | ;Fields = [[Has fields::Number; Number; Number]] | ||
==About== | ==About== | ||
+ | <span style="color:red">Due to a bug in SMW v1.7.1 we are still unable to use type Record!<br/>See [http://semantic-mediawiki.org/wiki/Help_talk:Type_Record#not_working_as_intended_with_multiple_fields_of_same_type report]{{:User:©TriMoon™/Signature}} 13:58, 13 July 2012 (CDT)</span> | ||
This property holds info on how much '''Hit Points''' an [[Object]] has.<br/> | This property holds info on how much '''Hit Points''' an [[Object]] has.<br/> | ||
This property will be used by {{t|Infobox}}, using {{t|HasProp|HPrec}}, to automatically show this info.<br/> | This property will be used by {{t|Infobox}}, using {{t|HasProp|HPrec}}, to automatically show this info.<br/> |
Revision as of 20:58, 13 July 2012
- Value = Record
- Fields = Number"Number" is a type and predefined property provided by Semantic MediaWiki to represent numeric values., Number"Number" is a type and predefined property provided by Semantic MediaWiki to represent numeric values., Number"Number" is a type and predefined property provided by Semantic MediaWiki to represent numeric values.
About
Due to a bug in SMW v1.7.1 we are still unable to use type Record!
See report
⇐⇑©TriMoon™TalkHandyWikiLinks @ 13:58, 13 July 2012 (CDT)
This property holds info on how much Hit Points an Object has.
This property will be used by {{Infobox}}, using {{HasProp|HPrec}}, to automatically show this info.
See Structure Damage for more info.
The record-fields, in sequence, are:
- type=Number (required)
- Holds the minimum amount of Hit Points of the Object.
- type=Number (required)
- Holds the maximum amount of Hit Points of the Object.
Needs to be equal or greater than Field #1.
Will need to default to Field #1, when setting by routines, if left empty.
- Holds the maximum amount of Hit Points of the Object.
- type=Number (optional)
- Holds the avarage amount of Hit Points of the Object.
Needs to be calculated when left empty.
- Holds the avarage amount of Hit Points of the Object.
... more about "HPrec"
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.
Number"Number" is a type and predefined property provided by Semantic MediaWiki to represent numeric values., Number"Number" is a type and predefined property provided by Semantic MediaWiki to represent numeric values., Number"Number" is a type and predefined property provided by Semantic MediaWiki to represent numeric values. +
Has type"Has type" is a predefined property that describes the datatype of a property and is provided by Semantic MediaWiki.