Difference between revisions of "Help:Property"
(created by WikiTask 2018-06-18T23:09:37Z) |
(modified by py-yprinciple-gen 0.3.4) |
||
Line 9: | Line 9: | ||
|?Topic documentation = documentation | |?Topic documentation = documentation | ||
}} | }} | ||
+ | |||
=== Documentation === | === Documentation === | ||
see | see | ||
Line 29: | Line 30: | ||
|format=table | |format=table | ||
}} | }} | ||
− | |||
=== uml === | === uml === | ||
− | <uml> | + | <uml format='svg'> |
title Property | title Property | ||
note as PropertyDiagramNote | note as PropertyDiagramNote | ||
− | Copyright (c) 2015- | + | Copyright (c) 2015-2024 BITPlan GmbH |
[[http://www.bitplan.com]] | [[http://www.bitplan.com]] | ||
end note | end note | ||
Line 44: | Line 44: | ||
Text label | Text label | ||
Page type | Page type | ||
+ | Text scope | ||
Number index | Number index | ||
Number sortPos | Number sortPos | ||
Line 56: | Line 57: | ||
Text documentation | Text documentation | ||
Code values_from | Code values_from | ||
+ | Text externalFormatterURI | ||
Boolean showInGrid | Boolean showInGrid | ||
Boolean isLink | Boolean isLink | ||
Line 62: | Line 64: | ||
} | } | ||
PropertyNote .. Property | PropertyNote .. Property | ||
− | |||
Property "usedByProperties (*)" -- "smw_type(1)" SMW_Type | Property "usedByProperties (*)" -- "smw_type(1)" SMW_Type | ||
− | + | Property "usedByProperties (*)" -- "smw_type(1)" SMW_Type | |
− | |||
' BITPlan Corporate identity skin params | ' BITPlan Corporate identity skin params | ||
− | ' Copyright (c) 2015- | + | ' Copyright (c) 2015-2024 BITPlan GmbH |
− | ' see | + | ' see https://wiki.bitplan.com/index.php/PlantUmlSkinParams#BITPlanCI |
− | ' skinparams generated by | + | ' skinparams generated by py-yprinciple-gen |
skinparam note { | skinparam note { | ||
BackGroundColor #FFFFFF | BackGroundColor #FFFFFF | ||
Line 145: | Line 145: | ||
' end of skinparams ' | ' end of skinparams ' | ||
</uml> | </uml> | ||
− | |||
see also | see also | ||
* [[List of Properties]] | * [[List of Properties]] | ||
Line 153: | Line 152: | ||
* [[:Template:Property]] | * [[:Template:Property]] | ||
* [[:Form:Property]] | * [[:Form:Property]] | ||
− | + | related topics: | |
− | * [[ | + | * [[Concept:SMW_Type]] |
[[Category:Property]] | [[Category:Property]] |
Latest revision as of 09:53, 27 November 2024
Help for Property
icon | Topic | name | pluralName | documentation |
---|---|---|---|---|
Property | Property | Properties | a Property is a Feature/Attribute of a Topic |
Documentation
see
- https://semantic-mediawiki.org/wiki/Help:Properties_and_types
- https://semantic-mediawiki.org/wiki/Help:Special_properties
- https://semantic-mediawiki.org/wiki/Help:List_of_datatypes
Example Properties
Action actionpage, Action author, Action comment, Action engine, Action input, Action inputtype, Action name, Action output, Action service, Action servicetype, Action since, Context copyright, Context demo, Context master, Context name, Context since, Context updated, Fixme done, Fixme todo, Leg from, Leg to, Leg wp num, Loc category, Loc from, Loc id, Loc latlon, Loc name, Loc notes, Loc to, Property allowedValues, Property defaultValue, Property documentation, Property externalFormatterURI, Property index, Property inputType, Property isLink, Property label, Property mandatory, Property name, Property namespace, Property nullable, Property primaryKey, Property scope, Property showInGrid, Property size, Property sortPos, Property topic, Property type, Property uploadable, Property values from... further results
Properties
documentation | type | name | label | allowedValues | mandatory | uploadable | |
---|---|---|---|---|---|---|---|
Property allowedValues | There are two ways to specified allowed Values:
| Types/Text | allowedValues | allowedValues | false | false | |
Property defaultValue | default value - Specifies a default value for this field. For date-related fields, default=now will set the value to the current date and possibly time. For text fields, default=current user will set the value to the username of the user adding this page. For the checkbox input type, default=yes will check the checkbox by default. (The 'checkboxes' input type, on the other hand, like the 'listbox' type, requires specifying the actual values, like default=Value A, Value C.) You can also include templates, parser functions, and magic words within the 'default=' value. see http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#.27field.27_tag (default) | Types/Code | defaultValue | default | false | false | |
Property documentation | The documentation for a property | Types/Text | documentation | documentation | false | false | |
Property externalFormatterURI | see https://www.semantic-mediawiki.org/wiki/Help:Special_property_External_formatter_URI When using this property the type of the property should be set to https://www.semantic-mediawiki.org/wiki/Help:Type_External_identifier automatically by the generator | Types/Text | externalFormatterURI | external formatter URI | false | false | |
Property index | A positive number that specifies at which position of a Topic the given property should show. The first property to show has the index 1 each following property has an index that is +1 of the previous. | Types/Number | index | index | false | false | |
Property inputType | see
| Types/Text | inputType | inputType | text, combobox, dropdown, textarea, tree, datetime, datepicker, timepicker, datetimepicker, menuselect,two listboxes, datecheck, regexp, radiobutton, googlemaps | false | false |
Property isLink | true if this Property is derived form a Link. It will not be exported to SiDIF separately and automatically be added by the Property Generator | Types/Boolean | isLink | isLink | false | false | |
Property label | The label to be shown when in a form | Types/Text | label | label | false | false | |
Property mandatory | Specifies that this field must be filled in by the user. Note: mandatory should not be used in conjunction with hidden. Use of both in any field will cause the mandatory check on any field to fail when the form is saved. see http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#.27field.27_tag | Types/Boolean | mandatory | mandatory | false | false | |
Property name | The name of the property | Types/Text | name | name | true | false | |
Property namespace | namespace prefix | Types/Text | namespace | namespace | false | false | |
Property nullable | should nullvalues be allowed and value set to NULL when empty? | Types/Boolean | nullable | allow nulls? | false | false | |
Property primaryKey | is this property a primary key of it's topic? | Types/Boolean | primaryKey | primary key | false | false | |
Property scope | The scope of the property | Types/Text | scope | scope | Root,Override,Global | true | false |
Property showInGrid | I am true if this property is displayed in the default list of properties for my topic as a column | Types/Boolean | showInGrid | showInGrid | false | false | |
Property size | the display size of the field for the property | Types/Number | size | size | false | false | |
Property sortPos | If none empty >0 this is the position in the sort clause of this
property. This is used when displaying list of the topic as the default sort order and it is used for selecting topics . E.g. Sortpos 1 for attribute lastname and sortpos 2 for attribute firstname leads to sort by lastname,firstname | Types/Number | sortPos | sortPos | false | false | |
Property topic | topic | Types/Page | topic | topic | |||
Property type | The type of a Property | Types/Page | type | type | false | false | |
Property uploadable | Specifies that a link should be placed next to this field, that opens a popup window to let the user upload a file; see 'Uploading files', below. See The type of the target property needs to be Page for this to work | Types/Boolean | uploadable | uploadable | false | false | |
Property values from | Specifies where to get the possible values to be displayed in a form from see
http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#.27field.27_tag
| Types/Code | values_from | values from | false | false |
uml
see also
related topics: