Difference between revisions of "Template:SMW Type"

From BITPlan royal-family Wiki
Jump to navigation Jump to search
(created by WikiTask 2017-10-03T17:24:42Z)
 
m (created by WikiTask 2019-10-11T04:56:16Z)
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
<!--
 
<!--
   -- Copyright (C) 2015-2016 BITPlan GmbH
+
   -- Copyright (C) 2015-2019 BITPlan GmbH
 
   --  
 
   --  
 
   -- Pater-Delp-Str. -- 1
 
   -- Pater-Delp-Str. -- 1
Line 18: Line 18:
 
|type=
 
|type=
 
|documentation=
 
|documentation=
 +
|id=
 
|helppage=
 
|helppage=
 
|typepage=
 
|typepage=
Line 30: Line 31:
 
|type=
 
|type=
 
|documentation=
 
|documentation=
 +
|id=
 
|helppage=
 
|helppage=
 
|typepage=
 
|typepage=
Line 42: Line 44:
 
|type=
 
|type=
 
|documentation=
 
|documentation=
 +
|id=
 
|helppage=
 
|helppage=
 
|typepage=
 
|typepage=
Line 55: Line 58:
 
|type=
 
|type=
 
|documentation=
 
|documentation=
 +
|id=
 
|helppage=
 
|helppage=
 
|typepage=
 
|typepage=
Line 67: Line 71:
 
|type=
 
|type=
 
|documentation=
 
|documentation=
 +
|id=
 
|helppage=
 
|helppage=
 
|typepage=
 
|typepage=
Line 79: Line 84:
 
|type=
 
|type=
 
|documentation=
 
|documentation=
 +
|id=
 
|helppage=
 
|helppage=
 
|typepage=
 
|typepage=
Line 91: Line 97:
 
|type=
 
|type=
 
|documentation=
 
|documentation=
 +
|id=
 
|helppage=
 
|helppage=
 
|typepage=
 
|typepage=
Line 104: Line 111:
 
{{#if:{{{?type|}}}|"{{{?type}}}" is type of it <br>|}}
 
{{#if:{{{?type|}}}|"{{{?type}}}" is type of it <br>|}}
 
{{#if:{{{?documentation|}}}|"{{{?documentation}}}" is documentation of it <br>|}}
 
{{#if:{{{?documentation|}}}|"{{{?documentation}}}" is documentation of it <br>|}}
 +
{{#if:{{{?id|}}}|"{{{?id}}}" is id of it <br>|}}
 
{{#if:{{{?helppage|}}}|"{{{?helppage}}}" is helppage of it <br>|}}
 
{{#if:{{{?helppage|}}}|"{{{?helppage}}}" is helppage of it <br>|}}
 
{{#if:{{{?typepage|}}}|"{{{?typepage}}}" is typepage of it <br>|}}
 
{{#if:{{{?typepage|}}}|"{{{?typepage}}}" is typepage of it <br>|}}
Line 114: Line 122:
 
|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 132:
 
|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 130: Line 140:
 
}}
 
}}
 
{{#switch: {{{viewmode|}}}
 
{{#switch: {{{viewmode|}}}
 +
|hidden=
 
|masterdetail=
 
|masterdetail=
 
|tableheader={{{!}} class='wikitable'
 
|tableheader={{{!}} class='wikitable'
!type!!documentation!!helppage!!typepage!!javaType!!usedByProperties
+
!type!!documentation!!id!!helppage!!typepage!!javaType!!usedByProperties
 
{{!}}-
 
{{!}}-
 
|tablerow=
 
|tablerow=
{{!}}{{{type|}}}{{!}}{{!}}{{{documentation|}}}{{!}}{{!}}{{{helppage|}}}{{!}}{{!}}{{{typepage|}}}{{!}}{{!}}{{{javaType|}}}{{!}}{{!}}{{{usedByProperties|}}}
+
{{!}}{{{type|}}}{{!}}{{!}}{{{documentation|}}}{{!}}{{!}}{{{id|}}}{{!}}{{!}}{{{helppage|}}}{{!}}{{!}}{{{typepage|}}}{{!}}{{!}}{{{javaType|}}}{{!}}{{!}}{{{usedByProperties|}}}
 
{{!}}-
 
{{!}}-
 
|tablefooter={{!}}}
 
|tablefooter={{!}}}
 
|labelfield=
 
|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'
+
type={{#if:{{{type|}}}|{{{type|}}}|}}<br>documentation={{#if:{{{documentation|}}}|{{{documentation|}}}|}}<br>id={{#if:{{{id|}}}|{{{id|}}}|}}<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 149: Line 160:
 
{{!}}&nbsp;{{#if:{{{type|}}}|{{{type|}}}|}}
 
{{!}}&nbsp;{{#if:{{{type|}}}|{{{type|}}}|}}
 
{{!}}-
 
{{!}}-
!type
+
!documentation
 
{{!}}&nbsp;{{#if:{{{documentation|}}}|{{{documentation|}}}|}}
 
{{!}}&nbsp;{{#if:{{{documentation|}}}|{{{documentation|}}}|}}
 
{{!}}-
 
{{!}}-
!type
+
!id
 +
{{!}}&nbsp;{{#if:{{{id|}}}|{{{id|}}}|}}
 +
{{!}}-
 +
!helppage
 
{{!}}&nbsp;{{#if:{{{helppage|}}}|{{{helppage|}}}|}}
 
{{!}}&nbsp;{{#if:{{{helppage|}}}|{{{helppage|}}}|}}
 
{{!}}-
 
{{!}}-
Line 176: Line 190:
 
{{#if:{{{?type|}}}|"{{{?type}}}" is type of it <br>|}}
 
{{#if:{{{?type|}}}|"{{{?type}}}" is type of it <br>|}}
 
{{#if:{{{?documentation|}}}|"{{{?documentation}}}" is documentation of it <br>|}}
 
{{#if:{{{?documentation|}}}|"{{{?documentation}}}" is documentation of it <br>|}}
 +
{{#if:{{{?id|}}}|"{{{?id}}}" is id of it <br>|}}
 
{{#if:{{{?helppage|}}}|"{{{?helppage}}}" is helppage of it <br>|}}
 
{{#if:{{{?helppage|}}}|"{{{?helppage}}}" is helppage of it <br>|}}
 
{{#if:{{{?typepage|}}}|"{{{?typepage}}}" is typepage of it <br>|}}
 
{{#if:{{{?typepage|}}}|"{{{?typepage}}}" is typepage of it <br>|}}
Line 186: Line 201:
 
|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 195: Line 211:
 
|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 202: Line 219:
 
}}
 
}}
 
{{#switch: {{{viewmode|}}}
 
{{#switch: {{{viewmode|}}}
 +
|hidden=
 
|masterdetail=
 
|masterdetail=
 
|tableheader={{{!}} class='wikitable'
 
|tableheader={{{!}} class='wikitable'
!type!!documentation!!helppage!!typepage!!javaType!!usedByProperties
+
!type!!documentation!!id!!helppage!!typepage!!javaType!!usedByProperties
 
{{!}}-
 
{{!}}-
 
|tablerow=
 
|tablerow=
{{!}}{{{type|}}}{{!}}{{!}}{{{documentation|}}}{{!}}{{!}}{{{helppage|}}}{{!}}{{!}}{{{typepage|}}}{{!}}{{!}}{{{javaType|}}}{{!}}{{!}}{{{usedByProperties|}}}
+
{{!}}{{{type|}}}{{!}}{{!}}{{{documentation|}}}{{!}}{{!}}{{{id|}}}{{!}}{{!}}{{{helppage|}}}{{!}}{{!}}{{{typepage|}}}{{!}}{{!}}{{{javaType|}}}{{!}}{{!}}{{{usedByProperties|}}}
 
{{!}}-
 
{{!}}-
 
|tablefooter={{!}}}
 
|tablefooter={{!}}}
 
|labelfield=
 
|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'
+
type={{#if:{{{type|}}}|{{{type|}}}|}}<br>documentation={{#if:{{{documentation|}}}|{{{documentation|}}}|}}<br>id={{#if:{{{id|}}}|{{{id|}}}|}}<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 221: Line 239:
 
{{!}}&nbsp;{{#if:{{{type|}}}|{{{type|}}}|}}
 
{{!}}&nbsp;{{#if:{{{type|}}}|{{{type|}}}|}}
 
{{!}}-
 
{{!}}-
!type
+
!documentation
 
{{!}}&nbsp;{{#if:{{{documentation|}}}|{{{documentation|}}}|}}
 
{{!}}&nbsp;{{#if:{{{documentation|}}}|{{{documentation|}}}|}}
 
{{!}}-
 
{{!}}-
!type
+
!id
 +
{{!}}&nbsp;{{#if:{{{id|}}}|{{{id|}}}|}}
 +
{{!}}-
 +
!helppage
 
{{!}}&nbsp;{{#if:{{{helppage|}}}|{{{helppage|}}}|}}
 
{{!}}&nbsp;{{#if:{{{helppage|}}}|{{{helppage|}}}|}}
 
{{!}}-
 
{{!}}-

Latest revision as of 05:56, 11 October 2019

This is the template SMW_Type. It belongs to the concept/topic Concept:SMW_Type
You may find examples for the use of this template via the List of SMW_Types.

Usage

storemode subobject

{{SMW_Type
|type=
|documentation=
|id=
|helppage=
|typepage=
|javaType=
|usedByProperties=
|storemode=subobject
}}

storemode property

{{SMW_Type
|type=
|documentation=
|id=
|helppage=
|typepage=
|javaType=
|usedByProperties=
|storemode=property
}}

storemode none

{{SMW_Type
|type=
|documentation=
|id=
|helppage=
|typepage=
|javaType=
|usedByProperties=
|storemode=none
}}


viewmode tableheader

{{SMW_Type
|type=
|documentation=
|id=
|helppage=
|typepage=
|javaType=
|usedByProperties=
|viewmode=tableheader
}}

viewmode tablerow

{{SMW_Type
|type=
|documentation=
|id=
|helppage=
|typepage=
|javaType=
|usedByProperties=
|viewmode=tablerow
}}

viewmode tablefooter

{{SMW_Type
|type=
|documentation=
|id=
|helppage=
|typepage=
|javaType=
|usedByProperties=
|viewmode=tablefooter
}}

viewmode labelfield

{{SMW_Type
|type=
|documentation=
|id=
|helppage=
|typepage=
|javaType=
|usedByProperties=
|viewmode=labelfield
}}

Source (pretty printed)

{{#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:{{{?id|}}}|"{{{?id}}}" is id 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 id={{{id|}}}
|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 id={{{id|}}}
|SMW_Type helppage={{{helppage|}}}
|SMW_Type typepage={{{typepage|}}}
|SMW_Type javaType={{{javaType|}}}
|SMW_Type usedByProperties={{{usedByProperties|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|hidden=
|masterdetail=
|tableheader={{{!}} class='wikitable'
!type!!documentation!!id!!helppage!!typepage!!javaType!!usedByProperties
{{!}}-
|tablerow=
{{!}}{{{type|}}}{{!}}{{!}}{{{documentation|}}}{{!}}{{!}}{{{id|}}}{{!}}{{!}}{{{helppage|}}}{{!}}{{!}}{{{typepage|}}}{{!}}{{!}}{{{javaType|}}}{{!}}{{!}}{{{usedByProperties|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
type={{#if:{{{type|}}}|{{{type|}}}|}}<br>documentation={{#if:{{{documentation|}}}|{{{documentation|}}}|}}<br>id={{#if:{{{id|}}}|{{{id|}}}|}}<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=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/SMW_Type/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
!type
{{!}}&nbsp;{{#if:{{{type|}}}|{{{type|}}}|}}
{{!}}-
!documentation
{{!}}&nbsp;{{#if:{{{documentation|}}}|{{{documentation|}}}|}}
{{!}}-
!id
{{!}}&nbsp;{{#if:{{{id|}}}|{{{id|}}}|}}
{{!}}-
!helppage
{{!}}&nbsp;{{#if:{{{helppage|}}}|{{{helppage|}}}|}}
{{!}}-
!typepage
{{!}}&nbsp;{{#if:{{{typepage|}}}|[[{{{typepage|}}}]]|}}
{{!}}-
!java Type
{{!}}&nbsp;{{#if:{{{javaType|}}}|{{{javaType|}}}|}}
{{!}}-
!usedByProperties
{{!}}&nbsp;{{#if:{{{usedByProperties|}}}|[[{{{usedByProperties|}}}]]|}}
{{!}}-
{{!}}}
}}
}}

Source

Click on "Edit" to edit the noinclude-part Source of this Template.