Difference between revisions of "Help:Property change type"

From COST Action FP0804: FORSYS
Jump to: navigation, search

Warning: require(): Unable to allocate memory for pool. in /data/home/fp0804/www/wiki/includes/AutoLoader.php on line 1191
(Created page with "To change the property type, you simply must edit the property page and add a property like: <nowiki>Has type::number</nowiki> See http://semantic-mediawiki.org/wiki/Hel...")
 
m
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 +
[[Category:Help]]
 
To change the property type, you simply must edit the property page and add a property like:
 
To change the property type, you simply must edit the property page and add a property like:
  
Line 4: 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.
 +
 +
Example:
 +
 +
[[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>
 +
 +
Gets values from a few pages which have been tagged with <nowiki>[[Category:Decision making dimension]]</nowiki>
 +
 +
* [[More than one decision maker]]
 +
* [[More than one decision maker/stakeholder]]
 +
* [[Single decision maker]]

Latest revision as of 19: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]]