Template:Property: Difference between revisions
No edit summary |
Tim Holzheim (talk | contribs) No edit summary |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This is the Property | This is the template {{Link|target=Template:Property|title=}}. | ||
== See also == | |||
*[[:List of Properties]] | |||
*[[:Help:Property]] | |||
*[[:Category:Property]] | |||
*[[:Concept:Property]] | |||
*[[:Form:Property]] | |||
*[[:Template:Property]] | |||
== | |||
== Usage == | |||
<pre> | <pre> | ||
{{Property | {{Property | ||
|name= | |name=Some name | ||
|label= | |label=Some label | ||
|documentation= | |documentation=Some documentation | ||
|type= | |type=Some type | ||
| | |primary key=Some primary key | ||
| | |mandatory=Some mandatory | ||
| | |namespace=Some namespace | ||
| | |size=Some size | ||
| | |index=Some index | ||
| | |uploadable=Some uploadable | ||
| | |default=Some default | ||
| | |sortPos=Some sortPos | ||
|inputType= | |inputType=Some inputType | ||
|allowedValues= | |allowedValues=Some allowedValues | ||
| | |values from=Some values from | ||
|showInGrid= | |showInGrid=Some showInGrid | ||
|isLink= | |isLink=Some isLink | ||
| | |allow nulls?=Some allow nulls? | ||
| | |topic=Some topic | ||
}} | }} | ||
</pre> | </pre> | ||
{{Property | |||
|name=Some name | |||
|label=Some label | |||
|documentation=Some documentation | |||
|type=Some type | |||
|primary key=Some primary key | |||
|mandatory=Some mandatory | |||
|namespace=Some namespace | |||
|size=Some size | |||
|index=Some index | |||
|uploadable=Some uploadable | |||
|default=Some default | |||
|sortPos=Some sortPos | |||
|inputType=Some inputType | |||
|allowedValues=Some allowedValues | |||
|values from=Some values from | |||
|showInGrid=Some showInGrid | |||
|isLink=Some isLink | |||
|allow nulls?=Some allow nulls? | |||
|topic=Some topic | |||
}} | |||
[[Category:Template]] | [[Category:Template]] | ||
</noinclude><includeonly></includeonly> | </noinclude> | ||
<includeonly> | |||
{{#set:isA=Property | |||
|Property name={{{name|}}} | |||
|Property label={{{label|}}} | |||
|Property documentation={{{documentation|}}} | |||
|Property type={{{type|}}} | |||
|Property primaryKey={{{primary key|}}} | |||
|Property mandatory={{{mandatory|}}} | |||
|Property namespace={{{namespace|}}} | |||
|Property size={{{size|}}} | |||
|Property index={{{index|}}} | |||
|Property uploadable={{{uploadable|}}} | |||
|Property defaultValue={{{default|}}} | |||
|Property sortPos={{{sortPos|}}} | |||
|Property inputType={{{inputType|}}} | |||
|Property allowedValues={{{allowedValues|}}} | |||
|Property values from={{{values from|}}} | |||
|Property showInGrid={{{showInGrid|}}} | |||
|Property isLink={{{isLink|}}} | |||
|Property nullable={{{allow nulls?|}}} | |||
|Property topic={{{topic|}}} | |||
}} | |||
{| class='wikitable' | |||
! colspan=2 | {{#formlink:form=Property|link text=✎|target={{FULLPAGENAME}}|tooltip=Start editing this Property}} Property | |||
|- | |||
!style="text-align:left" |[[Property name::@@@|name]] | |||
| {{#if:{{{name|}}}|{{{name|}}}|}} | |||
|- | |||
!style="text-align:left" |[[Property label::@@@|label]] | |||
| {{#if:{{{label|}}}|{{{label|}}}|}} | |||
|- | |||
!style="text-align:left" |[[Property documentation::@@@|documentation]] | |||
| {{#if:{{{documentation|}}}|{{{documentation|}}}|}} | |||
|- | |||
!style="text-align:left" |[[Property type::@@@|type]] | |||
| {{#if:{{{type|}}}|{{{type|}}}|}} | |||
|- | |||
!style="text-align:left" |[[Property primaryKey::@@@|primary key]] | |||
| {{#if:{{{primary key|}}}|{{{primary key|}}}|}} | |||
|- | |||
!style="text-align:left" |[[Property mandatory::@@@|mandatory]] | |||
| {{#if:{{{mandatory|}}}|{{{mandatory|}}}|}} | |||
|- | |||
!style="text-align:left" |[[Property namespace::@@@|namespace]] | |||
| {{#if:{{{namespace|}}}|{{{namespace|}}}|}} | |||
|- | |||
!style="text-align:left" |[[Property size::@@@|size]] | |||
| {{#if:{{{size|}}}|{{{size|}}}|}} | |||
|- | |||
!style="text-align:left" |[[Property index::@@@|index]] | |||
| {{#if:{{{index|}}}|{{{index|}}}|}} | |||
|- | |||
!style="text-align:left" |[[Property uploadable::@@@|uploadable]] | |||
| {{#if:{{{uploadable|}}}|{{{uploadable|}}}|}} | |||
|- | |||
!style="text-align:left" |[[Property defaultValue::@@@|default]] | |||
| {{#if:{{{default|}}}|{{{default|}}}|}} | |||
|- | |||
!style="text-align:left" |[[Property sortPos::@@@|sortPos]] | |||
| {{#if:{{{sortPos|}}}|{{{sortPos|}}}|}} | |||
|- | |||
!style="text-align:left" |[[Property inputType::@@@|inputType]] | |||
| {{#if:{{{inputType|}}}|{{{inputType|}}}|}} | |||
|- | |||
!style="text-align:left" |[[Property allowedValues::@@@|allowedValues]] | |||
| {{#if:{{{allowedValues|}}}|{{{allowedValues|}}}|}} | |||
|- | |||
!style="text-align:left" |[[Property values from::@@@|values from]] | |||
| {{#if:{{{values from|}}}|{{{values from|}}}|}} | |||
|- | |||
!style="text-align:left" |[[Property showInGrid::@@@|showInGrid]] | |||
| {{#if:{{{showInGrid|}}}|{{{showInGrid|}}}|}} | |||
|- | |||
!style="text-align:left" |[[Property isLink::@@@|isLink]] | |||
| {{#if:{{{isLink|}}}|{{{isLink|}}}|}} | |||
|- | |||
!style="text-align:left" |[[Property nullable::@@@|allow nulls?]] | |||
| {{#if:{{{allow nulls?|}}}|{{{allow nulls?|}}}|}} | |||
|- | |||
!style="text-align:left" |[[Property topic::@@@|topic]] | |||
| {{#if:{{{topic|}}}|{{{topic|}}}|}} | |||
|- | |||
|} | |||
[[Category:Property]]{{#default_form:Property}}</includeonly> | |||
Latest revision as of 22:41, 1 April 2021
This is the template Template:Property.
See also
Usage
{{Property
|name=Some name
|label=Some label
|documentation=Some documentation
|type=Some type
|primary key=Some primary key
|mandatory=Some mandatory
|namespace=Some namespace
|size=Some size
|index=Some index
|uploadable=Some uploadable
|default=Some default
|sortPos=Some sortPos
|inputType=Some inputType
|allowedValues=Some allowedValues
|values from=Some values from
|showInGrid=Some showInGrid
|isLink=Some isLink
|allow nulls?=Some allow nulls?
|topic=Some topic
}}
<ul><li>"Some primary key" is not recognized as a Boolean (true/false) value.</li> <!--br--><li>"Some mandatory" is not recognized as a Boolean (true/false) value.</li> <!--br--><li>"Some size" is not a number.</li> <!--br--><li>"Some index" is not a number.</li> <!--br--><li>"Some uploadable" is not recognized as a Boolean (true/false) value.</li> <!--br--><li>"Some sortPos" is not a number.</li> <!--br--><li>"Some showInGrid" is not recognized as a Boolean (true/false) value.</li> <!--br--><li>"Some isLink" is not recognized as a Boolean (true/false) value.</li> <!--br--><li>"Some allow nulls?" is not recognized as a Boolean (true/false) value.</li></ul>
| ✎ Property | |
|---|---|
| name | Some name |
| label | Some label |
| documentation | Some documentation |
| type | Some type |
| primary key | Some primary key |
| mandatory | Some mandatory |
| namespace | Some namespace |
| size | Some size |
| index | Some index |
| uploadable | Some uploadable |
| default | Some default |
| sortPos | Some sortPos |
| inputType | Some inputType |
| allowedValues | Some allowedValues |
| values from | Some values from |
| showInGrid | Some showInGrid |
| isLink | Some isLink |
| allow nulls? | Some allow nulls? |
| topic | Some topic |