Template:SMW Type

From BITPlan ceur-ws Wiki
Revision as of 08:37, 20 July 2020 by Wf (talk | contribs) (created by WikiTask 2020-07-20T07:37:24Z)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.