Difference between revisions of "Template:Property"
Tim Holzheim (talk | contribs) |
|||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | This is the Property | + | This is the template {{Link|target=Template:Property|title=}}. |
− | + | see also | |
− | + | * [[Help:Property]] | |
+ | * [[List of Properties]] | ||
+ | * [[Concept:Property]] | ||
+ | * [[:Category:Property]] | ||
+ | * [[:Template:Property]] | ||
+ | * [[:Form:Property]] | ||
− | == | + | === Usage === |
− | < | + | <nowiki> |
{{Property | {{Property | ||
− | |name= | + | |name=Some name |
− | |label= | + | |label=Some label |
− | | | + | |type=Some type |
− | + | |index=Some index | |
− | |index= | + | |sortPos=Some sortPos |
− | |sortPos= | + | |primary key=Some primary key |
− | | | + | |mandatory=Some mandatory |
− | |mandatory= | + | |namespace=Some namespace |
− | |namespace= | + | |size=Some size |
− | |size= | + | |uploadable=Some uploadable |
− | |uploadable= | + | |default=Some default |
− | | | + | |inputType=Some inputType |
− | |inputType= | + | |allowedValues=Some allowedValues |
− | |allowedValues= | + | |documentation=Some documentation |
− | | | + | |values from=Some values from |
− | |showInGrid= | + | |showInGrid=Some showInGrid |
− | |isLink= | + | |isLink=Some isLink |
− | | | + | |allow nulls?=Some allow nulls? |
− | | | + | |has name=Some has name |
+ | |topic=Some topic | ||
}} | }} | ||
− | </ | + | </nowiki> |
+ | {{Property | ||
+ | |name=Some name | ||
+ | |label=Some label | ||
+ | |type=Some type | ||
+ | |index=Some index | ||
+ | |sortPos=Some sortPos | ||
+ | |primary key=Some primary key | ||
+ | |mandatory=Some mandatory | ||
+ | |namespace=Some namespace | ||
+ | |size=Some size | ||
+ | |uploadable=Some uploadable | ||
+ | |default=Some default | ||
+ | |inputType=Some inputType | ||
+ | |allowedValues=Some allowedValues | ||
+ | |documentation=Some documentation | ||
+ | |values from=Some values from | ||
+ | |showInGrid=Some showInGrid | ||
+ | |isLink=Some isLink | ||
+ | |allow nulls?=Some allow nulls? | ||
+ | |has name=Some has name | ||
+ | |topic=Some topic | ||
+ | }} | ||
+ | |||
[[Category:Template]] | [[Category:Template]] | ||
− | </noinclude><includeonly></includeonly> | + | </noinclude> |
+ | <includeonly> | ||
+ | {{#set:isA=Property | ||
+ | |name={{{name|}}} | ||
+ | |label={{{label|}}} | ||
+ | |type={{{type|}}} | ||
+ | |index={{{index|}}} | ||
+ | |sortPos={{{sortPos|}}} | ||
+ | |primaryKey={{{primary key|}}} | ||
+ | |mandatory={{{mandatory|}}} | ||
+ | |namespace={{{namespace|}}} | ||
+ | |size={{{size|}}} | ||
+ | |uploadable={{{uploadable|}}} | ||
+ | |defaultValue={{{default|}}} | ||
+ | |inputType={{{inputType|}}} | ||
+ | |allowedValues={{{allowedValues|}}} | ||
+ | |documentation={{{documentation|}}} | ||
+ | |values from={{{values from|}}} | ||
+ | |showInGrid={{{showInGrid|}}} | ||
+ | |isLink={{{isLink|}}} | ||
+ | |nullable={{{allow nulls?|}}} | ||
+ | |has name={{{has name|}}} | ||
+ | |topic={{{topic|}}} | ||
+ | }} | ||
+ | |||
+ | {| class='wikitable' | ||
+ | ! colspan=2 | {{UtfIcon|utf=✎|size=24}}{{Link|target=Special:FormEdit/{{FULLPAGENAME}}|title=edit}} Property | ||
+ | |- | ||
+ | !name | ||
+ | | {{#if:{{{name|}}}|{{{name|}}}|}} | ||
+ | |- | ||
+ | !label | ||
+ | | {{#if:{{{label|}}}|{{{label|}}}|}} | ||
+ | |- | ||
+ | !type | ||
+ | | {{#if:{{{type|}}}|{{{type|}}}|}} | ||
+ | |- | ||
+ | !index | ||
+ | | {{#if:{{{index|}}}|{{{index|}}}|}} | ||
+ | |- | ||
+ | !sortPos | ||
+ | | {{#if:{{{sortPos|}}}|{{{sortPos|}}}|}} | ||
+ | |- | ||
+ | !primaryKey | ||
+ | | {{#if:{{{primary key|}}}|{{{primary key|}}}|}} | ||
+ | |- | ||
+ | !mandatory | ||
+ | | {{#if:{{{mandatory|}}}|{{{mandatory|}}}|}} | ||
+ | |- | ||
+ | !namespace | ||
+ | | {{#if:{{{namespace|}}}|{{{namespace|}}}|}} | ||
+ | |- | ||
+ | !size | ||
+ | | {{#if:{{{size|}}}|{{{size|}}}|}} | ||
+ | |- | ||
+ | !uploadable | ||
+ | | {{#if:{{{uploadable|}}}|{{{uploadable|}}}|}} | ||
+ | |- | ||
+ | !defaultValue | ||
+ | | {{#if:{{{default|}}}|{{{default|}}}|}} | ||
+ | |- | ||
+ | !inputType | ||
+ | | {{#if:{{{inputType|}}}|{{{inputType|}}}|}} | ||
+ | |- | ||
+ | !allowedValues | ||
+ | | {{#if:{{{allowedValues|}}}|{{{allowedValues|}}}|}} | ||
+ | |- | ||
+ | !documentation | ||
+ | | {{#if:{{{documentation|}}}|{{{documentation|}}}|}} | ||
+ | |- | ||
+ | !values_from | ||
+ | | {{#if:{{{values from|}}}|{{{values from|}}}|}} | ||
+ | |- | ||
+ | !showInGrid | ||
+ | | {{#if:{{{showInGrid|}}}|{{{showInGrid|}}}|}} | ||
+ | |- | ||
+ | !isLink | ||
+ | | {{#if:{{{isLink|}}}|{{{isLink|}}}|}} | ||
+ | |- | ||
+ | !nullable | ||
+ | | {{#if:{{{allow nulls?|}}}|{{{allow nulls?|}}}|}} | ||
+ | |- | ||
+ | !has name | ||
+ | | {{#if:{{{has name|}}}|{{{has name|}}}|}} | ||
+ | |- | ||
+ | !topic | ||
+ | | {{#if:{{{topic|}}}|{{{topic|}}}|}} | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | [[Category:Property]]{{#default_form:Property}}</includeonly> |
Revision as of 08:52, 31 March 2021
This is the template Template:Property.
see also
Usage
{{Property |name=Some name |label=Some label |type=Some type |index=Some index |sortPos=Some sortPos |primary key=Some primary key |mandatory=Some mandatory |namespace=Some namespace |size=Some size |uploadable=Some uploadable |default=Some default |inputType=Some inputType |allowedValues=Some allowedValues |documentation=Some documentation |values from=Some values from |showInGrid=Some showInGrid |isLink=Some isLink |allow nulls?=Some allow nulls? |has name=Some has name |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 |