Difference between revisions of "Template:Instruction Step"

From The Embassy of Good Science
(MWBot)
(MWBot)
 
Line 9: Line 9:
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
  
<!-- DISPLAY FORMAT: GADGET-ROW-SIDEBAR --><div class="display-format-gadget-p panel panel-default sidebarItem" data-template="Instruction Step">
+
<!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY-INSTRUCTION-STEP --><div class="instruction-step instruction-step-grid" data-template="Instruction Step">{{#if: {{{Instruction Step Title|}}} |
<div class="panel-heading">{{int:EGS Instruction Step}}</div>
+
{{#ifeq: Instruction Step Title | Instruction Step Title
<div class="panel-body">{{#if: {{{Instruction Step Title|}}} |  
+
| <h5>{{{Instruction Step Title|}}}</h5>
<div class="display-format-gadget-p-wrapper"><div class="display-format-gadget-p-label">{{int:EGS Instruction Step Title}} </div>
+
| <p data-property="Instruction Step Title">{{{Instruction Step Title|}}}</p>
<div class="display-format-gadget-p-value" data-property="Instruction Step Title">
+
}}
{{{Instruction Step Title|}}} </div></div> |}}{{#if: {{{Instruction Step Text|}}} |  
+
|}}{{#if: {{{Instruction Step Text|}}} |
<div class="display-format-gadget-p-wrapper"><div class="display-format-gadget-p-label">{{int:EGS Instruction Step Text}} </div>
+
{{#ifeq: Instruction Step Text | Instruction Step Title
<div class="display-format-gadget-p-value" data-property="Instruction Step Text">
+
| <h5>{{{Instruction Step Text|}}}</h5>
{{{Instruction Step Text|}}} </div></div> |}}{{#if: {{{Instruction Step Interactive Content|}}} |  
+
| <p data-property="Instruction Step Text">{{{Instruction Step Text|}}}</p>
<div class="display-format-gadget-p-wrapper"><div class="display-format-gadget-p-label">{{int:EGS Resource Interactive Content}} </div>
+
}}
<div class="display-format-gadget-p-value" data-property="Instruction Step Interactive Content">
+
|}}{{#if: {{{Instruction Step Interactive Content|}}} |
[[{{{Instruction Step Interactive Content|}}}]] </div></div> |}}<p>INTER CONTENT HERE</p></div></div><!-- /DISPLAY --><!--
+
{{#ifeq: Instruction Step Interactive Content | Instruction Step Title
 
+
| <h5>[[{{{Instruction Step Interactive Content|}}}]]</h5>
<-- APPEND--><p>INTER CONTENT HERE</p><!-- /APPEND --><!--
+
| <p data-property="Instruction Step Interactive Content">[[{{{Instruction Step Interactive Content|}}}]]</p>
 +
}}
 +
|}}</div>
 +
<!-- /DISPLAY --><!--
  
 
<-- SMW ANNOTATION -->[[Instruction Step Title::{{{Instruction Step Title|}}}| ]]{{#set:Instruction Step Text={{{Instruction Step Text|}}}}}[[Instruction Step Interactive Content::{{{Instruction Step Interactive Content|}}}| ]]<!-- /SMW ANNOTATION --><!--<!--
 
<-- SMW ANNOTATION -->[[Instruction Step Title::{{{Instruction Step Title|}}}| ]]{{#set:Instruction Step Text={{{Instruction Step Text|}}}}}[[Instruction Step Interactive Content::{{{Instruction Step Interactive Content|}}}| ]]<!-- /SMW ANNOTATION --><!--<!--
  
 
<!-- CATEGORY --><!-- /CATEGORY --></includeonly>
 
<!-- CATEGORY --><!-- /CATEGORY --></includeonly>

Latest revision as of 13:21, 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