Difference between revisions of "Template:SMW Type"

From BITPlan Wiki
Jump to navigation Jump to search
(created by WikiTask 2017-04-18T07:55:42Z)
 
(modified by py-yprinciple-gen 0.3.4)
 
(One intermediate revision 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:SMW_Type|title=SMW_Type}}.
+
This is the [https://wiki.bitplan.com/index.php/ProfiWiki BITPlan Y-Prinzip ProfiWiki]-Template for "SMW_Type".
It belongs to the concept/topic {{Link|target=:Concept:SMW_Type}}<br>
+
=== see also ===
You may find examples for the use of this template via the {{Link|target=List of SMW_Types}}.
+
see also
 +
* [[List of SMW_Types]]
 +
* [[Help:SMW_Type]]
 +
* [[Concept:SMW_Type]]
 +
* [[:Category:SMW_Type]]
 +
* [[:Template:SMW_Type]]
 +
* [[:Form:SMW_Type]]
 +
 
 
=== Usage ===
 
=== Usage ===
==== storemode subobject ====
 
 
<pre>{{SMW_Type
 
<pre>{{SMW_Type
 
|type=
 
|type=
 
|documentation=
 
|documentation=
 +
|id=
 
|helppage=
 
|helppage=
 
|typepage=
 
|typepage=
 
|javaType=
 
|javaType=
 
|usedByProperties=
 
|usedByProperties=
|storemode=subobject
+
|storemode=property or subobject or none"
 
}}
 
}}
 
</pre>
 
</pre>
 
+
[[Category:Template]]
==== storemode property ====
+
</noinclude><includeonly>{{#switch:{{{storemode|}}}
<pre>{{SMW_Type
 
|type=
 
|documentation=
 
|helppage=
 
|typepage=
 
|javaType=
 
|usedByProperties=
 
|storemode=property
 
}}
 
</pre>
 
 
 
==== storemode none ====
 
<pre>{{SMW_Type
 
|type=
 
|documentation=
 
|helppage=
 
|typepage=
 
|javaType=
 
|usedByProperties=
 
|storemode=none
 
}}
 
</pre>
 
 
 
 
 
==== viewmode tableheader ====
 
<pre>{{SMW_Type
 
|type=
 
|documentation=
 
|helppage=
 
|typepage=
 
|javaType=
 
|usedByProperties=
 
|viewmode=tableheader
 
}}
 
</pre>
 
 
 
==== viewmode tablerow ====
 
<pre>{{SMW_Type
 
|type=
 
|documentation=
 
|helppage=
 
|typepage=
 
|javaType=
 
|usedByProperties=
 
|viewmode=tablerow
 
}}
 
</pre>
 
 
 
==== viewmode tablefooter ====
 
<pre>{{SMW_Type
 
|type=
 
|documentation=
 
|helppage=
 
|typepage=
 
|javaType=
 
|usedByProperties=
 
|viewmode=tablefooter
 
}}
 
</pre>
 
 
 
==== viewmode labelfield ====
 
<pre>{{SMW_Type
 
|type=
 
|documentation=
 
|helppage=
 
|typepage=
 
|javaType=
 
|usedByProperties=
 
|viewmode=labelfield
 
}}
 
</pre>
 
 
 
=== Source (pretty printed) ===
 
<source lang='html4strict'>
 
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA SMW_Type<br>|}}
 
{{#if:{{{?type|}}}|"{{{?type}}}" is type of it <br>|}}
 
{{#if:{{{?documentation|}}}|"{{{?documentation}}}" is documentation of it <br>|}}
 
{{#if:{{{?helppage|}}}|"{{{?helppage}}}" is helppage of it <br>|}}
 
{{#if:{{{?typepage|}}}|"{{{?typepage}}}" is typepage of it <br>|}}
 
{{#if:{{{?javaType|}}}|"{{{?javaType}}}" is javaType of it <br>|}}
 
{{#if:{{{?usedByProperties|}}}|"{{{?usedByProperties}}}" is usedByProperties of it <br>|}}
 
|#default={{#switch:{{{storemode|}}}
 
 
|none=
 
|none=
 
|subobject={{#subobject:-
 
|subobject={{#subobject:-
Line 114: Line 38:
 
|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|}}}
Line 123: Line 48:
 
|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|}}}
Line 129: Line 55:
 
}}
 
}}
 
}}
 
}}
{{#switch: {{{viewmode|}}}
+
{{#switch:{{{viewmode|}}}|hidden=|masterdetail=
|masterdetail=
+
|#default={{{!}} class='wikitable'
|tableheader={{{!}} class='wikitable'
 
!type!!documentation!!helppage!!typepage!!javaType!!usedByProperties
 
{{!}}-
 
|tablerow=
 
{{!}}{{{type|}}}{{!}}{{!}}{{{documentation|}}}{{!}}{{!}}{{{helppage|}}}{{!}}{{!}}{{{typepage|}}}{{!}}{{!}}{{{javaType|}}}{{!}}{{!}}{{{usedByProperties|}}}
 
{{!}}-
 
|tablefooter={{!}}}
 
|labelfield=
 
type={{#if:{{{type|}}}|{{{type|}}}|}}<br>documentation={{#if:{{{documentation|}}}|{{{documentation|}}}|}}<br>helppage={{#if:{{{helppage|}}}|{{{helppage|}}}|}}<br>typepage={{#if:{{{typepage|}}}|[[{{{typepage|}}}]]|}}<br>javaType={{#if:{{{javaType|}}}|{{{javaType|}}}|}}<br>usedByProperties={{#if:{{{usedByProperties|}}}|[[{{{usedByProperties|}}}]]|}}<br>|#default={{{!}} class='wikitable'
 
 
! colspan='2' {{!}}SMW_Type
 
! colspan='2' {{!}}SMW_Type
 
{{!}}-
 
{{!}}-
Line 146: Line 63:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
!type
+
![[Property:SMW_Type type|type]]
{{!}}&nbsp;{{#if:{{{type|}}}|{{{type|}}}|}}
+
{{!}}&nbsp;{{#if:{{{type|}}}|{{{type}}}|}}
{{!}}-
 
!type
 
{{!}}&nbsp;{{#if:{{{documentation|}}}|{{{documentation|}}}|}}
 
{{!}}-
 
!type
 
{{!}}&nbsp;{{#if:{{{helppage|}}}|{{{helppage|}}}|}}
 
{{!}}-
 
!typepage
 
{{!}}&nbsp;{{#if:{{{typepage|}}}|[[{{{typepage|}}}]]|}}
 
{{!}}-
 
!java Type
 
{{!}}&nbsp;{{#if:{{{javaType|}}}|{{{javaType|}}}|}}
 
{{!}}-
 
!usedByProperties
 
{{!}}&nbsp;{{#if:{{{usedByProperties|}}}|[[{{{usedByProperties|}}}]]|}}
 
{{!}}-
 
{{!}}}
 
}}
 
}}
 
 
 
</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 SMW_Type<br>|}}
 
{{#if:{{{?type|}}}|"{{{?type}}}" is type of it <br>|}}
 
{{#if:{{{?documentation|}}}|"{{{?documentation}}}" is documentation of it <br>|}}
 
{{#if:{{{?helppage|}}}|"{{{?helppage}}}" is helppage of it <br>|}}
 
{{#if:{{{?typepage|}}}|"{{{?typepage}}}" is typepage of it <br>|}}
 
{{#if:{{{?javaType|}}}|"{{{?javaType}}}" is javaType of it <br>|}}
 
{{#if:{{{?usedByProperties|}}}|"{{{?usedByProperties}}}" is usedByProperties of it <br>|}}
 
|#default={{#switch:{{{storemode|}}}
 
|none=
 
|subobject={{#subobject:-
 
|isA=SMW_Type
 
|SMW_Type type={{{type|}}}
 
|SMW_Type documentation={{{documentation|}}}
 
|SMW_Type helppage={{{helppage|}}}
 
|SMW_Type typepage={{{typepage|}}}
 
|SMW_Type javaType={{{javaType|}}}
 
|SMW_Type usedByProperties={{{usedByProperties|}}}
 
}}
 
|#default={{#set:
 
|isA=SMW_Type
 
|SMW_Type type={{{type|}}}
 
|SMW_Type documentation={{{documentation|}}}
 
|SMW_Type helppage={{{helppage|}}}
 
|SMW_Type typepage={{{typepage|}}}
 
|SMW_Type javaType={{{javaType|}}}
 
|SMW_Type usedByProperties={{{usedByProperties|}}}
 
}}
 
}}
 
{{#switch: {{{viewmode|}}}
 
|masterdetail=
 
|tableheader={{{!}} class='wikitable'
 
!type!!documentation!!helppage!!typepage!!javaType!!usedByProperties
 
 
{{!}}-
 
{{!}}-
|tablerow=
+
![[Property:SMW_Type documentation|documentation]]
{{!}}{{{type|}}}{{!}}{{!}}{{{documentation|}}}{{!}}{{!}}{{{helppage|}}}{{!}}{{!}}{{{typepage|}}}{{!}}{{!}}{{{javaType|}}}{{!}}{{!}}{{{usedByProperties|}}}
+
{{!}}&nbsp;{{#if:{{{documentation|}}}|{{{documentation}}}|}}
 
{{!}}-
 
{{!}}-
|tablefooter={{!}}}
+
![[Property:SMW_Type id|id]]
|labelfield=
+
{{!}}&nbsp;{{#if:{{{id|}}}|{{{id}}}|}}
type={{#if:{{{type|}}}|{{{type|}}}|}}<br>documentation={{#if:{{{documentation|}}}|{{{documentation|}}}|}}<br>helppage={{#if:{{{helppage|}}}|{{{helppage|}}}|}}<br>typepage={{#if:{{{typepage|}}}|[[{{{typepage|}}}]]|}}<br>javaType={{#if:{{{javaType|}}}|{{{javaType|}}}|}}<br>usedByProperties={{#if:{{{usedByProperties|}}}|[[{{{usedByProperties|}}}]]|}}<br>|#default={{{!}} class='wikitable'
 
! colspan='2' {{!}}SMW_Type
 
 
{{!}}-
 
{{!}}-
{{#switch:{{{storemode|}}}|property=
+
![[Property:SMW_Type helppage|helppage]]
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/SMW_Type/{{FULLPAGENAME}}|title=edit}}
+
{{!}}&nbsp;{{#if:{{{helppage|}}}|{{{helppage}}}|}}
{{!}}-
 
}}
 
!type
 
{{!}}&nbsp;{{#if:{{{type|}}}|{{{type|}}}|}}
 
{{!}}-
 
!type
 
{{!}}&nbsp;{{#if:{{{documentation|}}}|{{{documentation|}}}|}}
 
 
{{!}}-
 
{{!}}-
!type
+
![[Property:SMW_Type typepage|typepage]]
{{!}}&nbsp;{{#if:{{{helppage|}}}|{{{helppage|}}}|}}
+
{{!}}&nbsp;{{#if:{{{typepage|}}}|{{{typepage}}}|}}→[[{{{typepage|}}}]]
 
{{!}}-
 
{{!}}-
!typepage
+
![[Property:SMW_Type javaType|javaType]]
{{!}}&nbsp;{{#if:{{{typepage|}}}|[[{{{typepage|}}}]]|}}
+
{{!}}&nbsp;{{#if:{{{javaType|}}}|{{{javaType}}}|}}
 
{{!}}-
 
{{!}}-
!java Type
+
![[Property:SMW_Type usedByProperties|usedByProperties]]
{{!}}&nbsp;{{#if:{{{javaType|}}}|{{{javaType|}}}|}}
+
{{!}}&nbsp;{{#if:{{{usedByProperties|}}}|{{{usedByProperties}}}|}}{{#show: {{FULLPAGENAME}}|?SMW_Type usedByProperties}}
{{!}}-
 
!usedByProperties
 
{{!}}&nbsp;{{#if:{{{usedByProperties|}}}|[[{{{usedByProperties|}}}]]|}}
 
 
{{!}}-
 
{{!}}-
 
{{!}}}
 
{{!}}}
}}
 
 
}}
 
}}
 
</includeonly>
 
</includeonly>

Latest revision as of 09:43, 15 November 2024

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

see also

see also

Usage

{{SMW_Type
|type=
|documentation=
|id=
|helppage=
|typepage=
|javaType=
|usedByProperties=
|storemode=property or subobject or none"
}}