Difference between revisions of "Template:Instruction Step Trainer"
From The Embassy of Good Science
(MWBot) |
(MWBot) |
||
(17 intermediate revisions by one other user not shown) | |||
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><!-- | ||
Line 19: | Line 20: | ||
| <h5>{{{Instruction Step Text|}}}</h5> | | <h5>{{{Instruction Step Text|}}}</h5> | ||
| <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> | |}}</div> | ||
<!-- /DISPLAY --><!-- | <!-- /DISPLAY --><!-- | ||
− | <-- APPEND--></div><!-- /APPEND --><!-- | + | <-- 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 29: | 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:sortKeyIndexTrainer}} | |@sortkey={{#var:sortKeyIndexTrainer}} | ||
}}<!-- /SMW SUBOBJECT --><!--<!-- | }}<!-- /SMW SUBOBJECT --><!--<!-- | ||
<!-- CATEGORY --><!-- /CATEGORY --></includeonly> | <!-- CATEGORY --><!-- /CATEGORY --></includeonly> |
Latest revision as of 11:15, 15 April 2024
Usage
{{Instruction Step Trainer |Instruction Step Title= |Instruction Step Text= |Instruction Step Interactive Content= }}