Difference between revisions of "Template:Step"

From BITPlan Wiki
Jump to navigation Jump to search
 
(17 intermediate revisions by the same user not shown)
Line 13: Line 13:
 
It belongs to the concept/topic {{Link|target=:Concept:Step}}<br>
 
It belongs to the concept/topic {{Link|target=:Concept:Step}}<br>
 
You may find examples for the use of this template via the {{Link|target=List of Steps}}.
 
You may find examples for the use of this template via the {{Link|target=List of Steps}}.
=== Usage ===
 
==== storemode subobject ====
 
<pre>{{Step
 
|name=
 
|kind=
 
|reference=
 
|text=
 
|test=
 
|level=
 
|storemode=subobject
 
}}
 
</pre>
 
 
==== storemode property ====
 
<pre>{{Step
 
|name=
 
|kind=
 
|reference=
 
|text=
 
|test=
 
|level=
 
|storemode=property
 
}}
 
</pre>
 
 
==== storemode none ====
 
<pre>{{Step
 
|name=
 
|kind=
 
|reference=
 
|text=
 
|test=
 
|level=
 
|storemode=none
 
}}
 
</pre>
 
 
 
==== viewmode tableheader ====
 
<pre>{{Step
 
|name=
 
|kind=
 
|reference=
 
|text=
 
|test=
 
|level=
 
|viewmode=tableheader
 
}}
 
</pre>
 
 
==== viewmode tablerow ====
 
<pre>{{Step
 
|name=
 
|kind=
 
|reference=
 
|text=
 
|test=
 
|level=
 
|viewmode=tablerow
 
}}
 
</pre>
 
 
==== viewmode tablefooter ====
 
<pre>{{Step
 
|name=
 
|kind=
 
|reference=
 
|text=
 
|test=
 
|level=
 
|viewmode=tablefooter
 
}}
 
</pre>
 
 
==== viewmode labelfield ====
 
<pre>{{Step
 
|name=
 
|kind=
 
|reference=
 
|text=
 
|test=
 
|level=
 
|viewmode=labelfield
 
}}
 
</pre>
 
  
=== Source (pretty printed) ===
 
<source lang='html4strict'>
 
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Step<br>|}}
 
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}}
 
{{#if:{{{?kind|}}}|"{{{?kind}}}" is kind of it <br>|}}
 
{{#if:{{{?reference|}}}|"{{{?reference}}}" is reference of it <br>|}}
 
{{#if:{{{?text|}}}|"{{{?text}}}" is text of it <br>|}}
 
{{#if:{{{?test|}}}|"{{{?test}}}" is test of it <br>|}}
 
{{#if:{{{?level|}}}|"{{{?level}}}" is level of it <br>|}}
 
|#default={{#switch:{{{storemode|}}}
 
|none=
 
|subobject={{#subobject:-
 
|isA=Step
 
|Step name={{{name|}}}
 
|Step kind={{{kind|}}}
 
|Step reference={{{reference|}}}
 
|Step text={{{text|}}}
 
|Step test={{{test|}}}
 
|Step level={{{level|}}}
 
}}
 
|#default={{#set:
 
|isA=Step
 
|Step name={{{name|}}}
 
|Step kind={{{kind|}}}
 
|Step reference={{{reference|}}}
 
|Step text={{{text|}}}
 
|Step test={{{test|}}}
 
|Step level={{{level|}}}
 
}}
 
}}
 
{{#switch: {{{viewmode|}}}
 
|hidden=
 
|masterdetail=
 
|tableheader={{{!}} class='wikitable'
 
!name!!kind!!reference!!text!!test!!level
 
{{!}}-
 
|tablerow=
 
{{!}}{{{name|}}}{{!}}{{!}}{{{kind|}}}{{!}}{{!}}{{{reference|}}}{{!}}{{!}}{{{text|}}}{{!}}{{!}}{{{test|}}}{{!}}{{!}}{{{level|}}}
 
{{!}}-
 
|tablefooter={{!}}}
 
|labelfield=
 
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>kind={{#if:{{{kind|}}}|{{{kind|}}}|}}<br>reference={{#if:{{{reference|}}}|{{{reference|}}}|}}<br>text={{#if:{{{text|}}}|{{{text|}}}|}}<br>test={{#if:{{{test|}}}|{{{test|}}}|}}<br>level={{#if:{{{level|}}}|{{{level|}}}|}}<br>|#default={{{!}} class='wikitable'
 
! colspan='2' {{!}}Step
 
{{!}}-
 
{{#switch:{{{storemode|}}}|property=
 
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Step/{{FULLPAGENAME}}|title=edit}}
 
{{!}}-
 
}}
 
!name
 
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|}}
 
{{!}}-
 
!kind
 
{{!}}&nbsp;{{#if:{{{kind|}}}|{{{kind|}}}|}}
 
{{!}}-
 
!reference
 
{{!}}&nbsp;{{#if:{{{reference|}}}|{{{reference|}}}|}}
 
{{!}}-
 
!text
 
{{!}}&nbsp;{{#if:{{{text|}}}|{{{text|}}}|}}
 
{{!}}-
 
!test
 
{{!}}&nbsp;{{#if:{{{test|}}}|{{{test|}}}|}}
 
{{!}}-
 
!level
 
{{!}}&nbsp;{{#if:{{{level|}}}|{{{level|}}}|}}
 
{{!}}-
 
{{!}}}
 
}}
 
}}
 
 
</source>
 
 
=== Source ===
 
=== Source ===
 
Click on "Edit" to edit the noinclude-part Source of this Template.
 
Click on "Edit" to edit the noinclude-part Source of this Template.
 
[[Category:Template]]
 
[[Category:Template]]
  
</noinclude><includeonly>{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Step<br>|}}
+
</noinclude><includeonly>{{#subobject:-
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}}
 
{{#if:{{{?kind|}}}|"{{{?kind}}}" is kind of it <br>|}}
 
{{#if:{{{?reference|}}}|"{{{?reference}}}" is reference of it <br>|}}
 
{{#if:{{{?text|}}}|"{{{?text}}}" is text of it <br>|}}
 
{{#if:{{{?test|}}}|"{{{?test}}}" is test of it <br>|}}
 
{{#if:{{{?level|}}}|"{{{?level}}}" is level of it <br>|}}
 
|#default={{#switch:{{{storemode|}}}
 
|none=
 
|property={{#set:
 
 
|isA=Step
 
|isA=Step
 
|Step name={{{name|}}}
 
|Step name={{{name|}}}
 
|Step kind={{{kind|}}}
 
|Step kind={{{kind|}}}
 
|Step reference={{{reference|}}}
 
|Step reference={{{reference|}}}
 +
|Step javadoc={{{javadoc|}}}
 
|Step text={{{text|}}}
 
|Step text={{{text|}}}
|Step test={{{test|}}}
 
 
|Step level={{{level|}}}
 
|Step level={{{level|}}}
 
}}
 
}}
|#default={{#subobject:-
+
{{#switch:{{{level|}}}|3=
|isA=Step
+
==== {{{name|}}} Step ====
|Step name={{{name|}}}
+
|2=
|Step kind={{{kind|}}}
+
=== {{{name|}}} Step ===
|Step reference={{{reference|}}}
+
|#default=
|Step text={{{text|}}}
+
== {{{name|}}} Step ==
|Step test={{{test|}}}
 
|Step level={{{level|}}}
 
}}
 
}}
 
{{#switch: {{{viewmode|}}}
 
|hidden=
 
|masterdetail=
 
|tableheader={{{!}} class='wikitable'
 
!name!!kind!!reference!!text!!test!!level
 
{{!}}-
 
|tablerow=
 
{{!}}{{{name|}}}{{!}}{{!}}{{{kind|}}}{{!}}{{!}}{{{reference|}}}{{!}}{{!}}{{{text|}}}{{!}}{{!}}{{{test|}}}{{!}}{{!}}{{{level|}}}
 
{{!}}-
 
|tablefooter={{!}}}
 
|labelfield=
 
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>kind={{#if:{{{kind|}}}|{{{kind|}}}|}}<br>reference={{#if:{{{reference|}}}|{{{reference|}}}|}}<br>text={{#if:{{{text|}}}|{{{text|}}}|}}<br>test={{#if:{{{test|}}}|{{{test|}}}|}}<br>level={{#if:{{{level|}}}|{{{level|}}}|}}<br>|#default={{{!}} class='wikitable'
 
! colspan='2' {{!}}Step
 
{{!}}-
 
{{#switch:{{{storemode|}}}|property=
 
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Step/{{FULLPAGENAME}}|title=edit}}
 
{{!}}-
 
}}
 
!name
 
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|}}
 
{{!}}-
 
!kind
 
{{!}}&nbsp;{{#if:{{{kind|}}}|{{{kind|}}}|}}
 
{{!}}-
 
!reference
 
{{!}}&nbsp;{{#if:{{{reference|}}}|{{{reference|}}}|}}
 
{{!}}-
 
!text
 
{{!}}&nbsp;{{#if:{{{text|}}}|{{{text|}}}|}}
 
{{!}}-
 
!test
 
{{!}}&nbsp;{{#if:{{{test|}}}|{{{test|}}}|}}
 
{{!}}-
 
!level
 
{{!}}&nbsp;{{#if:{{{level|}}}|{{{level|}}}|}}
 
{{!}}-
 
{{!}}}
 
}}
 
 
}}
 
}}
</includeonly>
+
The {{#if:{{{reference|}}}|[http://tinkerpop.apache.org/docs/current/reference/#{{{reference|}}} {{{name|}}}]|{{{name|}}}}} step {{#if:{{{javadoc|}}}|{{#arraymap:{{{javadoc|}}}|,|@@|[http://tinkerpop.apache.org/javadocs/current/core/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.html#@@ (javadoc)]}}}}{{{text|}}}
 +
{{{test|}}}</includeonly>

Latest revision as of 09:44, 29 April 2019

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

Source

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