Difference between revisions of "Help:Property change type"

From forestDSS
Jump to: navigation, search
m
 
Line 5: Line 5:
  
 
See http://semantic-mediawiki.org/wiki/Help:Properties_and_types#Datatypes_for_properties for a list of property types.
 
See http://semantic-mediawiki.org/wiki/Help:Properties_and_types#Datatypes_for_properties for a list of property types.
 +
 +
==Page type==
  
 
If changing to type Page, and you want a set of values available for a form, one must create a page for each value.
 
If changing to type Page, and you want a set of values available for a form, one must create a page for each value.
Line 10: Line 12:
 
Example:
 
Example:
  
Property:Has decision making dimension
+
[[Property:Has decision making dimension]]
  
 
When used in form, <nowiki>{{{field|Has decision making dimension|input type=listbox|values from category=Decision making dimension|size=3}}}</nowiki>
 
When used in form, <nowiki>{{{field|Has decision making dimension|input type=listbox|values from category=Decision making dimension|size=3}}}</nowiki>
Line 17: Line 19:
  
 
* [[More than one decision maker]]
 
* [[More than one decision maker]]
* More than one decision maker/stakeholder
+
* [[More than one decision maker/stakeholder]]
* Single decision maker
+
* [[Single decision maker]]

Latest revision as of 18:07, 29 June 2013

To change the property type, you simply must edit the property page and add a property like:

[[Has type::number]]

See http://semantic-mediawiki.org/wiki/Help:Properties_and_types#Datatypes_for_properties for a list of property types.

Page type

If changing to type Page, and you want a set of values available for a form, one must create a page for each value.

Example:

Property:Has decision making dimension

When used in form, {{{field|Has decision making dimension|input type=listbox|values from category=Decision making dimension|size=3}}}

Gets values from a few pages which have been tagged with [[Category:Decision making dimension]]