Difference between revisions of "Template:Pie chart"

The official GemStone IV encyclopedia.
Jump to: navigation, search
 
Line 1: Line 1:
<includeonly><div class="PieChartTemplate thumb t{{{thumb|right}}}" style="{{{style|}}}"><div class="thumbinner" style="width:202px"> <!-- Graph --> <div style="background-color:white;margin:auto;position:relative;width:200px;height:200px;overflow:hidden;border-radius:100px;border:1px solid black"> {{#if:{{{value30|}}}
+
<includeonly><div class="PieChartTemplate thumb t{{{thumb|right}}}" style="display: inline-table;"><div class="thumbinner" style="width:202px"> <!-- Graph --> <div style="background-color:white;margin:auto;position:relative;width:200px;height:200px;overflow:hidden;border-radius:100px;border:1px solid black"> {{#if:{{{value30|}}}
 
     |{{Pie chart/slice|{{{color30|sienna}}}
 
     |{{Pie chart/slice|{{{color30|sienna}}}
 
         |{{#expr: {{{value1}}}+{{{value2}}}+{{{value3}}}+{{{value4}}}+{{{value5}}}+{{{value6}}}+{{{value7}}}+{{{value8}}}+{{{value9}}}+{{{value10}}}+{{{value11}}}+{{{value12}}}+{{{value13}}}+{{{value14}}}+{{{value15}}}+{{{value16}}}+{{{value17}}}+{{{value18}}}+{{{value19}}}+{{{value20}}}+{{{value21}}}+{{{value22}}}+{{{value23}}}+{{{value24}}}+{{{value25}}}+{{{value26}}}+{{{value27}}}+{{{value28}}}+{{{value29}}}+{{{value30}}} }}}}}}<!-- -->{{#if:{{{value29|}}}
 
         |{{#expr: {{{value1}}}+{{{value2}}}+{{{value3}}}+{{{value4}}}+{{{value5}}}+{{{value6}}}+{{{value7}}}+{{{value8}}}+{{{value9}}}+{{{value10}}}+{{{value11}}}+{{{value12}}}+{{{value13}}}+{{{value14}}}+{{{value15}}}+{{{value16}}}+{{{value17}}}+{{{value18}}}+{{{value19}}}+{{{value20}}}+{{{value21}}}+{{{value22}}}+{{{value23}}}+{{{value24}}}+{{{value25}}}+{{{value26}}}+{{{value27}}}+{{{value28}}}+{{{value29}}}+{{{value30}}} }}}}}}<!-- -->{{#if:{{{value29|}}}

Latest revision as of 16:07, 9 September 2019

Template:Pie chart/doc