Template:Step
Jump to navigation
Jump to search
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 }}
{{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
{{!}} {{#if:{{{name|}}}|{{{name|}}}|}}
{{!}}-
!kind
{{!}} {{#if:{{{kind|}}}|{{{kind|}}}|}}
{{!}}-
!reference
{{!}} {{#if:{{{reference|}}}|{{{reference|}}}|}}
{{!}}-
!text
{{!}} {{#if:{{{text|}}}|{{{text|}}}|}}
{{!}}-
!test
{{!}} {{#if:{{{test|}}}|{{{test|}}}|}}
{{!}}-
!level
{{!}} {{#if:{{{level|}}}|{{{level|}}}|}}
{{!}}-
{{!}}}
}}
}}
Source
Click on "Edit" to edit the noinclude-part Source of this Template.