Difference between revisions of "Concept:Property/Properties"

From BITPlan royal-family Wiki
Jump to navigation Jump to search
(created by WikiTask 2017-10-03T17:24:36Z)
 
m (created by WikiTask 2019-10-11T04:56:41Z)
 
Line 1: Line 1:
 
== properties of Property ==
 
== properties of Property ==
=== [[Property:Property name]] ===
+
=== [[Property:Property index]] ===
 
<pre>
 
<pre>
  
 
{{Property
 
{{Property
|name=name
+
|name=index
|label=name
+
|label=index
|documentation=The name of the property
+
|documentation=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.
|type=Special:Types/Text
+
|type=Special:Types/Number
|index=1
+
|index=4
|sortPos=1
+
|sortPos=
|primaryKey=true
+
|primaryKey=false
|mandatory=true
+
|mandatory=false
 
|namespace=
 
|namespace=
|size=50
+
|size=
 
|uploadable=false
 
|uploadable=false
 
|defaultValue=
 
|defaultValue=
Line 19: Line 19:
 
|allowedValues=
 
|allowedValues=
 
|values_from=
 
|values_from=
|showInGrid=
+
|showInGrid=true
 
|isLink=false
 
|isLink=false
 
|topic=Concept:Property
 
|topic=Concept:Property
 
|storemode=property
 
|storemode=property
 
}}
 
}}
[[Has type::Text]]
+
[[Has type::Number]]
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
</pre>
 
</pre>
=== [[Property:Property label]] ===
+
=== [[Property:Property sortPos]] ===
 
<pre>
 
<pre>
  
 
{{Property
 
{{Property
|name=label
+
|name=sortPos
|label=label
+
|label=sortPos
|documentation=The label to be shown when in a form
+
|documentation=If none empty >0 this is the position in the sort clause of this
|type=Special:Types/Text
+
property. This is used when displaying list of the topic as the default sort order
|index=2
+
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
 +
|type=Special:Types/Number
 +
|index=5
 
|sortPos=
 
|sortPos=
 
|primaryKey=false
 
|primaryKey=false
 
|mandatory=false
 
|mandatory=false
 
|namespace=
 
|namespace=
|size=50
+
|size=3
 
|uploadable=false
 
|uploadable=false
 
|defaultValue=
 
|defaultValue=
Line 51: Line 56:
 
|storemode=property
 
|storemode=property
 
}}
 
}}
[[Has type::Text]]
+
[[Has type::Number]]
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
</pre>
 
</pre>
=== [[Property:Property type]] ===
+
=== [[Property:Property mandatory]] ===
 
<pre>
 
<pre>
  
 
{{Property
 
{{Property
|name=type
+
|name=mandatory
|label=type
+
|label=mandatory
|documentation=The type of a Property
+
|documentation=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.
|type=Special:Types/Page
+
 
|index=3
+
see http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#.27field.27_tag
 +
|type=Special:Types/Boolean
 +
|index=7
 
|sortPos=
 
|sortPos=
 
|primaryKey=false
 
|primaryKey=false
 
|mandatory=false
 
|mandatory=false
 
|namespace=
 
|namespace=
|size=
+
|size=4
 
|uploadable=false
 
|uploadable=false
|defaultValue=Special:Types/Text
+
|defaultValue=
|inputType=dropdown
+
|inputType=
 
|allowedValues=
 
|allowedValues=
|values_from=property=Property_type
+
|values_from=
|showInGrid=true
+
|showInGrid=
 
|isLink=false
 
|isLink=false
 
|topic=Concept:Property
 
|topic=Concept:Property
 
|storemode=property
 
|storemode=property
 
}}
 
}}
[[Has type::Page]]
+
[[Has type::Boolean]]
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
</pre>
 
</pre>
=== [[Property:Property index]] ===
+
=== [[Property:Property uploadable]] ===
 
<pre>
 
<pre>
  
 
{{Property
 
{{Property
|name=index
+
|name=uploadable
|label=index
+
|label=uploadable
|documentation=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.
+
|documentation=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
|type=Special:Types/Number
+
* https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#.27field.27_tag
|index=4
+
* https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#Uploading_files
 +
 
 +
The type of the target property needs to be Page for this to work
 +
|type=Special:Types/Boolean
 +
|index=10
 
|sortPos=
 
|sortPos=
 
|primaryKey=false
 
|primaryKey=false
 
|mandatory=false
 
|mandatory=false
 
|namespace=
 
|namespace=
|size=
+
|size=4
 
|uploadable=false
 
|uploadable=false
 
|defaultValue=
 
|defaultValue=
Line 100: Line 111:
 
|allowedValues=
 
|allowedValues=
 
|values_from=
 
|values_from=
|showInGrid=true
+
|showInGrid=
 
|isLink=false
 
|isLink=false
 
|topic=Concept:Property
 
|topic=Concept:Property
 
|storemode=property
 
|storemode=property
 
}}
 
}}
[[Has type::Number]]
+
[[Has type::Boolean]]
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
</pre>
 
</pre>
=== [[Property:Property sortPos]] ===
+
=== [[Property:Property defaultValue]] ===
 
<pre>
 
<pre>
  
 
{{Property
 
{{Property
|name=sortPos
+
|name=defaultValue
|label=sortPos
+
|label=default
|documentation=If none empty >0 this is the position in the sort clause of this  
+
|documentation=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.
property. This is used when displaying list of the topic as the default sort order
 
and it is used for selecting topics .
 
  
E.g.
+
see http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#.27field.27_tag (default)
Sortpos 1 for attribute lastname and sortpos 2 for attribute firstname leads to  sort by lastname,firstname
+
|type=Special:Types/Code
|type=Special:Types/Number
+
|index=11
|index=5
 
 
|sortPos=
 
|sortPos=
 
|primaryKey=false
 
|primaryKey=false
 
|mandatory=false
 
|mandatory=false
 
|namespace=
 
|namespace=
|size=3
+
|size=80
 
|uploadable=false
 
|uploadable=false
 
|defaultValue=
 
|defaultValue=
Line 137: Line 145:
 
|storemode=property
 
|storemode=property
 
}}
 
}}
[[Has type::Number]]
+
[[Has type::Code]]
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
</pre>
 
</pre>
=== [[Property:Property primaryKey]] ===
+
=== [[Property:Property inputType]] ===
 
<pre>
 
<pre>
  
 
{{Property
 
{{Property
|name=primaryKey
+
|name=inputType
|label=primary key
+
|label=inputType
|documentation=is this property a primary key of it's topic?
+
|documentation=see
|type=Special:Types/Boolean
+
* 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.
|index=6
+
* 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
 +
|type=Special:Types/Text
 +
|index=12
 
|sortPos=
 
|sortPos=
 
|primaryKey=false
 
|primaryKey=false
 
|mandatory=false
 
|mandatory=false
 
|namespace=
 
|namespace=
|size=4
+
|size=50
 
|uploadable=false
 
|uploadable=false
 
|defaultValue=
 
|defaultValue=
|inputType=
+
|inputType=dropdown
|allowedValues=
+
|allowedValues=text, combobox, dropdown, textarea, tree, datetime, datepicker, timepicker, datetimepicker, menuselect,two listboxes, datecheck, regexp, radiobutton, googlemaps
 
|values_from=
 
|values_from=
 
|showInGrid=
 
|showInGrid=
Line 164: Line 175:
 
|storemode=property
 
|storemode=property
 
}}
 
}}
[[Has type::Boolean]]
+
[[Has type::Text]]
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
</pre>
 
</pre>
=== [[Property:Property mandatory]] ===
+
=== [[Property:Property allowedValues]] ===
 
<pre>
 
<pre>
  
 
{{Property
 
{{Property
|name=mandatory
+
|name=allowedValues
|label=mandatory
+
|label=allowedValues
|documentation=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.
+
|documentation=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.
  
see http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#.27field.27_tag
+
If you specify any values method number 2 will be used here which might override any allowed Values specified with method number 1.
|type=Special:Types/Boolean
+
|type=Special:Types/Text
|index=7
+
|index=13
 
|sortPos=
 
|sortPos=
 
|primaryKey=false
 
|primaryKey=false
 
|mandatory=false
 
|mandatory=false
 
|namespace=
 
|namespace=
|size=4
+
|size=50
 
|uploadable=false
 
|uploadable=false
 
|defaultValue=
 
|defaultValue=
Line 193: Line 206:
 
|storemode=property
 
|storemode=property
 
}}
 
}}
[[Has type::Boolean]]
+
[[Has type::Text]]
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
</pre>
 
</pre>
=== [[Property:Property namespace]] ===
+
=== [[Property:Property values_from]] ===
 
<pre>
 
<pre>
  
 
{{Property
 
{{Property
|name=namespace
+
|name=values_from
|label=namespace
+
|label=values from
|documentation=namespace prefix
+
|documentation=Specifies where to get the possible values to be displayed in a form from see
|type=Special:Types/Text
+
http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#.27field.27_tag
|index=8
+
 
 +
* values from property=property name - Similar to values=, but gets its values from the the set of all values that a certain SMW property points to.
 +
* values from category=category name - Similar to values=, but gets its values from the names of all pages belonging to a specific category.
 +
* values from concept=concept name - Similar to values=, but gets its values from the names of all pages belonging to a specific concept.
 +
* values from namespace=namespace name - Similar to values=, but gets its values from the names of all pages belonging to a specific namespace. (To get values from the main namespace, use 'Main' for the namespace name, or just leave it blank.)
 +
* values from url=URL identifier - Used only for autocompletion. Specifies that autocompletion should be based on the values retrieved from an outside URL; see Autocompleting on outside values for how to do this.
 +
* values from external data=variable name - Used for autocompletion. You need to have theExternal Data extension installed to be able to use this parameter. It specifies that autocompletion should be based on the data retrieved from an outside source. A large number of data sources are supported, including web APIs, regular wiki pages, files on the local server, databases and LDAP directories. See Autocompletion using External Data.
 +
|type=Special:Types/Code
 +
|index=15
 
|sortPos=
 
|sortPos=
 
|primaryKey=false
 
|primaryKey=false
 
|mandatory=false
 
|mandatory=false
 
|namespace=
 
|namespace=
|size=20
+
|size=200
 
|uploadable=false
 
|uploadable=false
 
|defaultValue=
 
|defaultValue=
|inputType=
+
|inputType=textarea
 
|allowedValues=
 
|allowedValues=
 
|values_from=
 
|values_from=
Line 220: Line 241:
 
|storemode=property
 
|storemode=property
 
}}
 
}}
[[Has type::Text]]
+
[[Has type::Code]]
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
</pre>
 
</pre>
=== [[Property:Property size]] ===
+
=== [[Property:Property showInGrid]] ===
 
<pre>
 
<pre>
  
 
{{Property
 
{{Property
|name=size
+
|name=showInGrid
|label=size
+
|label=showInGrid
|documentation=the display size of the field for the property
+
|documentation=I am true if this property is displayed in the default list of properties for my topic as
|type=Special:Types/Number
+
a column
|index=9
+
|type=Special:Types/Boolean
 +
|index=16
 
|sortPos=
 
|sortPos=
 
|primaryKey=false
 
|primaryKey=false
 
|mandatory=false
 
|mandatory=false
 
|namespace=
 
|namespace=
|size=3
+
|size=
 
|uploadable=false
 
|uploadable=false
|defaultValue=
+
|defaultValue=true
 
|inputType=
 
|inputType=
 
|allowedValues=
 
|allowedValues=
 
|values_from=
 
|values_from=
|showInGrid=
+
|showInGrid=true
 
|isLink=false
 
|isLink=false
 
|topic=Concept:Property
 
|topic=Concept:Property
 
|storemode=property
 
|storemode=property
 
}}
 
}}
[[Has type::Number]]
+
[[Has type::Boolean]]
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
</pre>
 
</pre>
=== [[Property:Property uploadable]] ===
+
=== [[Property:Property isLink]] ===
 
<pre>
 
<pre>
  
 
{{Property
 
{{Property
|name=uploadable
+
|name=isLink
|label=uploadable
+
|label=isLink
|documentation=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
+
|documentation=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
* https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#.27field.27_tag
 
* https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#Uploading_files
 
 
 
The type of the target property needs to be Page for this to work
 
 
|type=Special:Types/Boolean
 
|type=Special:Types/Boolean
|index=10
+
|index=17
 
|sortPos=
 
|sortPos=
 
|primaryKey=false
 
|primaryKey=false
 
|mandatory=false
 
|mandatory=false
 
|namespace=
 
|namespace=
|size=4
+
|size=
 
|uploadable=false
 
|uploadable=false
 
|defaultValue=
 
|defaultValue=
Line 273: Line 291:
 
|allowedValues=
 
|allowedValues=
 
|values_from=
 
|values_from=
|showInGrid=
+
|showInGrid=false
 
|isLink=false
 
|isLink=false
 
|topic=Concept:Property
 
|topic=Concept:Property
Line 281: Line 299:
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
</pre>
 
</pre>
=== [[Property:Property defaultValue]] ===
+
=== [[Property:Property type]] ===
 
<pre>
 
<pre>
  
 
{{Property
 
{{Property
|name=defaultValue
+
|name=type
|label=default
+
|label=type
|documentation=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.
+
|documentation=The type of a Property
 
+
|type=Special:Types/Page
see http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#.27field.27_tag (default)
+
|index=3
|type=Special:Types/Code
 
|index=11
 
 
|sortPos=
 
|sortPos=
 
|primaryKey=false
 
|primaryKey=false
 
|mandatory=false
 
|mandatory=false
 
|namespace=
 
|namespace=
|size=80
+
|size=
 
|uploadable=false
 
|uploadable=false
|defaultValue=
+
|defaultValue=Special:Types/Text
|inputType=
+
|inputType=dropdown
 
|allowedValues=
 
|allowedValues=
|values_from=
+
|values_from=property=Property_type
|showInGrid=
+
|showInGrid=true
 
|isLink=false
 
|isLink=false
 
|topic=Concept:Property
 
|topic=Concept:Property
 
|storemode=property
 
|storemode=property
 
}}
 
}}
[[Has type::Code]]
+
[[Has type::Page]]
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
</pre>
 
</pre>
=== [[Property:Property inputType]] ===
+
=== [[Property:Property name]] ===
 
<pre>
 
<pre>
  
 
{{Property
 
{{Property
|name=inputType
+
|name=name
|label=inputType
+
|label=name
|documentation=see
+
|documentation=The name of the property
* 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
 
 
|type=Special:Types/Text
 
|type=Special:Types/Text
|index=12
+
|index=1
|sortPos=
+
|sortPos=1
|primaryKey=false
+
|primaryKey=true
|mandatory=false
+
|mandatory=true
 
|namespace=
 
|namespace=
 
|size=50
 
|size=50
 
|uploadable=false
 
|uploadable=false
 
|defaultValue=
 
|defaultValue=
|inputType=dropdown
+
|inputType=
|allowedValues=text, combobox, dropdown, textarea, tree, datetime, datepicker, timepicker, datetimepicker, menuselect,two listboxes, datecheck, regexp, radiobutton, googlemaps
+
|allowedValues=
 
|values_from=
 
|values_from=
 
|showInGrid=
 
|showInGrid=
Line 340: Line 353:
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
</pre>
 
</pre>
=== [[Property:Property allowedValues]] ===
+
=== [[Property:Property label]] ===
 
<pre>
 
<pre>
  
 
{{Property
 
{{Property
|name=allowedValues
+
|name=label
|label=allowedValues
+
|label=label
|documentation=There are two ways to specified allowed Values:
+
|documentation=The label to be shown when in a form
# 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.
 
 
|type=Special:Types/Text
 
|type=Special:Types/Text
|index=13
+
|index=2
 
|sortPos=
 
|sortPos=
 
|primaryKey=false
 
|primaryKey=false
Line 371: Line 380:
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
</pre>
 
</pre>
=== [[Property:Property documentation]] ===
+
=== [[Property:Property primaryKey]] ===
 
<pre>
 
<pre>
  
 
{{Property
 
{{Property
|name=documentation
+
|name=primaryKey
|label=documentation
+
|label=primary key
|documentation=The documentation for a property
+
|documentation=is this property a primary key of it's topic?
|type=Special:Types/Text
+
|type=Special:Types/Boolean
|index=14
+
|index=6
 
|sortPos=
 
|sortPos=
 
|primaryKey=false
 
|primaryKey=false
 
|mandatory=false
 
|mandatory=false
 
|namespace=
 
|namespace=
|size=500
+
|size=4
 
|uploadable=false
 
|uploadable=false
 
|defaultValue=
 
|defaultValue=
|inputType=textarea
+
|inputType=
 
|allowedValues=
 
|allowedValues=
 
|values_from=
 
|values_from=
Line 395: Line 404:
 
|storemode=property
 
|storemode=property
 
}}
 
}}
[[Has type::Text]]
+
[[Has type::Boolean]]
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
</pre>
 
</pre>
=== [[Property:Property values_from]] ===
+
=== [[Property:Property namespace]] ===
 
<pre>
 
<pre>
  
 
{{Property
 
{{Property
|name=values_from
+
|name=namespace
|label=values from
+
|label=namespace
|documentation=Specifies where to get the possible values to be displayed in a form from see
+
|documentation=namespace prefix
http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#.27field.27_tag
+
|type=Special:Types/Text
 
+
|index=8
* values from property=property name - Similar to values=, but gets its values from the the set of all values that a certain SMW property points to.
 
* values from category=category name - Similar to values=, but gets its values from the names of all pages belonging to a specific category.
 
* values from concept=concept name - Similar to values=, but gets its values from the names of all pages belonging to a specific concept.
 
* values from namespace=namespace name - Similar to values=, but gets its values from the names of all pages belonging to a specific namespace. (To get values from the main namespace, use 'Main' for the namespace name, or just leave it blank.)
 
* values from url=URL identifier - Used only for autocompletion. Specifies that autocompletion should be based on the values retrieved from an outside URL; see Autocompleting on outside values for how to do this.
 
* values from external data=variable name - Used for autocompletion. You need to have theExternal Data extension installed to be able to use this parameter. It specifies that autocompletion should be based on the data retrieved from an outside source. A large number of data sources are supported, including web APIs, regular wiki pages, files on the local server, databases and LDAP directories. See Autocompletion using External Data.
 
|type=Special:Types/Code
 
|index=15
 
 
|sortPos=
 
|sortPos=
 
|primaryKey=false
 
|primaryKey=false
 
|mandatory=false
 
|mandatory=false
 
|namespace=
 
|namespace=
|size=200
+
|size=20
 
|uploadable=false
 
|uploadable=false
 
|defaultValue=
 
|defaultValue=
|inputType=textarea
+
|inputType=
 
|allowedValues=
 
|allowedValues=
 
|values_from=
 
|values_from=
Line 430: Line 431:
 
|storemode=property
 
|storemode=property
 
}}
 
}}
[[Has type::Code]]
+
[[Has type::Text]]
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
</pre>
 
</pre>
=== [[Property:Property showInGrid]] ===
+
=== [[Property:Property size]] ===
 
<pre>
 
<pre>
  
 
{{Property
 
{{Property
|name=showInGrid
+
|name=size
|label=showInGrid
+
|label=size
|documentation=I am true if this property is displayed in the default list of properties for my topic as
+
|documentation=the display size of the field for the property
a column
+
|type=Special:Types/Number
|type=Special:Types/Boolean
+
|index=9
|index=16
 
 
|sortPos=
 
|sortPos=
 
|primaryKey=false
 
|primaryKey=false
 
|mandatory=false
 
|mandatory=false
 
|namespace=
 
|namespace=
|size=
+
|size=3
 
|uploadable=false
 
|uploadable=false
|defaultValue=true
+
|defaultValue=
 
|inputType=
 
|inputType=
 
|allowedValues=
 
|allowedValues=
 
|values_from=
 
|values_from=
|showInGrid=true
+
|showInGrid=
 
|isLink=false
 
|isLink=false
 
|topic=Concept:Property
 
|topic=Concept:Property
 
|storemode=property
 
|storemode=property
 
}}
 
}}
[[Has type::Boolean]]
+
[[Has type::Number]]
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
</pre>
 
</pre>
=== [[Property:Property isLink]] ===
+
=== [[Property:Property documentation]] ===
 
<pre>
 
<pre>
  
 
{{Property
 
{{Property
|name=isLink
+
|name=documentation
|label=isLink
+
|label=documentation
|documentation=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
+
|documentation=The documentation for a property
|type=Special:Types/Boolean
+
|type=Special:Types/Text
|index=17
+
|index=14
 
|sortPos=
 
|sortPos=
 
|primaryKey=false
 
|primaryKey=false
 
|mandatory=false
 
|mandatory=false
 
|namespace=
 
|namespace=
|size=
+
|size=500
 
|uploadable=false
 
|uploadable=false
 
|defaultValue=
 
|defaultValue=
|inputType=
+
|inputType=textarea
 
|allowedValues=
 
|allowedValues=
 
|values_from=
 
|values_from=
|showInGrid=false
+
|showInGrid=
 
|isLink=false
 
|isLink=false
 
|topic=Concept:Property
 
|topic=Concept:Property
 
|storemode=property
 
|storemode=property
 
}}
 
}}
[[Has type::Boolean]]
+
[[Has type::Text]]
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
 
</pre>
 
</pre>

Latest revision as of 05:56, 11 October 2019

properties of Property

Property:Property index


{{Property
|name=index
|label=index
|documentation=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.
|type=Special:Types/Number
|index=4
|sortPos=
|primaryKey=false
|mandatory=false
|namespace=
|size=
|uploadable=false
|defaultValue=
|inputType=
|allowedValues=
|values_from=
|showInGrid=true
|isLink=false
|topic=Concept:Property
|storemode=property
}}
[[Has type::Number]]
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}

Property:Property sortPos


{{Property
|name=sortPos
|label=sortPos
|documentation=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
|type=Special:Types/Number
|index=5
|sortPos=
|primaryKey=false
|mandatory=false
|namespace=
|size=3
|uploadable=false
|defaultValue=
|inputType=
|allowedValues=
|values_from=
|showInGrid=
|isLink=false
|topic=Concept:Property
|storemode=property
}}
[[Has type::Number]]
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}

Property:Property mandatory


{{Property
|name=mandatory
|label=mandatory
|documentation=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
|type=Special:Types/Boolean
|index=7
|sortPos=
|primaryKey=false
|mandatory=false
|namespace=
|size=4
|uploadable=false
|defaultValue=
|inputType=
|allowedValues=
|values_from=
|showInGrid=
|isLink=false
|topic=Concept:Property
|storemode=property
}}
[[Has type::Boolean]]
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}

Property:Property uploadable


{{Property
|name=uploadable
|label=uploadable
|documentation=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
* https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#.27field.27_tag
* https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#Uploading_files

The type of the target property needs to be Page for this to work
|type=Special:Types/Boolean
|index=10
|sortPos=
|primaryKey=false
|mandatory=false
|namespace=
|size=4
|uploadable=false
|defaultValue=
|inputType=
|allowedValues=
|values_from=
|showInGrid=
|isLink=false
|topic=Concept:Property
|storemode=property
}}
[[Has type::Boolean]]
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}

Property:Property defaultValue


{{Property
|name=defaultValue
|label=default
|documentation=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)
|type=Special:Types/Code
|index=11
|sortPos=
|primaryKey=false
|mandatory=false
|namespace=
|size=80
|uploadable=false
|defaultValue=
|inputType=
|allowedValues=
|values_from=
|showInGrid=
|isLink=false
|topic=Concept:Property
|storemode=property
}}
[[Has type::Code]]
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}

Property:Property inputType


{{Property
|name=inputType
|label=inputType
|documentation=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
|type=Special:Types/Text
|index=12
|sortPos=
|primaryKey=false
|mandatory=false
|namespace=
|size=50
|uploadable=false
|defaultValue=
|inputType=dropdown
|allowedValues=text, combobox, dropdown, textarea, tree, datetime, datepicker, timepicker, datetimepicker, menuselect,two listboxes, datecheck, regexp, radiobutton, googlemaps
|values_from=
|showInGrid=
|isLink=false
|topic=Concept:Property
|storemode=property
}}
[[Has type::Text]]
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}

Property:Property allowedValues


{{Property
|name=allowedValues
|label=allowedValues
|documentation=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.
|type=Special:Types/Text
|index=13
|sortPos=
|primaryKey=false
|mandatory=false
|namespace=
|size=50
|uploadable=false
|defaultValue=
|inputType=
|allowedValues=
|values_from=
|showInGrid=
|isLink=false
|topic=Concept:Property
|storemode=property
}}
[[Has type::Text]]
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}

Property:Property values_from


{{Property
|name=values_from
|label=values from
|documentation=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

* values from property=property name - Similar to values=, but gets its values from the the set of all values that a certain SMW property points to.
* values from category=category name - Similar to values=, but gets its values from the names of all pages belonging to a specific category.
* values from concept=concept name - Similar to values=, but gets its values from the names of all pages belonging to a specific concept.
* values from namespace=namespace name - Similar to values=, but gets its values from the names of all pages belonging to a specific namespace. (To get values from the main namespace, use 'Main' for the namespace name, or just leave it blank.)
* values from url=URL identifier - Used only for autocompletion. Specifies that autocompletion should be based on the values retrieved from an outside URL; see Autocompleting on outside values for how to do this.
* values from external data=variable name - Used for autocompletion. You need to have theExternal Data extension installed to be able to use this parameter. It specifies that autocompletion should be based on the data retrieved from an outside source. A large number of data sources are supported, including web APIs, regular wiki pages, files on the local server, databases and LDAP directories. See Autocompletion using External Data.
|type=Special:Types/Code
|index=15
|sortPos=
|primaryKey=false
|mandatory=false
|namespace=
|size=200
|uploadable=false
|defaultValue=
|inputType=textarea
|allowedValues=
|values_from=
|showInGrid=
|isLink=false
|topic=Concept:Property
|storemode=property
}}
[[Has type::Code]]
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}

Property:Property showInGrid


{{Property
|name=showInGrid
|label=showInGrid
|documentation=I am true if this property is displayed in the default list of properties for my topic as 
a column
|type=Special:Types/Boolean
|index=16
|sortPos=
|primaryKey=false
|mandatory=false
|namespace=
|size=
|uploadable=false
|defaultValue=true
|inputType=
|allowedValues=
|values_from=
|showInGrid=true
|isLink=false
|topic=Concept:Property
|storemode=property
}}
[[Has type::Boolean]]
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}

Property:Property isLink


{{Property
|name=isLink
|label=isLink
|documentation=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
|type=Special:Types/Boolean
|index=17
|sortPos=
|primaryKey=false
|mandatory=false
|namespace=
|size=
|uploadable=false
|defaultValue=
|inputType=
|allowedValues=
|values_from=
|showInGrid=false
|isLink=false
|topic=Concept:Property
|storemode=property
}}
[[Has type::Boolean]]
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}

Property:Property type


{{Property
|name=type
|label=type
|documentation=The type of a Property
|type=Special:Types/Page
|index=3
|sortPos=
|primaryKey=false
|mandatory=false
|namespace=
|size=
|uploadable=false
|defaultValue=Special:Types/Text
|inputType=dropdown
|allowedValues=
|values_from=property=Property_type
|showInGrid=true
|isLink=false
|topic=Concept:Property
|storemode=property
}}
[[Has type::Page]]
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}

Property:Property name


{{Property
|name=name
|label=name
|documentation=The name of the property
|type=Special:Types/Text
|index=1
|sortPos=1
|primaryKey=true
|mandatory=true
|namespace=
|size=50
|uploadable=false
|defaultValue=
|inputType=
|allowedValues=
|values_from=
|showInGrid=
|isLink=false
|topic=Concept:Property
|storemode=property
}}
[[Has type::Text]]
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}

Property:Property label


{{Property
|name=label
|label=label
|documentation=The label to be shown when in a form
|type=Special:Types/Text
|index=2
|sortPos=
|primaryKey=false
|mandatory=false
|namespace=
|size=50
|uploadable=false
|defaultValue=
|inputType=
|allowedValues=
|values_from=
|showInGrid=
|isLink=false
|topic=Concept:Property
|storemode=property
}}
[[Has type::Text]]
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}

Property:Property primaryKey


{{Property
|name=primaryKey
|label=primary key
|documentation=is this property a primary key of it's topic?
|type=Special:Types/Boolean
|index=6
|sortPos=
|primaryKey=false
|mandatory=false
|namespace=
|size=4
|uploadable=false
|defaultValue=
|inputType=
|allowedValues=
|values_from=
|showInGrid=
|isLink=false
|topic=Concept:Property
|storemode=property
}}
[[Has type::Boolean]]
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}

Property:Property namespace


{{Property
|name=namespace
|label=namespace
|documentation=namespace prefix
|type=Special:Types/Text
|index=8
|sortPos=
|primaryKey=false
|mandatory=false
|namespace=
|size=20
|uploadable=false
|defaultValue=
|inputType=
|allowedValues=
|values_from=
|showInGrid=
|isLink=false
|topic=Concept:Property
|storemode=property
}}
[[Has type::Text]]
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}

Property:Property size


{{Property
|name=size
|label=size
|documentation=the display size of the field for the property
|type=Special:Types/Number
|index=9
|sortPos=
|primaryKey=false
|mandatory=false
|namespace=
|size=3
|uploadable=false
|defaultValue=
|inputType=
|allowedValues=
|values_from=
|showInGrid=
|isLink=false
|topic=Concept:Property
|storemode=property
}}
[[Has type::Number]]
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}

Property:Property documentation


{{Property
|name=documentation
|label=documentation
|documentation=The documentation for a property
|type=Special:Types/Text
|index=14
|sortPos=
|primaryKey=false
|mandatory=false
|namespace=
|size=500
|uploadable=false
|defaultValue=
|inputType=textarea
|allowedValues=
|values_from=
|showInGrid=
|isLink=false
|topic=Concept:Property
|storemode=property
}}
[[Has type::Text]]
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}

Property:Property nullable


{{Property
|name=nullable
|label=allow nulls?
|documentation=should nullvalues be allowed and value set to NULL when empty?
|type=Special:Types/Boolean
|index=18
|sortPos=
|primaryKey=false
|mandatory=false
|namespace=
|size=
|uploadable=false
|defaultValue=false
|inputType=
|allowedValues=
|values_from=
|showInGrid=false
|isLink=false
|topic=Concept:Property
|storemode=property
}}
[[Has type::Boolean]]
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}

Property:Property topic


{{Property
|name=topic
|label=topic
|documentation=
|type=Special:Types/Page
|index=
|sortPos=
|primaryKey=
|mandatory=
|namespace=
|size=
|uploadable=
|defaultValue=
|inputType=dropdown
|allowedValues=
|values_from=concept=Topic
|showInGrid=
|isLink=true
|topic=Concept:Property
|storemode=property
}}
[[Has type::Page]]
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}
Showing below 0 pages.

Retrieved from "http://royal-family.bitplan.com/index.php?title=Concept:Property/Properties&oldid=1368#smw-result"