Diferencia entre revisiones de «Plantilla:Infobox/MeterEx»
De Inkipedia
m (2 revisiones importadas desde en:Template:Infobox/MeterEx) |
m (Texto reemplazado: «{{SiteColor|Generic}}» por «{{SiteColor|Generico}}») |
||
Línea 1: | Línea 1: | ||
<templatestyles src="Infobox/MeterEx/styles.css" /><includeonly><div style="display: inline-block; width: 100%; height: 20px; border: 1px solid rgba({{#if:{{{color|}}}|{{{color}}}|{{SiteColor| | <templatestyles src="Infobox/MeterEx/styles.css" /><includeonly><div style="display: inline-block; width: 100%; height: 20px; border: 1px solid rgba({{#if:{{{color|}}}|{{{color}}}|{{SiteColor|Generico}}}}, 0.5); background-color: rgba(0, 0, 0, 0.25); border-radius: 5px; overflow: hidden; position: relative; {{{style|}}}"><div style="display: table-cell; width: {{{1}}}%; height: 100%; background-color: rgb({{#if:{{{color|}}}|{{{color}}}|{{SiteColor|Generico}}}}); background-repeat: repeat-x; position: absolute;"><div class="infoboxmeter20" style="position: absolute; width: 100%; height: 100%; opacity: 0.25;"></div></div><div style="position: absolute; width: 100%; height: 100%; text-align: center; line-height: 20px;">{{{contents|'''{{{1}}} / 100'''}}}</div></div></includeonly><noinclude>__NOTOC__ | ||
Displays a "progress bar" style meter for an infobox. This is a chained template intended to be used only by [[Template:Infobox/Meter|Infobox/Meter]]. | Displays a "progress bar" style meter for an infobox. This is a chained template intended to be used only by [[Template:Infobox/Meter|Infobox/Meter]]. | ||
Revisión actual - 22:49 24 sep 2023
Displays a "progress bar" style meter for an infobox. This is a chained template intended to be used only by Infobox/Meter.
Parameters
All of the parameters are the same as Infobox/Meter, except max
is not present. Infobox/Meter calculates the value of percent
automatically if max
is provided.