Difference between revisions of "Template:Instruction Step Trainer"

From The Embassy of Good Science
(MWBot)
(MWBot)
Line 8: Line 8:
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
  
<!-- PREPEND -->{{#vardefine:sortKeyIndexTrainer|{{#expr:{{#var:sortKeyIndexTrainer}} + 1}}}}<div class="spacer"></div><div class="step-number">{{#var:sortKeyIndexTrainer}}</div><!-- /PREPEND --><!--
+
<!-- PREPEND -->{{#vardefine:sortKeyIndexTrainer|{{#expr:{{#var:sortKeyIndexTrainer}} + 1}}}}<div class="spacer"></div><div class="instruction-step-wrapper"><div class="step-number">{{#var:sortKeyIndexTrainer}}</div><!-- /PREPEND --><!--
  
<!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY-INSTRUCTION-STEP --><div class="instruction-step"><div class="instruction-step-wrapper instruction-step-grid" data-template="Instruction Step Trainer">{{#if: {{{Instruction Step Title|}}} |
+
<!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY-INSTRUCTION-STEP --><div class="instruction-step instruction-step-grid" data-template="Instruction Step Trainer">{{#if: {{{Instruction Step Title|}}} |
 
{{#ifeq: Instruction Step Title | Instruction Step Title
 
{{#ifeq: Instruction Step Title | Instruction Step Title
 
| <h5>{{{Instruction Step Title|}}}</h5>
 
| <h5>{{{Instruction Step Title|}}}</h5>
Line 20: Line 20:
 
| <p data-property="Instruction Step Text">{{{Instruction Step Text|}}}</p>
 
| <p data-property="Instruction Step Text">{{{Instruction Step Text|}}}</p>
 
}}
 
}}
|}}</div></div>
+
|}}</div>
 
<!-- /DISPLAY --><!--
 
<!-- /DISPLAY --><!--
 +
 +
<-- APPEND--></div><!-- /APPEND --><!--
  
 
<-- SMW SUBOBJECT -->{{#subobject:|
 
<-- SMW SUBOBJECT -->{{#subobject:|

Revision as of 10:18, 13 October 2020

Usage

{{Instruction Step Trainer
  |Instruction Step Title=
  |Instruction Step Text=
}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
5.1.6