Difference between revisions of "Template:Instruction Step Trainer"

From The Embassy of Good Science
(MWBot)
(MWBot)
 
(7 intermediate revisions by one other user not shown)
Line 15: Line 15:
 
| <h5>{{{Instruction Step Title|}}}</h5>
 
| <h5>{{{Instruction Step Title|}}}</h5>
 
| <p data-property="Instruction Step Title">{{{Instruction Step Title|}}}</p>
 
| <p data-property="Instruction Step Title">{{{Instruction Step Title|}}}</p>
}}
 
{{#ifeq: Instruction Step Title | Instruction Step Interactive Content
 
| <!--{{#widget:H5P|ID={{#explode:{{PAGENAME}}|-|1}}}}-->{{#replace:{{#replace:{{{Instruction Step Title|}}}|[[|}}|]]|}}}}
 
 
}}
 
}}
 
|}}{{#if: {{{Instruction Step Text|}}} |
 
|}}{{#if: {{{Instruction Step Text|}}} |
Line 23: 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>
}}
 
{{#ifeq: Instruction Step Text | Instruction Step Interactive Content
 
| <!--{{#widget:H5P|ID={{#explode:{{PAGENAME}}|-|1}}}}-->{{#replace:{{#replace:{{{Instruction Step Text|}}}|[[|}}|]]|}}}}
 
 
}}
 
}}
 
|}}{{#if: {{{Instruction Step Interactive Content|}}} |
 
|}}{{#if: {{{Instruction Step Interactive Content|}}} |
Line 31: Line 25:
 
| <h5>[[{{{Instruction Step Interactive Content|}}}]]</h5>
 
| <h5>[[{{{Instruction Step Interactive Content|}}}]]</h5>
 
| <p data-property="Instruction Step Interactive Content">[[{{{Instruction Step Interactive Content|}}}]]</p>
 
| <p data-property="Instruction Step Interactive Content">[[{{{Instruction Step Interactive Content|}}}]]</p>
}}
 
{{#ifeq: Instruction Step Interactive Content | Instruction Step Interactive Content
 
| <!--{{#widget:H5P|ID={{#explode:{{PAGENAME}}|-|1}}}}-->{{#replace:{{#replace:[[{{{Instruction Step Interactive Content|}}}]]|[[|}}|]]|}}}}
 
 
}}
 
}}
 
|}}</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:|

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