Difference between revisions of "Template:Property"

From Openresearch
Jump to: navigation, search
 
(5 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
+
== See also ==
* [[Help:Property]]
+
*[[:List of Properties]]
* [[List of Properties]]
+
*[[:Help:Property]]
* [[Concept:Property]]
+
*[[:Category:Property]]
* [[:Category:Property]]
+
*[[:Concept:Property]]
* [[:Template:Property]]
+
*[[:Form:Property]]
* [[:Form:Property]]
+
*[[:Template:Property]]
  
=== Usage ===
+
 
<nowiki>
+
== 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
|index=Some index
 
|sortPos=Some sortPos
 
 
|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
|documentation=Some documentation
 
 
|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?
|has name=Some has name
 
 
|topic=Some topic
 
|topic=Some topic
 
}}
 
}}
</nowiki>
+
</pre>
 
{{Property
 
{{Property
 
|name=Some name
 
|name=Some name
 
|label=Some label
 
|label=Some label
 +
|documentation=Some documentation
 
|type=Some type
 
|type=Some type
|index=Some index
 
|sortPos=Some sortPos
 
 
|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
|documentation=Some documentation
 
 
|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?
|has name=Some has name
 
 
|topic=Some topic
 
|topic=Some topic
 
}}
 
}}
Line 64: Line 63:
 
|Property name={{{name|}}}
 
|Property name={{{name|}}}
 
|Property label={{{label|}}}
 
|Property label={{{label|}}}
 +
|Property documentation={{{documentation|}}}
 
|Property type={{{type|}}}
 
|Property type={{{type|}}}
|Property index={{{index|}}}
 
|Property sortPos={{{sortPos|}}}
 
 
|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 documentation={{{documentation|}}}
 
 
|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 has name={{{has name|}}}
 
 
|Property topic={{{topic|}}}
 
|Property topic={{{topic|}}}
 
}}
 
}}
  
 
{| class='wikitable'
 
{| class='wikitable'
! colspan=2 |  {{UtfIcon|utf=✎|size=24}}{{Link|target=Special:FormEdit/{{FULLPAGENAME}}|title=edit}} Property
+
! 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|}}}|}}
 
|-
 
|-
!index
+
!style="text-align:left" |[[Property primaryKey::@@@|primary key]]
| {{#if:{{{index|}}}|{{{index|}}}|}}
 
|-
 
!sortPos
 
| {{#if:{{{sortPos|}}}|{{{sortPos|}}}|}}
 
|-
 
!primaryKey
 
 
| {{#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|}}}|}}
 
|-
 
|-
!documentation
+
!style="text-align:left" |[[Property values from::@@@|values from]]
| {{#if:{{{documentation|}}}|{{{documentation|}}}|}}
 
|-
 
!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?|}}}|}}
 
|-
 
|-
!has name
+
!style="text-align:left" |[[Property topic::@@@|topic]]
| {{#if:{{{has name|}}}|{{{has name|}}}|}}
 
|-
 
!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