Template:Percentagebar: Difference between revisions

From FasciPedia
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
<div style="margin:auto; border: {{{border-width|1px}}} solid {{{border-color|#000}}}; background-color: {{{background-color|#fff}}}; width: {{{width|600}}}px; height: 1.5em;"><div style="position: absolute; background-color:{{{c|#{{{hex|{{{3|DBDBDB}}}}}}}}}; width: {{#expr:floor({{{width|600}}}*{{{1|50}}}/100)}}px; height: 1.5em;"></div><div style="position: absolute; font-weight: bold; width: {{{width|100}}}px; height: 1.5em; text-align: center; z-index: 10; color: {{{color|#000}}};">{{{2|{{formatnum:{{{1|50}}}}}}}}%</div></div><noinclude>
<div style="margin:auto; border: {{{border-width|1px}}} solid {{{border-color|#000}}}; background-color: {{{background-color|#fff}}}; width: {{{width|600}}}px; height: 1.5em;"><div style="position: absolute; background-color:{{{c|#{{{hex|{{{3|DBDBDB}}}}}}}}}; width: {{#expr:floor({{{width|500}}}*{{{1|50}}}/100)}}px; height: 1.5em;"></div><div style="position: absolute; font-weight: bold; width: {{{width|100}}}px; height: 1.5em; text-align: center; z-index: 10; color: {{{color|#000}}};">{{{2|{{formatnum:{{{1|50}}}}}}}}%</div></div><noinclude>
{{Documentation}}
{{Documentation}}
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES TO THE /doc SUBPAGE, THANKS -->
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES TO THE /doc SUBPAGE, THANKS -->
</noinclude>
</noinclude>

Revision as of 12:54, 20 January 2023

50%
[[{{fullurl:Template:Documentation/docname|action=edit&preload=Template:Documentation/preload}} create]] Template documentation