Template:SMW Type

From BITPlan profiwiki Wiki
Revision as of 07:47, 6 November 2015 by Wf (talk | contribs) (created by WikiTask 2015-11-06T06:47:19Z)
(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=
|helppage=
|typepage=
|javaType=
|usedByProperties=
|storemode=subobject
}}

storemode property

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

storemode none

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


viewmode tableheader

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

viewmode tablerow

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

viewmode tablefooter

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

viewmode labelfield

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

Source

{{#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|}}}
}}
|{{#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=
{{!}}{{{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
{{!}}-
!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|}}}]]|}}
{{!}}-
{{!}}}
}}
}}

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