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 |name= |servicetype= |service= |inputtype= |input= |actionpage= |output= |engine= |author= |since= |comment= |storemode=subobject }}
storemode property
{{Action |name= |servicetype= |service= |inputtype= |input= |actionpage= |output= |engine= |author= |since= |comment= |storemode=property }}
storemode none
{{Action |name= |servicetype= |service= |inputtype= |input= |actionpage= |output= |engine= |author= |since= |comment= |storemode=none }}
viewmode tableheader
{{Action |name= |servicetype= |service= |inputtype= |input= |actionpage= |output= |engine= |author= |since= |comment= |viewmode=tableheader }}
viewmode tablerow
{{Action |name= |servicetype= |service= |inputtype= |input= |actionpage= |output= |engine= |author= |since= |comment= |viewmode=tablerow }}
{{Action |name= |servicetype= |service= |inputtype= |input= |actionpage= |output= |engine= |author= |since= |comment= |viewmode=tablefooter }}
viewmode labelfield
{{Action |name= |servicetype= |service= |inputtype= |input= |actionpage= |output= |engine= |author= |since= |comment= |viewmode=labelfield }}
Source (pretty printed)
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Action<br>|}}
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <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>|}}
{{#if:{{{?engine|}}}|"{{{?engine}}}" is engine of it <br>|}}
{{#if:{{{?author|}}}|"{{{?author}}}" is author of it <br>|}}
{{#if:{{{?since|}}}|"{{{?since}}}" is since of it <br>|}}
{{#if:{{{?comment|}}}|"{{{?comment}}}" is comment of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=Action
|Action name={{{name|}}}
|Action servicetype={{{servicetype|}}}
|Action service={{{service|}}}
|Action inputtype={{{inputtype|}}}
|Action input={{{input|}}}
|Action actionpage={{{actionpage|}}}
|Action output={{{output|}}}
|Action engine={{{engine|}}}
|Action author={{{author|}}}
|Action since={{{since|}}}
|Action comment={{{comment|}}}
}}
|{{#set:
|isA=Action
|Action name={{{name|}}}
|Action servicetype={{{servicetype|}}}
|Action service={{{service|}}}
|Action inputtype={{{inputtype|}}}
|Action input={{{input|}}}
|Action actionpage={{{actionpage|}}}
|Action output={{{output|}}}
|Action engine={{{engine|}}}
|Action author={{{author|}}}
|Action since={{{since|}}}
|Action comment={{{comment|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|masterdetail=
|tableheader={{{!}} class='wikitable'
!name!!servicetype!!service!!inputtype!!input!!actionpage!!output!!engine!!author!!since!!comment
{{!}}-
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{servicetype|}}}{{!}}{{!}}{{{service|}}}{{!}}{{!}}{{{inputtype|}}}{{!}}{{!}}{{{input|}}}{{!}}{{!}}{{{actionpage|}}}{{!}}{{!}}{{{output|}}}{{!}}{{!}}{{{engine|}}}{{!}}{{!}}{{{author|}}}{{!}}{{!}}{{{since|}}}{{!}}{{!}}{{{comment|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>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>engine={{#if:{{{engine|}}}|{{{engine|}}}|}}<br>author={{#if:{{{author|}}}|[[{{{author|}}}]]|}}<br>since={{#if:{{{since|}}}|{{{since|}}}|}}<br>comment={{#if:{{{comment|}}}|{{{comment|}}}|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}Action
{{!}}-
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Action/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
!name
{{!}} {{#if:{{{name|}}}|{{{name|}}}|}}
{{!}}-
!servicetype
{{!}} {{#if:{{{servicetype|}}}|{{{servicetype|}}}|}}
{{!}}-
!service
{{!}} {{#if:{{{service|}}}|{{{service|}}}|}}
{{!}}-
!inputtype
{{!}} {{#if:{{{inputtype|}}}|{{{inputtype|}}}|}}
{{!}}-
!input
{{!}} {{#if:{{{input|}}}|{{{input|}}}|}}
{{!}}-
!actionpage
{{!}} {{#if:{{{actionpage|}}}|[[{{{actionpage|}}}]]|}}
{{!}}-
!output
{{!}} {{#if:{{{output|}}}|{{{output|}}}|}}
{{!}}-
!engine
{{!}} {{#if:{{{engine|}}}|{{{engine|}}}|}}
{{!}}-
!author
{{!}} {{#if:{{{author|}}}|[[{{{author|}}}]]|}}
{{!}}-
!since
{{!}} {{#if:{{{since|}}}|{{{since|}}}|}}
{{!}}-
!comment
{{!}} {{#if:{{{comment|}}}|{{{comment|}}}|}}
{{!}}-
{{!}}}
}}
}}
Source
Click on "Edit" to edit the noinclude-part Source of this Template.