Difference between revisions of "Template:Property"

From Openresearch
Jump to: navigation, search
(Created page with "<noinclude> This is the Property Template. It is used for setting Meta-Information on properties. Category:Template </noinclude><includeonly></includeonly>")
 
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the Property Template. It is used for setting Meta-Information on properties.
+
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
 +
|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
 +
}}
 +
</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 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