Template:OneValueQuadrants

      

This weird little pile of CSS draws a four-segment pie chart based on a single value. The top and bottom angles are equal to the input value, and the side angles are whatever's left over. The default size is 20px so it fits into text well, which can be specified (without the "px"). The default colours are red and blue, which can also be specified. Transparent colours will not work well, as the top/bottom parts overlap the side parts.