Template:IndicatorCard: Difference between revisions
Elie Saade (talk | contribs) No edit summary |
Elie Saade (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<div style="background: white; border-left: 5px solid #005596; border: 1px solid #ddd; padding: | <noinclude> | ||
<div style="font-size: 0. | This is the "IndicatorCard" template. | ||
{{{ | It should be called in the following format: | ||
<pre> | |||
{{IndicatorCard | |||
|task_title= | |||
|strapi_id= | |||
|indic_description= | |||
|unit_of_measurement= | |||
|target= | |||
|frequency= | |||
}} | |||
</pre> | |||
Edit the page to see the template text. | |||
</noinclude><includeonly><div style="background: white; border-left: 5px solid #005596; border: 1px solid #ddd; padding: 20px; margin-bottom: 20px; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; transition: box-shadow 0.2s ease;"> | |||
<!-- Header --> | |||
<div style="font-size: 0.8em; color: #666; text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; border-bottom: 2px solid #f0f0f0; padding-bottom: 8px; margin-bottom: 12px;"> | |||
<span style="color: #005596;">📋 {{{task_title|General Task}}}</span> <span style="color: #999; font-weight: 400;">· ID: {{{strapi_id|—}}}</span> | |||
</div> | </div> | ||
<div style="font-size: 1. | <!-- Description --> | ||
{{{ | <div style="font-size: 1.05em; color: #222; margin: 12px 0 16px 0; line-height: 1.6; font-weight: 400;"> | ||
{{{indic_description|No description provided.}}} | |||
</div> | </div> | ||
<div style="display: flex; flex-wrap: wrap; gap: | <!-- Metrics --> | ||
<div style="background: # | <div style="display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; font-size: 0.88em;"> | ||
<div style="background: #f5f5f5; padding: 6px 12px; border-radius: 4px; border: 1px solid #e0e0e0;"> | |||
<span style="color: #666; font-weight: 600;">Unit:</span> <span style="color: #333;">{{{unit_of_measurement|N/A}}}</span> | |||
</div> | </div> | ||
<div style="background: #e7f4e4; color: #2e7d32; padding: | <div style="background: linear-gradient(135deg, #e7f4e4 0%, #d4edda 100%); color: #2e7d32; padding: 6px 12px; border-radius: 4px; border: 1px solid #c3e6cb; font-weight: 600;"> | ||
🎯 Target: {{{target|TBD}}} | |||
</div> | </div> | ||
<div> | <div style="background: #fff3e0; padding: 6px 12px; border-radius: 4px; border: 1px solid #ffe0b2; color: #e65100;"> | ||
<span style="font-weight: 600;">⏱️ Frequency:</span> {{{frequency|N/A}}} | |||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div></includeonly> | ||
Latest revision as of 13:14, 6 February 2026
This is the "IndicatorCard" template. It should be called in the following format:
{{IndicatorCard
|task_title=
|strapi_id=
|indic_description=
|unit_of_measurement=
|target=
|frequency=
}}
Edit the page to see the template text.