Template:AMP/Component: Difference between revisions

Template page
m (small % text)
(hide percent if not provided)
 
Line 5: Line 5:
}}
}}
</div>
</div>
<div>
<div style="display: flex; flex-direction: column; align-items: middle;">
<p style="margin: 0px;">{{{name}}}</p>
<p style="margin: 0px;">{{{name}}}</p>
<p style="margin: 0px;"><small>'''{{{pct}}}%''' {{#ifeq: {{{pct}}}|3
{{#if: {{{pct|}}}|<p style="margin: 0px;"><small>'''{{{pct}}}%''' {{#ifeq: {{{pct}}}|3
| → <span style="color: #AAFFAA;">6%</span>
| → <span style="color: #AAFFAA;">6%</span>
|{{#ifeq: {{{pct}}}|6
|{{#ifeq: {{{pct}}}|6
Line 21: Line 21:
|{{#ifeq: {{{pct}}}|38
|{{#ifeq: {{{pct}}}|38
| → <span style="color: #FFAAAA;">32%</span>
| → <span style="color: #FFAAAA;">32%</span>
}}}}}}}}}}}}}}</small></p>
}}}}}}}}}}}}}}</small></p>}}
</div>
</div>
</div>
</div>

Latest revision as of 16:59, 3 August 2024

{{{name}}}