Changes between Version 77 and Version 78 of TaggingPresets
- Timestamp:
- 2014-10-30T14:34:29+01:00 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TaggingPresets
v77 v78 77 77 '''<checkgroup>''':: 78 78 To group checks. The ''columns'' attribute is required. 79 '''<roles>''':: 80 This is required around <role> and adds the heading ("Availible roles role count elements") to the table which is generated by several <role>. 81 '''<role>''':: 82 To specify possible roles of members in relations. The ''key'' attribute is required, ''text'', ''requisite'', ''count'', ''type'' and ''member_expression'' are optional. 79 83 ==== Set a fixed key value pair ==== 80 84 '''<key>''':: … … 104 108 Translation context for name attribute to separate equals words with different meaning (not required for in-file translations). 105 109 '''type="data_type"''':: 106 When specified, only objects of the given type will be changed at all by this tagging preset. Can be "node", "relation", "way", "closedway" or any comma separated combination of them. 110 When specified, only objects of the given type will be changed at all by this tagging preset. Can be "node", "relation", "way", "closedway" or any comma separated combination of them. Also used in the <role> tag to specify which object types are allowed for a specific relation member. 107 111 '''icon="iconname"''':: 108 112 A name or link to an icon. The image will be used as icon to display in the selection list and when adding the preset to the toolbar. The icon should be quadratic in size. See [[Styles#Iconhandling]] how icons can be specified. 109 113 '''key="some_key"''':: 110 This specifies the property key that will be modified by the item. 114 This specifies the property key that will be modified by the item. In case of <role> it is the role name used in a relation. 111 115 '''text="Any text"''':: 112 116 The description, that will be displayed before (after in case of <check>) the gui element. … … 149 153 '''columns="a number"''':: 150 154 the number of columns of grouped checks 155 '''requisite="optional|required"''':: 156 If a relation member is optional or required. Default is "optional". 157 '''count="a number"''':: 158 How often can a role occur (if not given unlimited number is assumed) 159 '''member_expression="an expression"''':: 160 an expression (cf. search dialog) for objects of this role 151 161 152 162 To support translations, all textual elements may be used in translated form. E.g. "de.name" would represent the name in case German language support is loaded. … … 246 256 disable_off: whether the off value is disabled in the dialog, i.e., only unset or yes are provided 247 257 248 role: type to specify possible roles in relations249 key: the role name used in relation250 text: fixed label to display251 requisite: optional/required (default is "optional")252 count: how often can the role occur (if not given unlimited number is assumed)253 type: the data types - way,node,relation,closedway (separated by comma)254 member_expression: an expression (cf. search dialog) for objects of this role255 256 258 The fields "name", "text", "display_values" may also be localized (e.g. de.name). 257 259 When translations of equal words but different meanings may conflict, a translation
