Difference between revisions of "Template:Property"

From BITPlan Wiki
Jump to navigation Jump to search
(created by WikiTask 2017-04-18T07:55:30Z)
 
(modified by py-yprinciple-gen 0.3.4)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
+
<noinclude><!--
<!--
+
   --     Copyright (C) 2015-2024 BITPlan GmbH
   -- Copyright (C) 2015-2016 BITPlan GmbH
+
   --
   --  
+
   --     Pater-Delp-Str. -- 1
   -- Pater-Delp-Str. -- 1
+
   --     D-47877 -- Willich-Schiefbahn
   -- D-47877 -- Willich-Schiefbahn
+
   --
   --  
+
   --     http://www.bitplan.com
   -- http://www.bitplan.com
+
  --
 
   --
 
   --
  --
 
 
-->
 
-->
This is the template {{Link|target=Template:Property|title=Property}}.
+
This is the [https://wiki.bitplan.com/index.php/ProfiWiki BITPlan Y-Prinzip ProfiWiki]-Template for "Property".
It belongs to the concept/topic {{Link|target=:Concept:Property}}<br>
+
=== see also ===
You may find examples for the use of this template via the {{Link|target=List of Properties}}.
+
see also
 +
* [[List of Properties]]
 +
* [[Help:Property]]
 +
* [[Concept:Property]]
 +
* [[:Category:Property]]
 +
* [[:Template:Property]]
 +
* [[:Form:Property]]
 +
related topics:
 +
* [[Concept:SMW_Type]]
 +
 
 
=== Usage ===
 
=== Usage ===
==== storemode subobject ====
 
 
<pre>{{Property
 
<pre>{{Property
 
|name=
 
|name=
 
|label=
 
|label=
 
|type=
 
|type=
 +
|scope=
 
|index=
 
|index=
 
|sortPos=
 
|sortPos=
Line 31: Line 39:
 
|documentation=
 
|documentation=
 
|values_from=
 
|values_from=
 +
|externalFormatterURI=
 
|showInGrid=
 
|showInGrid=
 
|isLink=
 
|isLink=
 
|nullable=
 
|nullable=
 
|topic=
 
|topic=
|storemode=subobject
+
|storemode=property or subobject or none"
 
}}
 
}}
 
</pre>
 
</pre>
 
+
[[Category:Template]]
==== storemode property ====
+
</noinclude><includeonly>{{#switch:{{{storemode|}}}
<pre>{{Property
 
|name=
 
|label=
 
|type=
 
|index=
 
|sortPos=
 
|primaryKey=
 
|mandatory=
 
|namespace=
 
|size=
 
|uploadable=
 
|defaultValue=
 
|inputType=
 
|allowedValues=
 
|documentation=
 
|values_from=
 
|showInGrid=
 
|isLink=
 
|nullable=
 
|topic=
 
|storemode=property
 
}}
 
</pre>
 
 
 
==== storemode none ====
 
<pre>{{Property
 
|name=
 
|label=
 
|type=
 
|index=
 
|sortPos=
 
|primaryKey=
 
|mandatory=
 
|namespace=
 
|size=
 
|uploadable=
 
|defaultValue=
 
|inputType=
 
|allowedValues=
 
|documentation=
 
|values_from=
 
|showInGrid=
 
|isLink=
 
|nullable=
 
|topic=
 
|storemode=none
 
}}
 
</pre>
 
 
 
 
 
==== viewmode tableheader ====
 
<pre>{{Property
 
|name=
 
|label=
 
|type=
 
|index=
 
|sortPos=
 
|primaryKey=
 
|mandatory=
 
|namespace=
 
|size=
 
|uploadable=
 
|defaultValue=
 
|inputType=
 
|allowedValues=
 
|documentation=
 
|values_from=
 
|showInGrid=
 
|isLink=
 
|nullable=
 
|topic=
 
|viewmode=tableheader
 
}}
 
</pre>
 
 
 
==== viewmode tablerow ====
 
<pre>{{Property
 
|name=
 
|label=
 
|type=
 
|index=
 
|sortPos=
 
|primaryKey=
 
|mandatory=
 
|namespace=
 
|size=
 
|uploadable=
 
|defaultValue=
 
|inputType=
 
|allowedValues=
 
|documentation=
 
|values_from=
 
|showInGrid=
 
|isLink=
 
|nullable=
 
|topic=
 
|viewmode=tablerow
 
}}
 
</pre>
 
 
 
==== viewmode tablefooter ====
 
<pre>{{Property
 
|name=
 
|label=
 
|type=
 
|index=
 
|sortPos=
 
|primaryKey=
 
|mandatory=
 
|namespace=
 
|size=
 
|uploadable=
 
|defaultValue=
 
|inputType=
 
|allowedValues=
 
|documentation=
 
|values_from=
 
|showInGrid=
 
|isLink=
 
|nullable=
 
|topic=
 
|viewmode=tablefooter
 
}}
 
</pre>
 
 
 
==== viewmode labelfield ====
 
<pre>{{Property
 
|name=
 
|label=
 
|type=
 
|index=
 
|sortPos=
 
|primaryKey=
 
|mandatory=
 
|namespace=
 
|size=
 
|uploadable=
 
|defaultValue=
 
|inputType=
 
|allowedValues=
 
|documentation=
 
|values_from=
 
|showInGrid=
 
|isLink=
 
|nullable=
 
|topic=
 
|viewmode=labelfield
 
}}
 
</pre>
 
 
 
=== Source (pretty printed) ===
 
<source lang='html4strict'>
 
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Property<br>|}}
 
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}}
 
{{#if:{{{?label|}}}|"{{{?label}}}" is label of it <br>|}}
 
{{#if:{{{?type|}}}|"{{{?type}}}" is type of it <br>|}}
 
{{#if:{{{?index|}}}|"{{{?index}}}" is index of it <br>|}}
 
{{#if:{{{?sortPos|}}}|"{{{?sortPos}}}" is sortPos of it <br>|}}
 
{{#if:{{{?primaryKey|}}}|"{{{?primaryKey}}}" is primaryKey of it <br>|}}
 
{{#if:{{{?mandatory|}}}|"{{{?mandatory}}}" is mandatory of it <br>|}}
 
{{#if:{{{?namespace|}}}|"{{{?namespace}}}" is namespace of it <br>|}}
 
{{#if:{{{?size|}}}|"{{{?size}}}" is size of it <br>|}}
 
{{#if:{{{?uploadable|}}}|"{{{?uploadable}}}" is uploadable of it <br>|}}
 
{{#if:{{{?defaultValue|}}}|"{{{?defaultValue}}}" is defaultValue of it <br>|}}
 
{{#if:{{{?inputType|}}}|"{{{?inputType}}}" is inputType of it <br>|}}
 
{{#if:{{{?allowedValues|}}}|"{{{?allowedValues}}}" is allowedValues of it <br>|}}
 
{{#if:{{{?documentation|}}}|"{{{?documentation}}}" is documentation of it <br>|}}
 
{{#if:{{{?values_from|}}}|"{{{?values_from}}}" is values_from of it <br>|}}
 
{{#if:{{{?showInGrid|}}}|"{{{?showInGrid}}}" is showInGrid of it <br>|}}
 
{{#if:{{{?isLink|}}}|"{{{?isLink}}}" is isLink of it <br>|}}
 
{{#if:{{{?nullable|}}}|"{{{?nullable}}}" is nullable of it <br>|}}
 
{{#if:{{{?topic|}}}|"{{{?topic}}}" is topic of it <br>|}}
 
|#default={{#switch:{{{storemode|}}}
 
 
|none=
 
|none=
 
|subobject={{#subobject:-
 
|subobject={{#subobject:-
Line 219: Line 55:
 
|Property label={{{label|}}}
 
|Property label={{{label|}}}
 
|Property type={{{type|}}}
 
|Property type={{{type|}}}
 +
|Property scope={{{scope|}}}
 
|Property index={{{index|}}}
 
|Property index={{{index|}}}
 
|Property sortPos={{{sortPos|}}}
 
|Property sortPos={{{sortPos|}}}
Line 231: Line 68:
 
|Property documentation={{{documentation|}}}
 
|Property documentation={{{documentation|}}}
 
|Property values_from={{{values_from|}}}
 
|Property values_from={{{values_from|}}}
 +
|Property externalFormatterURI={{{externalFormatterURI|}}}
 
|Property showInGrid={{{showInGrid|}}}
 
|Property showInGrid={{{showInGrid|}}}
 
|Property isLink={{{isLink|}}}
 
|Property isLink={{{isLink|}}}
Line 241: Line 79:
 
|Property label={{{label|}}}
 
|Property label={{{label|}}}
 
|Property type={{{type|}}}
 
|Property type={{{type|}}}
 +
|Property scope={{{scope|}}}
 
|Property index={{{index|}}}
 
|Property index={{{index|}}}
 
|Property sortPos={{{sortPos|}}}
 
|Property sortPos={{{sortPos|}}}
Line 253: Line 92:
 
|Property documentation={{{documentation|}}}
 
|Property documentation={{{documentation|}}}
 
|Property values_from={{{values_from|}}}
 
|Property values_from={{{values_from|}}}
 +
|Property externalFormatterURI={{{externalFormatterURI|}}}
 
|Property showInGrid={{{showInGrid|}}}
 
|Property showInGrid={{{showInGrid|}}}
 
|Property isLink={{{isLink|}}}
 
|Property isLink={{{isLink|}}}
Line 259: Line 99:
 
}}
 
}}
 
}}
 
}}
{{#switch: {{{viewmode|}}}
+
{{#switch:{{{viewmode|}}}|hidden=|masterdetail=
|masterdetail=
 
 
= smw_type =
 
= smw_type =
 
{{#ask:[[Concept:SMW_Type]][[SMW_Type usedByProperties::{{FULLPAGENAME}}]]
 
{{#ask:[[Concept:SMW_Type]][[SMW_Type usedByProperties::{{FULLPAGENAME}}]]
 
| ?SMW_Type type = type
 
| ?SMW_Type type = type
 
| ?SMW_Type documentation = documentation
 
| ?SMW_Type documentation = documentation
 +
| ?SMW_Type id = id
 
| ?SMW_Type helppage = helppage
 
| ?SMW_Type helppage = helppage
 
| ?SMW_Type typepage = typepage
 
| ?SMW_Type typepage = typepage
 
| ?SMW_Type javaType = javaType
 
| ?SMW_Type javaType = javaType
 
| ?SMW_Type usedByProperties = usedByProperties
 
| ?SMW_Type usedByProperties = usedByProperties
 
+
}}|#default={{{!}} class='wikitable'
 
 
 
 
}}
 
|tableheader={{{!}} class='wikitable'
 
!name!!label!!type!!index!!sortPos!!primaryKey!!mandatory!!namespace!!size!!uploadable!!defaultValue!!inputType!!allowedValues!!documentation!!values_from!!showInGrid!!isLink!!nullable!!topic
 
{{!}}-
 
|tablerow=
 
{{!}}{{{name|}}}{{!}}{{!}}{{{label|}}}{{!}}{{!}}{{{type|}}}{{!}}{{!}}{{{index|}}}{{!}}{{!}}{{{sortPos|}}}{{!}}{{!}}{{{primaryKey|}}}{{!}}{{!}}{{{mandatory|}}}{{!}}{{!}}{{{namespace|}}}{{!}}{{!}}{{{size|}}}{{!}}{{!}}{{{uploadable|}}}{{!}}{{!}}{{{defaultValue|}}}{{!}}{{!}}{{{inputType|}}}{{!}}{{!}}{{{allowedValues|}}}{{!}}{{!}}{{{documentation|}}}{{!}}{{!}}{{{values_from|}}}{{!}}{{!}}{{{showInGrid|}}}{{!}}{{!}}{{{isLink|}}}{{!}}{{!}}{{{nullable|}}}{{!}}{{!}}{{{topic|}}}
 
{{!}}-
 
|tablefooter={{!}}}
 
|labelfield=
 
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>label={{#if:{{{label|}}}|{{{label|}}}|}}<br>type={{#if:{{{type|}}}|[[{{{type|}}}]]|}}<br>index={{#if:{{{index|}}}|{{{index|}}}|}}<br>sortPos={{#if:{{{sortPos|}}}|{{{sortPos|}}}|}}<br>primaryKey={{#if:{{{primaryKey|}}}|{{{primaryKey|}}}|}}<br>mandatory={{#if:{{{mandatory|}}}|{{{mandatory|}}}|}}<br>namespace={{#if:{{{namespace|}}}|{{{namespace|}}}|}}<br>size={{#if:{{{size|}}}|{{{size|}}}|}}<br>uploadable={{#if:{{{uploadable|}}}|{{{uploadable|}}}|}}<br>defaultValue={{#if:{{{defaultValue|}}}|{{{defaultValue|}}}|}}<br>inputType={{#if:{{{inputType|}}}|{{{inputType|}}}|}}<br>allowedValues={{#if:{{{allowedValues|}}}|{{{allowedValues|}}}|}}<br>documentation={{#if:{{{documentation|}}}|{{{documentation|}}}|}}<br>values_from={{#if:{{{values_from|}}}|{{{values_from|}}}|}}<br>showInGrid={{#if:{{{showInGrid|}}}|{{{showInGrid|}}}|}}<br>isLink={{#if:{{{isLink|}}}|{{{isLink|}}}|}}<br>nullable={{#if:{{{nullable|}}}|{{{nullable|}}}|}}<br>topic={{#if:{{{topic|}}}|[[{{{topic|}}}]]|}}<br>|#default={{{!}} class='wikitable'
 
 
! colspan='2' {{!}}Property
 
! colspan='2' {{!}}Property
 
{{!}}-
 
{{!}}-
Line 288: Line 116:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
!name
+
![[Property:Property name|name]]
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|}}
+
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name}}}|}}
{{!}}-
 
!label
 
{{!}}&nbsp;{{#if:{{{label|}}}|{{{label|}}}|}}
 
{{!}}-
 
!type
 
{{!}}&nbsp;{{#if:{{{type|}}}|[[{{{type|}}}]]|}}
 
{{!}}-
 
!index
 
{{!}}&nbsp;{{#if:{{{index|}}}|{{{index|}}}|}}
 
{{!}}-
 
!sortPos
 
{{!}}&nbsp;{{#if:{{{sortPos|}}}|{{{sortPos|}}}|}}
 
{{!}}-
 
!primary key
 
{{!}}&nbsp;{{#if:{{{primaryKey|}}}|{{{primaryKey|}}}|}}
 
{{!}}-
 
!mandatory
 
{{!}}&nbsp;{{#if:{{{mandatory|}}}|{{{mandatory|}}}|}}
 
{{!}}-
 
!namespace
 
{{!}}&nbsp;{{#if:{{{namespace|}}}|{{{namespace|}}}|}}
 
{{!}}-
 
!size
 
{{!}}&nbsp;{{#if:{{{size|}}}|{{{size|}}}|}}
 
{{!}}-
 
!uploadable
 
{{!}}&nbsp;{{#if:{{{uploadable|}}}|{{{uploadable|}}}|}}
 
{{!}}-
 
!default
 
{{!}}&nbsp;{{#if:{{{defaultValue|}}}|{{{defaultValue|}}}|}}
 
{{!}}-
 
!inputType
 
{{!}}&nbsp;{{#if:{{{inputType|}}}|{{{inputType|}}}|}}
 
{{!}}-
 
!allowedValues
 
{{!}}&nbsp;{{#if:{{{allowedValues|}}}|{{{allowedValues|}}}|}}
 
{{!}}-
 
!documentation
 
{{!}}&nbsp;{{#if:{{{documentation|}}}|{{{documentation|}}}|}}
 
{{!}}-
 
!values from
 
{{!}}&nbsp;{{#if:{{{values_from|}}}|{{{values_from|}}}|}}
 
{{!}}-
 
!showInGrid
 
{{!}}&nbsp;{{#if:{{{showInGrid|}}}|{{{showInGrid|}}}|}}
 
{{!}}-
 
!isLink
 
{{!}}&nbsp;{{#if:{{{isLink|}}}|{{{isLink|}}}|}}
 
{{!}}-
 
!allow nulls?
 
{{!}}&nbsp;{{#if:{{{nullable|}}}|{{{nullable|}}}|}}
 
{{!}}-
 
!topic
 
{{!}}&nbsp;{{#if:{{{topic|}}}|[[{{{topic|}}}]]|}}
 
{{!}}-
 
{{!}}}
 
}}
 
}}
 
[[Category:Property]]
 
</source>
 
=== Source ===
 
Click on "Edit" to edit the noinclude-part Source of this Template.
 
[[Category:Template]]
 
 
 
</noinclude><includeonly>{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Property<br>|}}
 
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}}
 
{{#if:{{{?label|}}}|"{{{?label}}}" is label of it <br>|}}
 
{{#if:{{{?type|}}}|"{{{?type}}}" is type of it <br>|}}
 
{{#if:{{{?index|}}}|"{{{?index}}}" is index of it <br>|}}
 
{{#if:{{{?sortPos|}}}|"{{{?sortPos}}}" is sortPos of it <br>|}}
 
{{#if:{{{?primaryKey|}}}|"{{{?primaryKey}}}" is primaryKey of it <br>|}}
 
{{#if:{{{?mandatory|}}}|"{{{?mandatory}}}" is mandatory of it <br>|}}
 
{{#if:{{{?namespace|}}}|"{{{?namespace}}}" is namespace of it <br>|}}
 
{{#if:{{{?size|}}}|"{{{?size}}}" is size of it <br>|}}
 
{{#if:{{{?uploadable|}}}|"{{{?uploadable}}}" is uploadable of it <br>|}}
 
{{#if:{{{?defaultValue|}}}|"{{{?defaultValue}}}" is defaultValue of it <br>|}}
 
{{#if:{{{?inputType|}}}|"{{{?inputType}}}" is inputType of it <br>|}}
 
{{#if:{{{?allowedValues|}}}|"{{{?allowedValues}}}" is allowedValues of it <br>|}}
 
{{#if:{{{?documentation|}}}|"{{{?documentation}}}" is documentation of it <br>|}}
 
{{#if:{{{?values_from|}}}|"{{{?values_from}}}" is values_from of it <br>|}}
 
{{#if:{{{?showInGrid|}}}|"{{{?showInGrid}}}" is showInGrid of it <br>|}}
 
{{#if:{{{?isLink|}}}|"{{{?isLink}}}" is isLink of it <br>|}}
 
{{#if:{{{?nullable|}}}|"{{{?nullable}}}" is nullable of it <br>|}}
 
{{#if:{{{?topic|}}}|"{{{?topic}}}" is topic of it <br>|}}
 
|#default={{#switch:{{{storemode|}}}
 
|none=
 
|subobject={{#subobject:-
 
|isA=Property
 
|Property name={{{name|}}}
 
|Property label={{{label|}}}
 
|Property type={{{type|}}}
 
|Property index={{{index|}}}
 
|Property sortPos={{{sortPos|}}}
 
|Property primaryKey={{{primaryKey|}}}
 
|Property mandatory={{{mandatory|}}}
 
|Property namespace={{{namespace|}}}
 
|Property size={{{size|}}}
 
|Property uploadable={{{uploadable|}}}
 
|Property defaultValue={{{defaultValue|}}}
 
|Property inputType={{{inputType|}}}
 
|Property allowedValues={{{allowedValues|}}}
 
|Property documentation={{{documentation|}}}
 
|Property values_from={{{values_from|}}}
 
|Property showInGrid={{{showInGrid|}}}
 
|Property isLink={{{isLink|}}}
 
|Property nullable={{{nullable|}}}
 
|Property topic={{{topic|}}}
 
}}
 
|#default={{#set:
 
|isA=Property
 
|Property name={{{name|}}}
 
|Property label={{{label|}}}
 
|Property type={{{type|}}}
 
|Property index={{{index|}}}
 
|Property sortPos={{{sortPos|}}}
 
|Property primaryKey={{{primaryKey|}}}
 
|Property mandatory={{{mandatory|}}}
 
|Property namespace={{{namespace|}}}
 
|Property size={{{size|}}}
 
|Property uploadable={{{uploadable|}}}
 
|Property defaultValue={{{defaultValue|}}}
 
|Property inputType={{{inputType|}}}
 
|Property allowedValues={{{allowedValues|}}}
 
|Property documentation={{{documentation|}}}
 
|Property values_from={{{values_from|}}}
 
|Property showInGrid={{{showInGrid|}}}
 
|Property isLink={{{isLink|}}}
 
|Property nullable={{{nullable|}}}
 
|Property topic={{{topic|}}}
 
}}
 
}}
 
{{#switch: {{{viewmode|}}}
 
|masterdetail=
 
= smw_type =
 
{{#ask:[[Concept:SMW_Type]][[SMW_Type usedByProperties::{{FULLPAGENAME}}]]
 
| ?SMW_Type type = type
 
| ?SMW_Type documentation = documentation
 
| ?SMW_Type helppage = helppage
 
| ?SMW_Type typepage = typepage
 
| ?SMW_Type javaType = javaType
 
| ?SMW_Type usedByProperties = usedByProperties
 
 
 
 
 
 
 
}}
 
|tableheader={{{!}} class='wikitable'
 
!name!!label!!type!!index!!sortPos!!primaryKey!!mandatory!!namespace!!size!!uploadable!!defaultValue!!inputType!!allowedValues!!documentation!!values_from!!showInGrid!!isLink!!nullable!!topic
 
 
{{!}}-
 
{{!}}-
|tablerow=
+
![[Property:Property label|label]]
{{!}}{{{name|}}}{{!}}{{!}}{{{label|}}}{{!}}{{!}}{{{type|}}}{{!}}{{!}}{{{index|}}}{{!}}{{!}}{{{sortPos|}}}{{!}}{{!}}{{{primaryKey|}}}{{!}}{{!}}{{{mandatory|}}}{{!}}{{!}}{{{namespace|}}}{{!}}{{!}}{{{size|}}}{{!}}{{!}}{{{uploadable|}}}{{!}}{{!}}{{{defaultValue|}}}{{!}}{{!}}{{{inputType|}}}{{!}}{{!}}{{{allowedValues|}}}{{!}}{{!}}{{{documentation|}}}{{!}}{{!}}{{{values_from|}}}{{!}}{{!}}{{{showInGrid|}}}{{!}}{{!}}{{{isLink|}}}{{!}}{{!}}{{{nullable|}}}{{!}}{{!}}{{{topic|}}}
+
{{!}}&nbsp;{{#if:{{{label|}}}|{{{label}}}|}}
 
{{!}}-
 
{{!}}-
|tablefooter={{!}}}
+
![[Property:Property type|type]]
|labelfield=
+
{{!}}&nbsp;{{#if:{{{type|}}}|{{{type}}}|}}[[{{{type|}}}]]
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>label={{#if:{{{label|}}}|{{{label|}}}|}}<br>type={{#if:{{{type|}}}|[[{{{type|}}}]]|}}<br>index={{#if:{{{index|}}}|{{{index|}}}|}}<br>sortPos={{#if:{{{sortPos|}}}|{{{sortPos|}}}|}}<br>primaryKey={{#if:{{{primaryKey|}}}|{{{primaryKey|}}}|}}<br>mandatory={{#if:{{{mandatory|}}}|{{{mandatory|}}}|}}<br>namespace={{#if:{{{namespace|}}}|{{{namespace|}}}|}}<br>size={{#if:{{{size|}}}|{{{size|}}}|}}<br>uploadable={{#if:{{{uploadable|}}}|{{{uploadable|}}}|}}<br>defaultValue={{#if:{{{defaultValue|}}}|{{{defaultValue|}}}|}}<br>inputType={{#if:{{{inputType|}}}|{{{inputType|}}}|}}<br>allowedValues={{#if:{{{allowedValues|}}}|{{{allowedValues|}}}|}}<br>documentation={{#if:{{{documentation|}}}|{{{documentation|}}}|}}<br>values_from={{#if:{{{values_from|}}}|{{{values_from|}}}|}}<br>showInGrid={{#if:{{{showInGrid|}}}|{{{showInGrid|}}}|}}<br>isLink={{#if:{{{isLink|}}}|{{{isLink|}}}|}}<br>nullable={{#if:{{{nullable|}}}|{{{nullable|}}}|}}<br>topic={{#if:{{{topic|}}}|[[{{{topic|}}}]]|}}<br>|#default={{{!}} class='wikitable'
 
! colspan='2' {{!}}Property
 
 
{{!}}-
 
{{!}}-
{{#switch:{{{storemode|}}}|property=
+
![[Property:Property scope|scope]]
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Property/{{FULLPAGENAME}}|title=edit}}
+
{{!}}&nbsp;{{#if:{{{scope|}}}|{{{scope}}}|}}
 
{{!}}-
 
{{!}}-
}}
+
![[Property:Property index|index]]
!name
+
{{!}}&nbsp;{{#if:{{{index|}}}|{{{index}}}|}}
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|}}
 
 
{{!}}-
 
{{!}}-
!label
+
![[Property:Property sortPos|sortPos]]
{{!}}&nbsp;{{#if:{{{label|}}}|{{{label|}}}|}}
+
{{!}}&nbsp;{{#if:{{{sortPos|}}}|{{{sortPos}}}|}}
 
{{!}}-
 
{{!}}-
!type
+
![[Property:Property primaryKey|primaryKey]]
{{!}}&nbsp;{{#if:{{{type|}}}|[[{{{type|}}}]]|}}
+
{{!}}&nbsp;{{#if:{{{primaryKey|}}}|{{{primaryKey}}}|}}
 
{{!}}-
 
{{!}}-
!index
+
![[Property:Property mandatory|mandatory]]
{{!}}&nbsp;{{#if:{{{index|}}}|{{{index|}}}|}}
+
{{!}}&nbsp;{{#if:{{{mandatory|}}}|{{{mandatory}}}|}}
 
{{!}}-
 
{{!}}-
!sortPos
+
![[Property:Property namespace|namespace]]
{{!}}&nbsp;{{#if:{{{sortPos|}}}|{{{sortPos|}}}|}}
+
{{!}}&nbsp;{{#if:{{{namespace|}}}|{{{namespace}}}|}}
 
{{!}}-
 
{{!}}-
!primary key
+
![[Property:Property size|size]]
{{!}}&nbsp;{{#if:{{{primaryKey|}}}|{{{primaryKey|}}}|}}
+
{{!}}&nbsp;{{#if:{{{size|}}}|{{{size}}}|}}
 
{{!}}-
 
{{!}}-
!mandatory
+
![[Property:Property uploadable|uploadable]]
{{!}}&nbsp;{{#if:{{{mandatory|}}}|{{{mandatory|}}}|}}
+
{{!}}&nbsp;{{#if:{{{uploadable|}}}|{{{uploadable}}}|}}
 
{{!}}-
 
{{!}}-
!namespace
+
![[Property:Property defaultValue|defaultValue]]
{{!}}&nbsp;{{#if:{{{namespace|}}}|{{{namespace|}}}|}}
+
{{!}}&nbsp;{{#if:{{{defaultValue|}}}|{{{defaultValue}}}|}}
 
{{!}}-
 
{{!}}-
!size
+
![[Property:Property inputType|inputType]]
{{!}}&nbsp;{{#if:{{{size|}}}|{{{size|}}}|}}
+
{{!}}&nbsp;{{#if:{{{inputType|}}}|{{{inputType}}}|}}
 
{{!}}-
 
{{!}}-
!uploadable
+
![[Property:Property allowedValues|allowedValues]]
{{!}}&nbsp;{{#if:{{{uploadable|}}}|{{{uploadable|}}}|}}
+
{{!}}&nbsp;{{#if:{{{allowedValues|}}}|{{{allowedValues}}}|}}
 
{{!}}-
 
{{!}}-
!default
+
![[Property:Property documentation|documentation]]
{{!}}&nbsp;{{#if:{{{defaultValue|}}}|{{{defaultValue|}}}|}}
+
{{!}}&nbsp;{{#if:{{{documentation|}}}|{{{documentation}}}|}}
 
{{!}}-
 
{{!}}-
!inputType
+
![[Property:Property values_from|values_from]]
{{!}}&nbsp;{{#if:{{{inputType|}}}|{{{inputType|}}}|}}
+
{{!}}&nbsp;{{#if:{{{values_from|}}}|{{{values_from}}}|}}
 
{{!}}-
 
{{!}}-
!allowedValues
+
![[Property:Property externalFormatterURI|externalFormatterURI]]
{{!}}&nbsp;{{#if:{{{allowedValues|}}}|{{{allowedValues|}}}|}}
+
{{!}}&nbsp;{{#if:{{{externalFormatterURI|}}}|{{{externalFormatterURI}}}|}}
 
{{!}}-
 
{{!}}-
!documentation
+
![[Property:Property showInGrid|showInGrid]]
{{!}}&nbsp;{{#if:{{{documentation|}}}|{{{documentation|}}}|}}
+
{{!}}&nbsp;{{#if:{{{showInGrid|}}}|{{{showInGrid}}}|}}
 
{{!}}-
 
{{!}}-
!values from
+
![[Property:Property isLink|isLink]]
{{!}}&nbsp;{{#if:{{{values_from|}}}|{{{values_from|}}}|}}
+
{{!}}&nbsp;{{#if:{{{isLink|}}}|{{{isLink}}}|}}
 
{{!}}-
 
{{!}}-
!showInGrid
+
![[Property:Property nullable|nullable]]
{{!}}&nbsp;{{#if:{{{showInGrid|}}}|{{{showInGrid|}}}|}}
+
{{!}}&nbsp;{{#if:{{{nullable|}}}|{{{nullable}}}|}}
 
{{!}}-
 
{{!}}-
!isLink
+
![[Property:Property topic|topic]]
{{!}}&nbsp;{{#if:{{{isLink|}}}|{{{isLink|}}}|}}
+
{{!}}&nbsp;{{#if:{{{topic|}}}|{{{topic}}}|}}{{#show: {{FULLPAGENAME}}|?Property topic}}
{{!}}-
 
!allow nulls?
 
{{!}}&nbsp;{{#if:{{{nullable|}}}|{{{nullable|}}}|}}
 
{{!}}-
 
!topic
 
{{!}}&nbsp;{{#if:{{{topic|}}}|[[{{{topic|}}}]]|}}
 
 
{{!}}-
 
{{!}}-
 
{{!}}}
 
{{!}}}
 
}}
 
}}
}}
+
[[Category:Property]]{{#default_form:Property}}
[[Category:Property]]</includeonly>
+
</includeonly>

Latest revision as of 09:42, 15 November 2024

This is the BITPlan Y-Prinzip ProfiWiki-Template for "Property".

see also

see also

related topics:

Usage

{{Property
|name=
|label=
|type=
|scope=
|index=
|sortPos=
|primaryKey=
|mandatory=
|namespace=
|size=
|uploadable=
|defaultValue=
|inputType=
|allowedValues=
|documentation=
|values_from=
|externalFormatterURI=
|showInGrid=
|isLink=
|nullable=
|topic=
|storemode=property or subobject or none"
}}