Difference between revisions of "Template:Instruction Step Trainer"

From The Embassy of Good Science
(MWBot)
 
(MWBot)
 
(23 intermediate revisions by one other user not shown)
Line 1: Line 1:
<!--------------------------------- MOBO GENERATED TEMPLATE ----------------------------------><!--
+
<!--------------------------------- 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><!--
  
<!-- 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 Trainer">{{#if: {{{Instruction Step Title|}}} |
+
<!-- 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 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 18: Line 21:
 
| <p data-property="Instruction Step Text">{{{Instruction Step Text|}}}</p>
 
| <p data-property="Instruction Step Text">{{{Instruction Step Text|}}}</p>
 
}}
 
}}
|}}</div></div>
+
|}}{{#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 25: 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|}}}}}
}}<!-- /SMW SUBOBJECT --><!--
+
  |Instruction Step Interactive Content={{#if:{{{Instruction Step Interactive Content|}}}|{{{Instruction Step Interactive Content|}}}}}
 
+
  |@sortkey={{#var:sortKeyIndexTrainer}}
<-- CATEGORY --><!-- /CATEGORY --></includeonly><!--
+
}}<!-- /SMW SUBOBJECT --><!--<!--
  
<!-- GLOBAL APPEND --><noinclude>{{Generated by gesinn.it}} <!-- All content on this page: Copyright © 2020 gesinn.it GmbH & Co. KG --></noinclude><!-- /GLOBAL APPEND -->
+
<!-- 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=
}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
5.1.6