Property:HPrec

From Salem Wiki
Jump to: navigation, search
m (→‎About: still unusable)
m (5 revisions imported)
 
(No difference)

Latest revision as of 20:23, 9 January 2018

Value = Record
Fields = Amount, Amount, Amount

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)
I used "[[Has fields::Number; Number; Number]]", as was mentioned in documentation.
I hoped with new values it would work, but no see here
⇐⇑©TriMoon™TalkHandyWikiLinks @ 17:28, 31 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:

  1. type=Number (required)
    Holds the minimum amount of Hit Points of the Object.
  2. 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.
  3. type=Number (optional)
    Holds the avarage amount of Hit Points of the Object.
    Needs to be calculated when left empty.
... 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.
Has type"Has type" is a predefined property that describes the datatype of a property and is provided by Semantic MediaWiki.