Property:Allows value

From Edge of Darkness Wiki

Allows value
Jump to: navigation, search

Allows value is a special property in Semantic MediaWiki with a built-in meaning: it lists one permissible value for a property.

You can use this special property with a property of any datatype to limit its possible values. For example, the page for a Problem severity property might contain:

 [[allows value::Enhancement]],[[allows value::Trivial]],[[allows value::Minor]],
 [[allows value::Normal]],[[allows value::Major]],[[allows value::Critical]]

Ordered properties

Enumerating several Allows value does not put the possible values of a property in that order; properties of Type:String will still sort in alphabetical order. You can ensure alphabetical sort order is appropriate using a prefix, for example:

 [[allows value::a-Enhancement]],[[allows value::b-Trivial]], [[allows value::c-Minor]]...

and then you can query for greater-than-or-equal or less-than-or-equal values, for example [[property name::<c-Minor]]

You can create a property of Type:Number and give it allowed values that are "pseudo-numbers", for example:

 [[Allows value::1 - Low]] [[Allows value::2 - Medium]] [[Allows value::2 - Middling]] ...

SMW's number datatype ignores the "- description" after the number. This gives the set of properties a numerical order and lets you make two values equivalent.

This documentation page applies to all SMW versions from 1.0 to the most current version.
     

Property:Allows value en 1.0


(previous 25) (next 25)

Pages using the property "Allows value"

This property is a special property in this wiki. Showing 25 pages using this property.

A

Athletics Dodge +1  +
Attributes +INT  +, WIT  +, RES  +,
Auspice +Cahalith  +, Elodoth  +, Irraka  +,
Auspice Blessing +1  +
Autumn Hollow +1  +, 2  +, 3  +,
Autumn Hollow Amenities +0  +, 1  +, 2  +,
Autumn Hollow Doors +0  +, 1  +, 2  +,
Autumn Hollow Size +0  +, 1  +, 2  +,
Autumn Hollow Wards +0  +, 1  +, 2  +,
Autumn Titles +Ashen Notary  +, Courtier  +, Dread Esquire  +,

B

Blood Potency +1  +, 2  +, 3  +,
Bloodline +Adrestoi  +, Agonistes  +, Alucinor  +,
Brawl +0  +, 1  +, 2  +,
Brawling Dodge +1  +
Brownies Boon +1  +
Brute Force +1  +, 2  +, 3  +,

C

Cabal Titles +Doorwarden  +, Edgetender  +, Farseeker  +,
Carthian Movement Title +Prefect  +, Myrmidon  +
Character Status +Active  +, Inactive  +, Deceased  +
Character Type +All  +, Changeling  +, Ensorcelled  +,
Circle of the Crone Title +Adhvaryu  +, Chorus  +, Haruspex  +,
Clan +Daeva  +, Gangrel  +, Mekhet  +,
Clan Status +0  +, 1  +, 2  +,
Clan Title +Priscus  +, Whip  +, None  +
Combat Marksmanship +1  +, 2  +, 3  +,
(previous 25) (next 25)
Facts about Allows valueRDF feed
From version1.0  +
Language codeen  +
Master pageAllows value  +
Personal tools
Namespaces
Variants
Actions
Navigation
games
Toolbox