Template:Property: Difference between revisions
No edit summary |
Tim Holzheim (talk | contribs) No edit summary |
||
| 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 07: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 }}
| ✎edit Property | |
|---|---|
| name | Some name |
| label | Some label |
| type | Some type |
| index | Some index |
| sortPos | Some sortPos |
| primaryKey | Some primary key |
| mandatory | Some mandatory |
| namespace | Some namespace |
| size | Some size |
| uploadable | Some uploadable |
| defaultValue | Some default |
| inputType | Some inputType |
| allowedValues | Some allowedValues |
| documentation | Some documentation |
| values_from | Some values from |
| showInGrid | Some showInGrid |
| isLink | Some isLink |
| nullable | Some allow nulls? |
| has name | Some has name |
| topic | Some topic |