Template:Progress ring: Difference between revisions

From Portals of Phereon Wiki
Content added Content deleted
No edit summary
No edit summary
Line 1: Line 1:
<div class="progress-ring">
<div class="progress-ring"><!--
{{#Widget:ProgressRing
-->{{#Widget:ProgressRing
| dimensions = 88
| dimensions = 88
| offset = 44
| offset = 44
Line 10: Line 10:
| mainline_color = green
| mainline_color = green
| mainline_width = 6
| mainline_width = 6
}}
}}<!--
<span class="percentage">{{{percentage|0}}}%</span>
--><span class="percentage">{{{percentage|0}}}%</span><!--
</div>
--></div>
{{#css:
{{#css:
.progress-ring svg {
.progress-ring > svg {
stroke-dasharray: 252; /* (2PI * 40px) */
stroke-dasharray: 252; /* (2PI * 40px) */
stroke-dashoffset: 252;
stroke-dashoffset: 252;

Revision as of 01:31, 9 September 2020

{{#Widget:ProgressRing
| dimensions = 88
| offset = 44
| radius = 40
| preline_color = #00000077
| preline_width = 1
| outline_color = #000000AA
| outline_width = 8
| mainline_color = green
| mainline_width = 6
}}0%