Difference between revisions of "Template:Guide Step Trainee"

From The Embassy of Good Science
(MWBot)
 
(MWBot)
Line 3: Line 3:
 
--><noinclude><h2>Usage</h2>
 
--><noinclude><h2>Usage</h2>
 
<pre>{{Guide Step Trainee
 
<pre>{{Guide Step Trainee
   |Guide Step Element Type=
+
   |Guide Step Type Trainee=
   |Guide Step Element Section=
+
   |Guide Step Section=
   |Guide Step Element Element=
+
   |Guide Step Element=
 
}}</pre>
 
}}</pre>
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
  
<!-- PREPEND -->{{#vardefine:sortKeyIndexTrainee|{{#expr:{{#var:sortKeyIndexTrainee}} + 1}}}}<div class="spacer"></div><div class="step-number">{{#var:sortKeyIndexTrainee}}</div><!-- /PREPEND --><!--
+
<!-- PREPEND -->{{#vardefine:sortKeyIndexTrainee|{{#expr:{{#var:sortKeyIndexTrainee}} + 1}}}}<div class="spacer"></div><!-- /PREPEND --><!--
  
<!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY-INSTRUCTION-STEP --><div class="instruction-step"><div class="instruction-step-wrapper instruction-step-grid" data-template="Guide Step Trainee"></div></div>
+
<!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY-GUIDE-STEP --><div class="instruction-step"><div class="instruction-step-wrapper instruction-step-grid" data-template="Guide Step Trainee">{{#if: {{{Guide Step Section|}}} |
 +
{{#ifeq: Guide Step Section | Guide Step Section
 +
| <h5>{{{Guide Step Section|}}}</h5>
 +
| <p data-property="Guide Step Section">{{{Guide Step Section|}}}</p>
 +
}}
 +
|}}{{#if: {{{Guide Step Element|}}} |
 +
{{#ifeq: Guide Step Element | Guide Step Section
 +
| <h5>{{{Guide Step Element|}}}</h5>
 +
| <p data-property="Guide Step Element">{{{Guide Step Element|}}}</p>
 +
}}
 +
|}}</div></div>
 
<!-- /DISPLAY --><!--
 
<!-- /DISPLAY --><!--
  
 
<-- SMW SUBOBJECT -->{{#subobject:|
 
<-- SMW SUBOBJECT -->{{#subobject:|
 
   |@category=Guide Step Trainee
 
   |@category=Guide Step Trainee
   |Guide Step Element Type={{#if:{{{Guide Step Element Type|}}}|{{{Guide Step Element Type|}}}}}
+
   |Guide Step Type Trainee={{#if:{{{Guide Step Type Trainee|}}}|{{{Guide Step Type Trainee|}}}}}
   |Guide Step Element Section={{#if:{{{Guide Step Element Section|}}}|{{{Guide Step Element Section|}}}}}
+
   |Guide Step Section={{#if:{{{Guide Step Section|}}}|{{{Guide Step Section|}}}}}
   |Guide Step Element Element={{#if:{{{Guide Step Element Element|}}}|{{{Guide Step Element Element|}}}}}
+
   |Guide Step Element={{#if:{{{Guide Step Element|}}}|{{{Guide Step Element|}}}}}
 
   |@sortkey={{#var:sortKeyIndexTrainee}}
 
   |@sortkey={{#var:sortKeyIndexTrainee}}
 
}}<!-- /SMW SUBOBJECT --><!--
 
}}<!-- /SMW SUBOBJECT --><!--

Revision as of 16:20, 24 September 2020

Usage

{{Guide Step Trainee
  |Guide Step Type Trainee=
  |Guide Step Section=
  |Guide Step Element=
}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
5.1.6