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:{{{Instruction Step Title|}}}|[[|}}
+
| <!--{{#widget:H5P|ID={{#explode:{{PAGENAME}}|-|1}}}}-->{{#replace:{{#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:{{{Instruction Step Text|}}}|[[|}}
+
| <!--{{#widget:H5P|ID={{#explode:{{PAGENAME}}|-|1}}}}-->{{#replace:{{#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:[[{{{Instruction Step Interactive Content|}}}]]|[[|}}
+
| <!--{{#widget:H5P|ID={{#explode:{{PAGENAME}}|-|1}}}}-->{{#replace:{{#replace:[[{{{Instruction Step Interactive Content|}}}]]|[[|}}|]]|}}
 
}}
 
}}
 
|}}</div>
 
|}}</div>

Revision as of 10:05, 16 February 2024

Usage

{{Instruction Step
  |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