Template:Action

From BITPlan profiwiki Wiki
Revision as of 08:47, 6 November 2015 by Wf (talk | contribs) (created by WikiTask 2015-11-06T06:47:36Z)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Usage

storemode subobject

{{Action
|servicetype=
|service=
|inputtype=
|input=
|actionpage=
|output=
|storemode=subobject
}}

storemode property

{{Action
|servicetype=
|service=
|inputtype=
|input=
|actionpage=
|output=
|storemode=property
}}

storemode none

{{Action
|servicetype=
|service=
|inputtype=
|input=
|actionpage=
|output=
|storemode=none
}}


viewmode tableheader

{{Action
|servicetype=
|service=
|inputtype=
|input=
|actionpage=
|output=
|viewmode=tableheader
}}

viewmode tablerow

{{Action
|servicetype=
|service=
|inputtype=
|input=
|actionpage=
|output=
|viewmode=tablerow
}}

viewmode tablefooter

{{Action
|servicetype=
|service=
|inputtype=
|input=
|actionpage=
|output=
|viewmode=tablefooter
}}

viewmode labelfield

{{Action
|servicetype=
|service=
|inputtype=
|input=
|actionpage=
|output=
|viewmode=labelfield
}}

Source

{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Action<br>|}}
{{#if:{{{?servicetype|}}}|"{{{?servicetype}}}" is servicetype of it <br>|}}
{{#if:{{{?service|}}}|"{{{?service}}}" is service of it <br>|}}
{{#if:{{{?inputtype|}}}|"{{{?inputtype}}}" is inputtype of it <br>|}}
{{#if:{{{?input|}}}|"{{{?input}}}" is input of it <br>|}}
{{#if:{{{?actionpage|}}}|"{{{?actionpage}}}" is actionpage of it <br>|}}
{{#if:{{{?output|}}}|"{{{?output}}}" is output of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=

|{{#set:
|isA=Action
|Action servicetype={{{servicetype|}}}
|Action service={{{service|}}}
|Action inputtype={{{inputtype|}}}
|Action input={{{input|}}}
|Action actionpage={{{actionpage|}}}
|Action output={{{output|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|masterdetail=
|tableheader={{{!}} class='wikitable'
!servicetype!!service!!inputtype!!input!!actionpage!!output
{{!}}-
|tablerow=
{{!}}{{{servicetype|}}}{{!}}{{!}}{{{service|}}}{{!}}{{!}}{{{inputtype|}}}{{!}}{{!}}{{{input|}}}{{!}}{{!}}{{{actionpage|}}}{{!}}{{!}}{{{output|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
servicetype={{#if:{{{servicetype|}}}|{{{servicetype|}}}|}}<br>service={{#if:{{{service|}}}|{{{service|}}}|}}<br>inputtype={{#if:{{{inputtype|}}}|{{{inputtype|}}}|}}<br>input={{#if:{{{input|}}}|{{{input|}}}|}}<br>actionpage={{#if:{{{actionpage|}}}|{{{actionpage|}}}|}}<br>output={{#if:{{{output|}}}|{{{output|}}}|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}Action
{{!}}-
!servicetype
{{!}}&nbsp;{{#if:{{{servicetype|}}}|{{{servicetype|}}}|}}
{{!}}-
!service
{{!}}&nbsp;{{#if:{{{service|}}}|{{{service|}}}|}}
{{!}}-
!inputtype
{{!}}&nbsp;{{#if:{{{inputtype|}}}|{{{inputtype|}}}|}}
{{!}}-
!input
{{!}}&nbsp;{{#if:{{{input|}}}|{{{input|}}}|}}
{{!}}-
!actionpage
{{!}}&nbsp;{{#if:{{{actionpage|}}}|{{{actionpage|}}}|}}
{{!}}-
!output
{{!}}&nbsp;{{#if:{{{output|}}}|{{{output|}}}|}}
{{!}}-
{{!}}}
}}
}}

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