Template:Action
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 }}
{{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
{{!}} {{#if:{{{servicetype|}}}|{{{servicetype|}}}|}}
{{!}}-
!service
{{!}} {{#if:{{{service|}}}|{{{service|}}}|}}
{{!}}-
!inputtype
{{!}} {{#if:{{{inputtype|}}}|{{{inputtype|}}}|}}
{{!}}-
!input
{{!}} {{#if:{{{input|}}}|{{{input|}}}|}}
{{!}}-
!actionpage
{{!}} {{#if:{{{actionpage|}}}|{{{actionpage|}}}|}}
{{!}}-
!output
{{!}} {{#if:{{{output|}}}|{{{output|}}}|}}
{{!}}-
{{!}}}
}}
}}
Click on "Edit" to edit the Source of this Template.