Difference between revisions of "Template:Step"

From BITPlan Wiki
Jump to navigation Jump to search
Line 241: Line 241:
 
}}
 
}}
 
|#default=
 
|#default=
{{{storemode|}}}
 
 
{{#switch:{{{level|}}}|3=
 
{{#switch:{{{level|}}}|3=
 
==== {{{name|}}} ====
 
==== {{{name|}}} ====
Line 251: Line 250:
 
The [http://tinkerpop.apache.org/docs/current/reference/#{{{reference|}}} {{{name|}}} step] {{{text|}}}
 
The [http://tinkerpop.apache.org/docs/current/reference/#{{{reference|}}} {{{name|}}} step] {{{text|}}}
 
{{{test|}}}
 
{{{test|}}}
 +
}}
 
}}
 
}}
 
</includeonly>
 
</includeonly>

Revision as of 09:13, 26 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.

Usage

storemode subobject

{{Step
|name=
|kind=
|reference=
|text=
|test=
|level=
|storemode=subobject
}}

storemode property

{{Step
|name=
|kind=
|reference=
|text=
|test=
|level=
|storemode=property
}}

storemode none

{{Step
|name=
|kind=
|reference=
|text=
|test=
|level=
|storemode=none
}}


viewmode tableheader

{{Step
|name=
|kind=
|reference=
|text=
|test=
|level=
|viewmode=tableheader
}}

viewmode tablerow

{{Step
|name=
|kind=
|reference=
|text=
|test=
|level=
|viewmode=tablerow
}}

viewmode tablefooter

{{Step
|name=
|kind=
|reference=
|text=
|test=
|level=
|viewmode=tablefooter
}}

viewmode labelfield

{{Step
|name=
|kind=
|reference=
|text=
|test=
|level=
|viewmode=labelfield
}}

Source (pretty printed)

{{#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

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