Difference between revisions of "Template:Property"
Tim Holzheim (talk | contribs) |
Tim Holzheim (talk | contribs) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
This is the template {{Link|target=Template:Property|title=}}. | 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> | ||
{{Property | {{Property | ||
|name=Some name | |name=Some name | ||
|label=Some label | |label=Some label | ||
+ | |documentation=Some documentation | ||
|type=Some type | |type=Some type | ||
− | |||
− | |||
|primary key=Some primary key | |primary key=Some primary key | ||
|mandatory=Some mandatory | |mandatory=Some mandatory | ||
|namespace=Some namespace | |namespace=Some namespace | ||
|size=Some size | |size=Some size | ||
+ | |index=Some index | ||
|uploadable=Some uploadable | |uploadable=Some uploadable | ||
|default=Some default | |default=Some default | ||
+ | |sortPos=Some sortPos | ||
|inputType=Some inputType | |inputType=Some inputType | ||
|allowedValues=Some allowedValues | |allowedValues=Some allowedValues | ||
− | |||
|values from=Some values from | |values from=Some values from | ||
|showInGrid=Some showInGrid | |showInGrid=Some showInGrid | ||
|isLink=Some isLink | |isLink=Some isLink | ||
|allow nulls?=Some allow nulls? | |allow nulls?=Some allow nulls? | ||
− | |||
|topic=Some topic | |topic=Some topic | ||
}} | }} | ||
− | </ | + | </pre> |
{{Property | {{Property | ||
|name=Some name | |name=Some name | ||
|label=Some label | |label=Some label | ||
+ | |documentation=Some documentation | ||
|type=Some type | |type=Some type | ||
− | |||
− | |||
|primary key=Some primary key | |primary key=Some primary key | ||
|mandatory=Some mandatory | |mandatory=Some mandatory | ||
|namespace=Some namespace | |namespace=Some namespace | ||
|size=Some size | |size=Some size | ||
+ | |index=Some index | ||
|uploadable=Some uploadable | |uploadable=Some uploadable | ||
|default=Some default | |default=Some default | ||
+ | |sortPos=Some sortPos | ||
|inputType=Some inputType | |inputType=Some inputType | ||
|allowedValues=Some allowedValues | |allowedValues=Some allowedValues | ||
− | |||
|values from=Some values from | |values from=Some values from | ||
|showInGrid=Some showInGrid | |showInGrid=Some showInGrid | ||
|isLink=Some isLink | |isLink=Some isLink | ||
|allow nulls?=Some allow nulls? | |allow nulls?=Some allow nulls? | ||
− | |||
|topic=Some topic | |topic=Some topic | ||
}} | }} | ||
Line 62: | Line 61: | ||
<includeonly> | <includeonly> | ||
{{#set:isA=Property | {{#set:isA=Property | ||
− | |name={{{name|}}} | + | |Property name={{{name|}}} |
− | |label={{{label|}}} | + | |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|}}} |
− | |uploadable={{{uploadable|}}} | + | |Property uploadable={{{uploadable|}}} |
− | |defaultValue={{{default|}}} | + | |Property defaultValue={{{default|}}} |
− | | | + | |Property sortPos={{{sortPos|}}} |
− | | | + | |Property inputType={{{inputType|}}} |
− | | | + | |Property allowedValues={{{allowedValues|}}} |
− | |values from={{{values from|}}} | + | |Property values from={{{values from|}}} |
− | |showInGrid={{{showInGrid|}}} | + | |Property showInGrid={{{showInGrid|}}} |
− | |isLink={{{isLink|}}} | + | |Property isLink={{{isLink|}}} |
− | |nullable={{{allow nulls?|}}} | + | |Property nullable={{{allow nulls?|}}} |
− | | | + | |Property topic={{{topic|}}} |
− | |||
}} | }} | ||
{| class='wikitable' | {| class='wikitable' | ||
− | ! colspan=2 | {{ | + | ! colspan=2 | {{#formlink:form=Property|link text=✎|target={{FULLPAGENAME}}|tooltip=Start editing this Property}} Property |
|- | |- | ||
− | !name | + | !style="text-align:left" |[[Property name::@@@|name]] |
| {{#if:{{{name|}}}|{{{name|}}}|}} | | {{#if:{{{name|}}}|{{{name|}}}|}} | ||
|- | |- | ||
− | !label | + | !style="text-align:left" |[[Property label::@@@|label]] |
| {{#if:{{{label|}}}|{{{label|}}}|}} | | {{#if:{{{label|}}}|{{{label|}}}|}} | ||
|- | |- | ||
− | !type | + | !style="text-align:left" |[[Property documentation::@@@|documentation]] |
+ | | {{#if:{{{documentation|}}}|{{{documentation|}}}|}} | ||
+ | |- | ||
+ | !style="text-align:left" |[[Property type::@@@|type]] | ||
| {{#if:{{{type|}}}|{{{type|}}}|}} | | {{#if:{{{type|}}}|{{{type|}}}|}} | ||
|- | |- | ||
− | ! | + | !style="text-align:left" |[[Property primaryKey::@@@|primary key]] |
− | | | ||
− | |||
− | |||
− | |||
− | | | ||
− | |||
| {{#if:{{{primary key|}}}|{{{primary key|}}}|}} | | {{#if:{{{primary key|}}}|{{{primary key|}}}|}} | ||
|- | |- | ||
− | !mandatory | + | !style="text-align:left" |[[Property mandatory::@@@|mandatory]] |
| {{#if:{{{mandatory|}}}|{{{mandatory|}}}|}} | | {{#if:{{{mandatory|}}}|{{{mandatory|}}}|}} | ||
|- | |- | ||
− | !namespace | + | !style="text-align:left" |[[Property namespace::@@@|namespace]] |
| {{#if:{{{namespace|}}}|{{{namespace|}}}|}} | | {{#if:{{{namespace|}}}|{{{namespace|}}}|}} | ||
|- | |- | ||
− | !size | + | !style="text-align:left" |[[Property size::@@@|size]] |
| {{#if:{{{size|}}}|{{{size|}}}|}} | | {{#if:{{{size|}}}|{{{size|}}}|}} | ||
|- | |- | ||
− | !uploadable | + | !style="text-align:left" |[[Property index::@@@|index]] |
+ | | {{#if:{{{index|}}}|{{{index|}}}|}} | ||
+ | |- | ||
+ | !style="text-align:left" |[[Property uploadable::@@@|uploadable]] | ||
| {{#if:{{{uploadable|}}}|{{{uploadable|}}}|}} | | {{#if:{{{uploadable|}}}|{{{uploadable|}}}|}} | ||
|- | |- | ||
− | !defaultValue | + | !style="text-align:left" |[[Property defaultValue::@@@|default]] |
| {{#if:{{{default|}}}|{{{default|}}}|}} | | {{#if:{{{default|}}}|{{{default|}}}|}} | ||
|- | |- | ||
− | !inputType | + | !style="text-align:left" |[[Property sortPos::@@@|sortPos]] |
+ | | {{#if:{{{sortPos|}}}|{{{sortPos|}}}|}} | ||
+ | |- | ||
+ | !style="text-align:left" |[[Property inputType::@@@|inputType]] | ||
| {{#if:{{{inputType|}}}|{{{inputType|}}}|}} | | {{#if:{{{inputType|}}}|{{{inputType|}}}|}} | ||
|- | |- | ||
− | !allowedValues | + | !style="text-align:left" |[[Property allowedValues::@@@|allowedValues]] |
| {{#if:{{{allowedValues|}}}|{{{allowedValues|}}}|}} | | {{#if:{{{allowedValues|}}}|{{{allowedValues|}}}|}} | ||
|- | |- | ||
− | ! | + | !style="text-align:left" |[[Property values from::@@@|values from]] |
− | | | ||
− | | | ||
− | |||
| {{#if:{{{values from|}}}|{{{values from|}}}|}} | | {{#if:{{{values from|}}}|{{{values from|}}}|}} | ||
|- | |- | ||
− | !showInGrid | + | !style="text-align:left" |[[Property showInGrid::@@@|showInGrid]] |
| {{#if:{{{showInGrid|}}}|{{{showInGrid|}}}|}} | | {{#if:{{{showInGrid|}}}|{{{showInGrid|}}}|}} | ||
|- | |- | ||
− | !isLink | + | !style="text-align:left" |[[Property isLink::@@@|isLink]] |
| {{#if:{{{isLink|}}}|{{{isLink|}}}|}} | | {{#if:{{{isLink|}}}|{{{isLink|}}}|}} | ||
|- | |- | ||
− | !nullable | + | !style="text-align:left" |[[Property nullable::@@@|allow nulls?]] |
| {{#if:{{{allow nulls?|}}}|{{{allow nulls?|}}}|}} | | {{#if:{{{allow nulls?|}}}|{{{allow nulls?|}}}|}} | ||
|- | |- | ||
− | ! | + | !style="text-align:left" |[[Property topic::@@@|topic]] |
− | | | ||
− | |||
− | |||
| {{#if:{{{topic|}}}|{{{topic|}}}|}} | | {{#if:{{{topic|}}}|{{{topic|}}}|}} | ||
|- | |- |
Latest revision as of 23: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 }}
- "Some primary key" is not recognized as a Boolean (true/false) value.
- "Some mandatory" is not recognized as a Boolean (true/false) value.
- "Some size" is not a number.
- "Some index" is not a number.
- "Some uploadable" is not recognized as a Boolean (true/false) value.
- "Some sortPos" is not a number.
- "Some showInGrid" is not recognized as a Boolean (true/false) value.
- "Some isLink" is not recognized as a Boolean (true/false) value.
- "Some allow nulls?" is not recognized as a Boolean (true/false) value.
✎ 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 |