Difference between revisions of "Template:Instruction Step Trainee"
From The Embassy of Good Science
(MWBot) |
(MWBot) |
||
Line 8: | Line 8: | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
− | <!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY-INSTRUCTION-STEP --><div class="spacer"></div><div class="instruction-step"><div class="instruction-step-wrapper instruction-step-grid" data-template="Instruction Step Trainee">{{#if: {{{Instruction Step Title|}}} | | + | <!-- PREPEND -->{{#vardefine:sortKeyIndexTrainee|{{#expr:{{#var:sortKeyIndexTrainee}} + 1}}}}<!-- /PREPEND --><!-- |
+ | |||
+ | <!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY-INSTRUCTION-STEP --><div class="spacer"></div><div class="instruction-step-number">{{#var:sortKeyIndexTrainee}}</div><div class="instruction-step"><div class="instruction-step-wrapper instruction-step-grid" data-template="Instruction Step Trainee">{{#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 25: | Line 27: | ||
|Instruction Step Title={{#if:{{{Instruction Step Title|}}}|{{{Instruction Step Title|}}}}} | |Instruction Step Title={{#if:{{{Instruction Step Title|}}}|{{{Instruction Step Title|}}}}} | ||
|Instruction Step Text={{#if:{{{Instruction Step Text|}}}|{{{Instruction Step Text|}}}}} | |Instruction Step Text={{#if:{{{Instruction Step Text|}}}|{{{Instruction Step Text|}}}}} | ||
+ | |@sortkey={{#var:sortKeyIndexTrainee}} | ||
}}<!-- /SMW SUBOBJECT --><!-- | }}<!-- /SMW SUBOBJECT --><!-- | ||
Revision as of 14:40, 23 September 2020
Usage
{{Instruction Step Trainee |Instruction Step Title= |Instruction Step Text= }}