<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.darkan.org/index.php?action=history&amp;feed=atom&amp;title=Template%3APie%2Fdoc</id>
	<title>Template:Pie/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.darkan.org/index.php?action=history&amp;feed=atom&amp;title=Template%3APie%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.darkan.org/index.php?title=Template:Pie/doc&amp;action=history"/>
	<updated>2026-07-18T09:52:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wiki.darkan.org/index.php?title=Template:Pie/doc&amp;diff=120217&amp;oldid=prev</id>
		<title>imported&gt;Joeytje50 at 20:08, 23 January 2012</title>
		<link rel="alternate" type="text/html" href="https://wiki.darkan.org/index.php?title=Template:Pie/doc&amp;diff=120217&amp;oldid=prev"/>
		<updated>2012-01-23T20:08:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation}}&amp;lt;includeonly&amp;gt;[[Category:Mathematical templates]]&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
With the {{t|Pie}} template, you can create pie graphs using CSS3 styles. This is currently not supported by Internet Explorer versions 8 and lower, and some older versions of other browsers. Because of the lack of support by those browsers, please do &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; use this template in mainspace.&lt;br /&gt;
&lt;br /&gt;
The template does not have any security for using too little or too much space, which may cause some parts to overlap, or it may create a gap in the pie. The template is limited to 20 slices, and if there is a slice larger than 180° (50%), it must be the first slice, as the other slices do not support sizes of larger than 180°.&lt;br /&gt;
&lt;br /&gt;
The template can be resized to any size by setting the &amp;lt;code&amp;gt;size&amp;lt;/code&amp;gt; to an amount (without px, so &amp;lt;code&amp;gt;|size=200&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;|size=200px&amp;lt;/code&amp;gt;). 200px is the default size.&lt;br /&gt;
&lt;br /&gt;
The template has a legend below it by default. This can be disabled by adding &amp;lt;code&amp;gt;|legend=no&amp;lt;/code&amp;gt;. It is advised to add a manual legend to it then though, to make clear what the slices mean.&lt;br /&gt;
&lt;br /&gt;
The template does not work when there is no total amount set with the &amp;lt;code&amp;gt;tot&amp;lt;/code&amp;gt; parameter (default is 360). The sizes of the slices are in the unnamed parameters. The first parameter defines the first slice&amp;#039;s size, the second defines the second&amp;#039;s size, etc. An example is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Pie|size=250|legend=no|tot=100|22|18|15|13|10|8|5|4|3|2}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
this will result in:&lt;br /&gt;
{{Pie|size=250|legend=no|tot=100|22|18|15|13|10|8|5|4|3|2}}&lt;br /&gt;
&lt;br /&gt;
The seperate slices can be described in the legend below, by adding &amp;lt;code&amp;gt;|l&amp;lt;n&amp;gt;=description&amp;lt;/code&amp;gt;, for example, describing the 2nd slice is done by &amp;lt;code&amp;gt;|l2=Description&amp;lt;/code&amp;gt;. Also, it is possible to add an optional legend header, with the &amp;lt;code&amp;gt;lh&amp;lt;/code&amp;gt; parameter. For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Pie|size=250|tot=100|22|18|15|13|10|8|5|4|3|2|lh=Monster drops|l1=Cakes|l2=Runes|l3=Buckets|l4=Bananas|l5=Cabbages|l6=Swords|l7=Bows|l8=Staves|l9=Party hats|l10=Santa hats}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
this will result in:&lt;br /&gt;
{{Pie|size=250|tot=100|22|18|15|13|10|8|5|4|3|2|lh=Monster drops|l1=Cakes|l2=Runes|l3=Buckets|l4=Bananas|l5=Cabbages|l6=Swords|l7=Bows|l8=Staves|l9=Party hats|l10=Santa hats}}&lt;/div&gt;</summary>
		<author><name>imported&gt;Joeytje50</name></author>
	</entry>
</feed>