Jump to content

Template:Process steps: Difference between revisions

From Impact Evaluation Foundation
Article component template for IEF.wiki articles
 
Add item-count class for balanced layouts
 
Line 1: Line 1:
<includeonly><templatestyles src="IEF article/styles.css" /><div class="ief-steps">{{#if:{{{title|}}}|<div class="ief-steps-title">{{{title}}}</div>}}<div class="ief-steps-grid"><!--
<includeonly><templatestyles src="IEF article/styles.css" /><div class="ief-steps ief-steps-n{{#if:{{{step8|}}}|8|{{#if:{{{step7|}}}|7|{{#if:{{{step6|}}}|6|{{#if:{{{step5|}}}|5|{{#if:{{{step4|}}}|4|{{#if:{{{step3|}}}|3|{{#if:{{{step2|}}}|2|{{#if:{{{step1|}}}|1|0}}}}}}}}}}}}}}}}">{{#if:{{{title|}}}|<div class="ief-steps-title">{{{title}}}</div>}}<div class="ief-steps-grid"><!--
-->{{#if:{{{step1|}}}|<div class="ief-step"><span class="ief-step-num">1</span><div class="ief-step-title">{{{step1}}}</div><div class="ief-step-text">{{{text1|}}}</div></div>}}<!--
-->{{#if:{{{step1|}}}|<div class="ief-step"><span class="ief-step-num">1</span><div class="ief-step-title">{{{step1}}}</div><div class="ief-step-text">{{{text1|}}}</div></div>}}<!--
-->{{#if:{{{step2|}}}|<div class="ief-step"><span class="ief-step-num">2</span><div class="ief-step-title">{{{step2}}}</div><div class="ief-step-text">{{{text2|}}}</div></div>}}<!--
-->{{#if:{{{step2|}}}|<div class="ief-step"><span class="ief-step-num">2</span><div class="ief-step-title">{{{step2}}}</div><div class="ief-step-text">{{{text2|}}}</div></div>}}<!--

Latest revision as of 09:42, 15 November 2026

A numbered, step-by-step diagram (up to 8 steps). Cards sit side by side on wide screens and stack on phones.

{{Process steps
| title = How the mechanism works
| step1 = Short step title | text1 = One or two sentences.
| step2 = Short step title | text2 = One or two sentences.
| note = Optional note or source.
}}