Difference between revisions of "Template:Guide Step Trainee"
From The Embassy of Good Science
(MWBot) |
(MWBot) |
||
Line 3: | Line 3: | ||
--><noinclude><h2>Usage</h2> | --><noinclude><h2>Usage</h2> | ||
<pre>{{Guide Step Trainee | <pre>{{Guide Step Trainee | ||
− | |Guide Step | + | |Guide Step Type Trainee= |
− | |Guide Step | + | |Guide Step Section= |
− | |Guide Step | + | |Guide Step Element= |
}}</pre> | }}</pre> | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
− | <!-- PREPEND -->{{#vardefine:sortKeyIndexTrainee|{{#expr:{{#var:sortKeyIndexTrainee}} + 1}}}}<div class="spacer"> | + | <!-- PREPEND -->{{#vardefine:sortKeyIndexTrainee|{{#expr:{{#var:sortKeyIndexTrainee}} + 1}}}}<div class="spacer"></div><!-- /PREPEND --><!-- |
− | <!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY- | + | <!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY-GUIDE-STEP --><div class="instruction-step"><div class="instruction-step-wrapper instruction-step-grid" data-template="Guide Step Trainee">{{#if: {{{Guide Step Section|}}} | |
+ | {{#ifeq: Guide Step Section | Guide Step Section | ||
+ | | <h5>{{{Guide Step Section|}}}</h5> | ||
+ | | <p data-property="Guide Step Section">{{{Guide Step Section|}}}</p> | ||
+ | }} | ||
+ | |}}{{#if: {{{Guide Step Element|}}} | | ||
+ | {{#ifeq: Guide Step Element | Guide Step Section | ||
+ | | <h5>{{{Guide Step Element|}}}</h5> | ||
+ | | <p data-property="Guide Step Element">{{{Guide Step Element|}}}</p> | ||
+ | }} | ||
+ | |}}</div></div> | ||
<!-- /DISPLAY --><!-- | <!-- /DISPLAY --><!-- | ||
<-- SMW SUBOBJECT -->{{#subobject:| | <-- SMW SUBOBJECT -->{{#subobject:| | ||
|@category=Guide Step Trainee | |@category=Guide Step Trainee | ||
− | |Guide Step | + | |Guide Step Type Trainee={{#if:{{{Guide Step Type Trainee|}}}|{{{Guide Step Type Trainee|}}}}} |
− | |Guide Step | + | |Guide Step Section={{#if:{{{Guide Step Section|}}}|{{{Guide Step Section|}}}}} |
− | |Guide Step | + | |Guide Step Element={{#if:{{{Guide Step Element|}}}|{{{Guide Step Element|}}}}} |
|@sortkey={{#var:sortKeyIndexTrainee}} | |@sortkey={{#var:sortKeyIndexTrainee}} | ||
}}<!-- /SMW SUBOBJECT --><!-- | }}<!-- /SMW SUBOBJECT --><!-- |
Revision as of 15:20, 24 September 2020
Usage
{{Guide Step Trainee |Guide Step Type Trainee= |Guide Step Section= |Guide Step Element= }}