Property:Property defaultValue
Jump to navigation
Jump to search
(transfered by WikiBackup wikiTask at 2015-11-05T19:45:07Z) |
m (transfered by WikiBackup wikiTask at 2017-11-05T18:05:15Z) |
||
Line 1: | Line 1: | ||
+ | |||
{{Property | {{Property | ||
− | | | + | |name=defaultValue |
− | |||
− | |||
− | |||
− | |||
|label=default | |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. | |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) | see http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#.27field.27_tag (default) | ||
|type=Special:Types/Code | |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 | |storemode=property | ||
}} | }} | ||
[[Has type::Code]] | [[Has type::Code]] | ||
− | + | This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }} | |
− | |||
− | This is a Property with type {{#show: {{ |
Latest revision as of 19:05, 5 November 2017
Property | |
---|---|
name | defaultValue |
label | default |
type | Special:Types/Code |
index | 11 |
sortPos | |
primary key | false |
mandatory | false |
namespace | |
size | 80 |
uploadable | false |
default | |
inputType | |
allowedValues | |
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) |
values from | |
showInGrid | |
isLink | false |
allow nulls? | |
topic | Concept:Property |
Code This is a Property with type Special:Types/Code
F
false
L
<div class="smwpre">200</div>
, <div class="smwpre">Special:Types/Text</div>
, <div class="smwpre">false</div>
, …P
false
true
Special:Types/Text
T
200