Property:Property documentation
Jump to navigation
Jump to search
Property | |
---|---|
edit | |
name | documentation |
label | documentation |
type | Special:Types/Text |
index | 14 |
sortPos | |
primary key | false |
mandatory | false |
namespace | |
size | 500 |
uploadable | false |
default | |
inputType | textarea |
allowedValues | |
documentation | The documentation for a property |
values from | |
showInGrid | |
isLink | |
allow nulls? | |
topic | Concept:Property |
Property This is a Property with type Special:Types/Text
P
description for OBDII parameter +
example for parameter +
frequency on CANBus +
There are two ways to specified allowed Values:
# https://semantic-mediawiki.org/wiki/Help:Special_property_Allows_value. <br>Use [[Property:Allows_value]] to see which values are allowed for certain properties
# http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#.27field.27_tag<br>values=possible values - Specifies a set of either possible values or autocompletion values (depending on the input type) that this field can have, overriding whatever set of values may have been set from the Semantic MediaWiki property. This set of values is separated by commas by default, but the delimiter can be modified using the delimiter= parameter.
If you specify any values method number 2 will be used here which might override any allowed Values specified with method number 1. +
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) +
The documentation for a property +
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. +
see
* http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#.27field.27_tag<br>input type - Specifies the type of input this field will have in the form. If a field corresponds to an SMW property or Cargo field, the form will usually have the correct input type by default; otherwise the default is text. If the corresponding SMW property, or Cargo field, cannot be automatically determined, you can use the parameter 'property', or the parameters 'cargo table' and 'cargo field', to manually specify it (see below). The allowed set of input types is different for every semantic property type; see below for the full list of options.
* http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#Allowed_input_types_for_data_types
* http://www.mediawiki.org/wiki/Extension:Semantic_Forms_Inputs +
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 +
The label to be shown when in a form +
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 +
The name of the property +
namespace prefix +
is this property a primary key of it's topic? +
I am true if this property is displayed in the default list of properties for my topic as
a column +
the display size of the field for the property +
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
A negative sortPos means "sort descending". E.g. sortpos -1 for year and sortpos -2 for month means sort by year,month descending,descending +