Difference between revisions of "Template:Action"

From BITPlan Wiki
Jump to navigation Jump to search
(transfered by WikiBackup wikiTask at 2017-04-18T04:58:37Z)
 
(modified by py-yprinciple-gen 0.3.4)
 
Line 1: Line 1:
<noinclude><!-- THIS FILE IS PROTECTED - smartGENERATOR WILL NOT OVERWRITE IT -->
+
<noinclude><!--
<!--
+
   --     Copyright (C) 2015-2024 BITPlan GmbH
   -- Copyright (C) 2015 BITPlan GmbH
+
   --
   --  
+
   --     Pater-Delp-Str. -- 1
   -- Pater-Delp-Str. -- 1
+
   --     D-47877 -- Willich-Schiefbahn
   -- D-47877 -- Willich-Schiefbahn
+
   --
   --  
+
   --     http://www.bitplan.com
   -- http://www.bitplan.com
+
  --
 
   --
 
   --
  --
 
 
-->
 
-->
This is the template {{Link|target=Template:Action|title=Action}}.
+
This is the [https://wiki.bitplan.com/index.php/ProfiWiki BITPlan Y-Prinzip ProfiWiki]-Template for "Action".
It belongs to the concept/topic {{Link|target=:Concept:Action}}<br>
+
=== see also ===
You may find examples for the use of this template via the {{Link|target=List of Actions}}.
+
see also
 +
* [[List of Actions]]
 +
* [[Help:Action]]
 +
* [[Concept:Action]]
 +
* [[:Category:Action]]
 +
* [[:Template:Action]]
 +
* [[:Form:Action]]
 +
 
 
=== Usage ===
 
=== Usage ===
==== storemode subobject ====
 
<pre>{{Action
 
|name=
 
|servicetype=
 
|service=
 
|inputtype=
 
|input=
 
|actionpage=
 
|output=
 
|engine=
 
|author=
 
|since=
 
|comment=
 
|storemode=subobject
 
}}
 
</pre>
 
 
==== storemode property ====
 
<pre>{{Action
 
|name=
 
|servicetype=
 
|service=
 
|inputtype=
 
|input=
 
|actionpage=
 
|output=
 
|engine=
 
|author=
 
|since=
 
|comment=
 
|storemode=property
 
}}
 
</pre>
 
 
==== storemode none ====
 
<pre>{{Action
 
|name=
 
|servicetype=
 
|service=
 
|inputtype=
 
|input=
 
|actionpage=
 
|output=
 
|engine=
 
|author=
 
|since=
 
|comment=
 
|storemode=none
 
}}
 
</pre>
 
 
 
==== viewmode tableheader ====
 
<pre>{{Action
 
|name=
 
|servicetype=
 
|service=
 
|inputtype=
 
|input=
 
|actionpage=
 
|output=
 
|engine=
 
|author=
 
|since=
 
|comment=
 
|viewmode=tableheader
 
}}
 
</pre>
 
 
==== viewmode tablerow ====
 
<pre>{{Action
 
|name=
 
|servicetype=
 
|service=
 
|inputtype=
 
|input=
 
|actionpage=
 
|output=
 
|engine=
 
|author=
 
|since=
 
|comment=
 
|viewmode=tablerow
 
}}
 
</pre>
 
 
==== viewmode tablefooter ====
 
<pre>{{Action
 
|name=
 
|servicetype=
 
|service=
 
|inputtype=
 
|input=
 
|actionpage=
 
|output=
 
|engine=
 
|author=
 
|since=
 
|comment=
 
|viewmode=tablefooter
 
}}
 
</pre>
 
 
==== viewmode labelfield ====
 
 
<pre>{{Action
 
<pre>{{Action
 
|name=
 
|name=
Line 130: Line 32:
 
|since=
 
|since=
 
|comment=
 
|comment=
|viewmode=labelfield
+
|storemode=property or subobject or none"
 
}}
 
}}
 
</pre>
 
</pre>
 
=== Source (pretty printed) ===
 
<source lang='html4strict'>
 
{{#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>
 
=== Source ===
 
Click on "Edit" to edit the noinclude-part Source of this Template.
 
 
[[Category:Template]]
 
[[Category:Template]]
 
+
</noinclude><includeonly>{{#switch:{{{storemode|}}}
</noinclude><includeonly>{{#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=
 
|none=
 
|subobject={{#subobject:-
 
|subobject={{#subobject:-
Line 266: Line 52:
 
|Action comment={{{comment|}}}
 
|Action comment={{{comment|}}}
 
}}
 
}}
|{{#set:
+
|#default={{#set:
 
|isA=Action
 
|isA=Action
 
|Action name={{{name|}}}
 
|Action name={{{name|}}}
Line 281: Line 67:
 
}}
 
}}
 
}}
 
}}
{{#switch: {{{viewmode|}}}
+
{{#switch:{{{viewmode|}}}|hidden=|masterdetail=
|masterdetail=
+
|#default={{{!}} class='wikitable'
|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
 
! colspan='2' {{!}}Action
 
{{!}}-
 
{{!}}-
Line 298: Line 75:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
!name
+
![[Property:Action name|name]]
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|}}
+
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name}}}|}}
 
{{!}}-
 
{{!}}-
!servicetype
+
![[Property:Action servicetype|servicetype]]
{{!}}&nbsp;{{#if:{{{servicetype|}}}|{{{servicetype|}}}|}}
+
{{!}}&nbsp;{{#if:{{{servicetype|}}}|{{{servicetype}}}|}}
 
{{!}}-
 
{{!}}-
!service
+
![[Property:Action service|service]]
{{!}}&nbsp;{{#if:{{{service|}}}|{{{service|}}}|}}
+
{{!}}&nbsp;{{#if:{{{service|}}}|{{{service}}}|}}
 
{{!}}-
 
{{!}}-
!inputtype
+
![[Property:Action inputtype|inputtype]]
{{!}}&nbsp;{{#if:{{{inputtype|}}}|{{{inputtype|}}}|}}
+
{{!}}&nbsp;{{#if:{{{inputtype|}}}|{{{inputtype}}}|}}
 
{{!}}-
 
{{!}}-
!input
+
![[Property:Action input|input]]
{{!}}&nbsp;{{#if:{{{input|}}}|{{{input|}}}|}}
+
{{!}}&nbsp;{{#if:{{{input|}}}|{{{input}}}|}}
 
{{!}}-
 
{{!}}-
!actionpage
+
![[Property:Action actionpage|actionpage]]
{{!}}&nbsp;{{#if:{{{actionpage|}}}|[[{{{actionpage|}}}]]|}}
+
{{!}}&nbsp;{{#if:{{{actionpage|}}}|{{{actionpage}}}|}}→[[{{{actionpage|}}}]]
 
{{!}}-
 
{{!}}-
!output
+
![[Property:Action output|output]]
{{!}}&nbsp;{{#if:{{{output|}}}|{{{output|}}}|}}
+
{{!}}&nbsp;{{#if:{{{output|}}}|{{{output}}}|}}
 
{{!}}-
 
{{!}}-
!engine
+
![[Property:Action engine|engine]]
{{!}}&nbsp;{{#if:{{{engine|}}}|{{{engine|}}}|}}
+
{{!}}&nbsp;{{#if:{{{engine|}}}|{{{engine}}}|}}
 
{{!}}-
 
{{!}}-
!author
+
![[Property:Action author|author]]
{{!}}&nbsp;{{#if:{{{author|}}}|[[{{{author|}}}]]|}}
+
{{!}}&nbsp;{{#if:{{{author|}}}|{{{author}}}|}}→[[{{{author|}}}]]
 
{{!}}-
 
{{!}}-
!since
+
![[Property:Action since|since]]
{{!}}&nbsp;{{#if:{{{since|}}}|{{{since|}}}|}}
+
{{!}}&nbsp;{{#if:{{{since|}}}|{{{since}}}|}}
 
{{!}}-
 
{{!}}-
!comment
+
![[Property:Action comment|comment]]
{{!}}&nbsp;{{#if:{{{comment|}}}|{{{comment|}}}|}}
+
{{!}}&nbsp;{{#if:{{{comment|}}}|{{{comment}}}|}}
 
{{!}}-
 
{{!}}-
 
{{!}}}
 
{{!}}}
}}
 
{{wikitask|cmd=login|input={{urlencode:{{#realname:Visitor}}}}}}
 
{{wikitask|cmd=reset}}
 
{{wikitask|cmd=runtemplate|engine={{{engine|}}}|input={{{input|}}}|template={{{actionpage|}}}|targetpage={{{output|}}}}}
 
 
}}
 
}}
 
</includeonly>
 
</includeonly>

Latest revision as of 09:43, 15 November 2024

This is the BITPlan Y-Prinzip ProfiWiki-Template for "Action".

see also

see also

Usage

{{Action
|name=
|servicetype=
|service=
|inputtype=
|input=
|actionpage=
|output=
|engine=
|author=
|since=
|comment=
|storemode=property or subobject or none"
}}