Difference between revisions of "Template:Instruction Step"
From The Embassy of Good Science
(MWBot) |
(MWBot) |
||
Line 15: | Line 15: | ||
}} | }} | ||
{{#ifeq: Instruction Step Title | Instruction Step Interactive Content | {{#ifeq: Instruction Step Title | Instruction Step Interactive Content | ||
− | | <!--{{#widget:H5P|ID={{#explode:{{PAGENAME}}|-|1}}}}-->{{#replace: | + | | <!--{{#widget:H5P|ID={{#explode:{{PAGENAME}}|-|1}}}}-->{{#replace:{{{Instruction Step Title|}}}|[[|}} |
}} | }} | ||
|}}{{#if: {{{Instruction Step Text|}}} | | |}}{{#if: {{{Instruction Step Text|}}} | | ||
Line 23: | Line 23: | ||
}} | }} | ||
{{#ifeq: Instruction Step Text | Instruction Step Interactive Content | {{#ifeq: Instruction Step Text | Instruction Step Interactive Content | ||
− | | <!--{{#widget:H5P|ID={{#explode:{{PAGENAME}}|-|1}}}}-->{{#replace: | + | | <!--{{#widget:H5P|ID={{#explode:{{PAGENAME}}|-|1}}}}-->{{#replace:{{{Instruction Step Text|}}}|[[|}} |
}} | }} | ||
|}}{{#if: {{{Instruction Step Interactive Content|}}} | | |}}{{#if: {{{Instruction Step Interactive Content|}}} | | ||
Line 31: | Line 31: | ||
}} | }} | ||
{{#ifeq: Instruction Step Interactive Content | Instruction Step Interactive Content | {{#ifeq: Instruction Step Interactive Content | Instruction Step Interactive Content | ||
− | | <!--{{#widget:H5P|ID={{#explode:{{PAGENAME}}|-|1}}}}-->{{#replace: | + | | <!--{{#widget:H5P|ID={{#explode:{{PAGENAME}}|-|1}}}}-->{{#replace:[[{{{Instruction Step Interactive Content|}}}]]|[[|}} |
}} | }} | ||
|}}</div> | |}}</div> |
Revision as of 09:05, 16 February 2024
Usage
{{Instruction Step |Instruction Step Title= |Instruction Step Text= |Instruction Step Interactive Content= }}