Property:Property defaultValue
Jump to navigation
Jump to search
Tim Holzheim (talk | contribs) |
Tim Holzheim (talk | contribs) m (Reverted edits by Tim Holzheim (talk) to last revision by Wf) Tag: Rollback |
||
Line 1: | Line 1: | ||
− | |||
{{Property | {{Property | ||
|name=defaultValue | |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 |
− | | | + | |index=11 |
− | | | + | |sortPos= |
+ | |primaryKey=false | ||
+ | |mandatory=false | ||
+ | |namespace= | ||
+ | |size=80 | ||
+ | |uploadable=false | ||
+ | |defaultValue= | ||
+ | |inputType= | ||
+ | |allowedValues= | ||
+ | |values_from= | ||
+ | |showInGrid= | ||
+ | |isLink=false | ||
|topic=Concept:Property | |topic=Concept:Property | ||
|storemode=property | |storemode=property | ||
}} | }} | ||
− | + | [[Has type::Code]] | |
− | [[Has type:: | ||
This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }} | This is a Property with type {{#show: {{FULLPAGENAMEE}} | ?Property type#- }} |
Revision as of 22:05, 5 March 2021
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 |
placeholder | |
regex |
Code This is a Property with type Special:Types/Text