Difference between revisions of "Template:Instruction Step Trainee"
From The Embassy of Good Science
(MWBot) |
(MWBot) |
||
(24 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | <!--------------------------------- | + | <!--------------------------------- MANAGED TEMPLATE ----------------------------------><!-- |
--><noinclude><h2>Usage</h2> | --><noinclude><h2>Usage</h2> | ||
Line 5: | Line 5: | ||
|Instruction Step Title= | |Instruction Step Title= | ||
|Instruction Step Text= | |Instruction Step Text= | ||
+ | |Instruction Step Interactive Content= | ||
}}</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><div class="instruction-step-wrapper"><div class="step-number">{{#var:sortKeyIndexTrainee}}</div><!-- /PREPEND --><!-- |
− | <!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY-INSTRUCTION-STEP --><div class="instruction-step | + | <!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY-INSTRUCTION-STEP --><div class="instruction-step 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 20: | Line 21: | ||
| <p data-property="Instruction Step Text">{{{Instruction Step Text|}}}</p> | | <p data-property="Instruction Step Text">{{{Instruction Step Text|}}}</p> | ||
}} | }} | ||
− | |}}</ | + | |}}{{#if: {{{Instruction Step Interactive Content|}}} | |
+ | {{#ifeq: Instruction Step Interactive Content | Instruction Step Title | ||
+ | | <h5>[[{{{Instruction Step Interactive Content|}}}]]</h5> | ||
+ | | <p data-property="Instruction Step Interactive Content">[[{{{Instruction Step Interactive Content|}}}]]</p> | ||
+ | }} | ||
+ | |}}</div> | ||
<!-- /DISPLAY --><!-- | <!-- /DISPLAY --><!-- | ||
+ | |||
+ | <-- APPEND-->{{#if:{{#explode:{{{Instruction Step Interactive Content|}}}|-|1}}|{{#widget:H5P|ID={{#explode:{{{Instruction Step Interactive Content|}}}|-|1}}}}|}} | ||
+ | </div><!-- /APPEND --><!-- | ||
<-- SMW SUBOBJECT -->{{#subobject:| | <-- SMW SUBOBJECT -->{{#subobject:| | ||
Line 27: | Line 36: | ||
|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|}}}}} | ||
+ | |Instruction Step Interactive Content={{#if:{{{Instruction Step Interactive Content|}}}|{{{Instruction Step Interactive Content|}}}}} | ||
|@sortkey={{#var:sortKeyIndexTrainee}} | |@sortkey={{#var:sortKeyIndexTrainee}} | ||
− | }}<!-- /SMW SUBOBJECT --><!-- | + | }}<!-- /SMW SUBOBJECT --><!--<!-- |
− | |||
− | |||
− | <!-- | + | <!-- CATEGORY --><!-- /CATEGORY --></includeonly> |
Latest revision as of 11:11, 15 April 2024
Usage
{{Instruction Step Trainee |Instruction Step Title= |Instruction Step Text= |Instruction Step Interactive Content= }}