Difference between revisions of "Template:Property"
Tim Holzheim (talk | contribs) |
Tim Holzheim (talk | contribs) |
||
Line 15: | Line 15: | ||
|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 38: | Line 37: | ||
|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 64: | Line 62: | ||
|Property name={{{name|}}} | |Property name={{{name|}}} | ||
|Property label={{{label|}}} | |Property label={{{label|}}} | ||
+ | |Property documentation={{{documentation|}}} | ||
|Property type={{{type|}}} | |Property type={{{type|}}} | ||
− | |||
− | |||
|Property primaryKey={{{primary key|}}} | |Property primaryKey={{{primary key|}}} | ||
|Property mandatory={{{mandatory|}}} | |Property mandatory={{{mandatory|}}} | ||
|Property namespace={{{namespace|}}} | |Property namespace={{{namespace|}}} | ||
|Property size={{{size|}}} | |Property size={{{size|}}} | ||
+ | |Property index={{{index|}}} | ||
|Property uploadable={{{uploadable|}}} | |Property uploadable={{{uploadable|}}} | ||
|Property defaultValue={{{default|}}} | |Property defaultValue={{{default|}}} | ||
+ | |Property sortPos={{{sortPos|}}} | ||
|Property inputType={{{inputType|}}} | |Property inputType={{{inputType|}}} | ||
|Property allowedValues={{{allowedValues|}}} | |Property allowedValues={{{allowedValues|}}} | ||
− | |||
|Property values from={{{values from|}}} | |Property values from={{{values from|}}} | ||
|Property showInGrid={{{showInGrid|}}} | |Property showInGrid={{{showInGrid|}}} | ||
|Property isLink={{{isLink|}}} | |Property isLink={{{isLink|}}} | ||
|Property nullable={{{allow nulls?|}}} | |Property nullable={{{allow nulls?|}}} | ||
− | |||
|Property topic={{{topic|}}} | |Property topic={{{topic|}}} | ||
}} | }} | ||
{| class='wikitable' | {| class='wikitable' | ||
− | ! colspan=2 | {{UtfIcon|utf=✎|size=24}}{{Link|target=Special:FormEdit/{{FULLPAGENAME}}|title=edit}} | + | ! colspan=2 | {{UtfIcon|utf=✎|size=24}}{{Link|target=Special:FormEdit/{{FULLPAGENAME}}|title=edit}} 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|}}}|}} | ||
|- | |- |
Revision as of 10:56, 31 March 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 |