Difference between revisions of "Template:Instruction Step"

From The Embassy of Good Science
(MWBot)
(MWBot)
Line 8: Line 8:
 
</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">{{#if: {{{Instruction Step Title|}}} | <h3>{{int:EGS Instruction Instruction Step Title}}</h3><p data-property="Instruction Step Title">
+
<!-- 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">{{#if: {{{Instruction Step Title|}}} |
{{{Instruction Step Title|}}}</p>|}}{{#if: {{{Instruction Step Text|}}} | <h3>{{int:EGS Instruction Instruction Step Text}}</h3><p data-property="Instruction Step Text">
+
{{#ifeq: Instruction Step Title | Instruction Step Title
{{{Instruction Step Text|}}}</p>|}}</div></div>
+
| <h5>{{{Instruction Step Title|}}}</h5>
 +
| <p data-property="Instruction Step Title">{{{Instruction Step Title|}}}</p>
 +
}}
 +
|}}{{#if: {{{Instruction Step Text|}}} |
 +
{{#ifeq: Instruction Step Text | Instruction Step Title
 +
| <h5>{{{Instruction Step Text|}}}</h5>
 +
| <p data-property="Instruction Step Text">{{{Instruction Step Text|}}}</p>
 +
}}
 +
|}}</div></div>
 
<!-- /DISPLAY --><!--
 
<!-- /DISPLAY --><!--
  

Revision as of 10:03, 28 May 2020

Usage

{{Instruction Step
  |Instruction Step Title=
  |Instruction Step Text=
}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
5.1.6