Template:Pie chart/slice

From The World of Gotha
Revision as of 18:57, 15 September 2024 by Octavius (talk | contribs) (Created page with "<includeonly><div style="border:solid transparent;background-color:initial;position:absolute;width:{{{radius|100}}}px;line-height:0;{{#switch:{{#expr:floor({{{2}}}/25)}} <!-- 0-25% --> |0= left:{{{radius|100}}}px; top:{{#expr:{{{radius|100}}}*(1-sin(pi/50*{{{2}}}))}}px; border-width:0 0 {{#expr:{{{radius|100}}}*sin(pi/50*{{{2}}})}}px {{#expr:{{{radius|100}}}*cos(pi/50*{{{2}}})}}px; border-bottom-color:{{{1}}} "></div> <!-- 25-50% --> |1= right:{{{radius|100}}}px; top:0;...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search