Template:Action

From BITPlan E-Bike Wiki
Revision as of 00:05, 19 June 2018 by Wf (talk | contribs) (transfered by WikiBackup wikiTask at 2018-06-18T23:05:13Z)
(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
|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
}}

viewmode tablefooter

{{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
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|}}
{{!}}-
!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|}}}|}}
{{!}}-
!engine
{{!}}&nbsp;{{#if:{{{engine|}}}|{{{engine|}}}|}}
{{!}}-
!author
{{!}}&nbsp;{{#if:{{{author|}}}|[[{{{author|}}}]]|}}
{{!}}-
!since
{{!}}&nbsp;{{#if:{{{since|}}}|{{{since|}}}|}}
{{!}}-
!comment
{{!}}&nbsp;{{#if:{{{comment|}}}|{{{comment|}}}|}}
{{!}}-
{{!}}}
}}
}}

Source

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