Concept:Property/Properties

From BITPlan profiwiki Wiki
Revision as of 07:47, 6 November 2015 by Wf (talk | contribs) (created by WikiTask 2015-11-06T06:47:25Z)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

properties of Property

Property:Property name

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

Property:Property label

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

Property:Property type

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

Property:Property index

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

Property:Property sortPos

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

Property:Property primaryKey

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

Property:Property mandatory

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

Property:Property namespace

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

Property:Property size

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

Property:Property uploadable

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

Property:Property defaultValue

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

Property:Property inputType

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

Property:Property allowedValues

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

Property:Property documentation

{{Property
|name=documentation
|documentation=The documentation for a property
|type=Special:Types/Text
|label=documentation
|primaryKey=false
|mandatory=false
|uploadable=false
|size=500
|index=14
|sortPos=
|defaultValue=
|inputType=textarea
|allowedValues=
|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
|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
|label=values from
|primaryKey=false
|mandatory=false
|uploadable=false
|size=200
|index=15
|sortPos=
|defaultValue=
|inputType=textarea
|allowedValues=
|topic=Concept:Property
|storemode=property
}}
[[Has type::Code]]
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }}

Property:Property showInGrid

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

Property:Property isLink

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

Property:Property nullable

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

Property:Property topic

{{Property
|name=topic
|documentation=
|type=Special:Types/Page
|label=topic
|primaryKey=
|mandatory=
|uploadable=
|size=
|index=
|sortPos=
|defaultValue=
|inputType=dropdown
|allowedValues=
|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://profiwiki.bitplan.com/index.php?title=Concept:Property/Properties&oldid=184#smw-result"