« Modèle:Pie chart/slice » : différence entre les versions

De Los Plantos Wiki
Page créée avec « <includeonly><div class="transborder" style="position:absolute;width:100px;line-height:0;{{#switch:{{#expr:floor({{{2}}}/25)}} <!-- 0-25% --> |0= left:100px; top:{{#expr:100-100*sin(pi/50*{{{2}}})}}px; border-width:0 0 {{#expr:100*sin(pi/50*{{{2}}})}}px {{#expr:100*cos(pi/50*{{{2}}})}}px; border-bottom-color:{{{1}}} "></div> <!-- 25-50% --> |1= right:100px; top:0; border-width:0 {{#expr:100*tan(pi/50*({{{2}}}-25))}}px 100px 0; border-right-color:{{{1}}} "></div>... »
 
Aucun résumé des modifications
Ligne 36 : Ligne 36 :
}}</includeonly><noinclude>
}}</includeonly><noinclude>


{{documentation}}
=== Usage ===
'''This template is not intended to be used directly.''' It is used to draw individual slices of pie charts within {{tl|Pie chart}}. Please see that template's documentation for more information.
 
=== See also ===
* {{tl|Pie chart}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Version du 17 janvier 2024 à 19:20


Usage

This template is not intended to be used directly. It is used to draw individual slices of pie charts within Modèle:Tl. Please see that template's documentation for more information.

See also