Content deleted Content added
test shape |
use up and itriangle |
||
Line 36:
outline-style: {{{outline-style|solid}}};
outline-color: {{{shape-outline|blue}}};
{{#switch:{{{shape|
|line = left:{{#expr:{{{x1|40}}}+( ( {{{x2|80}}}-{{{x1|40}}} )/2) - (sqrt( ( {{{x2|80}}}-{{{x1|40}}} )^2 + ( {{{y2|60}}}-{{{y1|30}}} )^2 )/2)+( {{{outline-width|2}}}/2)-1 }}px;
top: {{#expr:{{{y1|30}}}+( ( {{{y2|60}}}-{{{y1|30}}} )/2)-( {{{outline-width|2}}} /2) }}px;
Line 65:
height: {{#expr:{{{mark-width|50}}}*0.8}}px; transform: rotate(45deg);
background-color: {{{shape-color|lightblue}}};"></div>
|triangle|trangle-up|up = top: {{#expr:{{{y1|40}}}-({{{mark-width|50}}}/2*0.8)}}px;
left: {{#expr:{{{x1|40}}}-({{{mark-width|50}}}/2*0.8)}}px;
transform: rotate({{{shape-angle|0}}}deg);
Line 72:
border-right: {{#expr:{{{mark-width|14}}}/2}}px solid transparent;
border-bottom: {{{mark-width|14}}}px solid {{{shape-color|lightblue}}};"></div>
|
left: {{#expr:{{{x1|40}}}-({{{mark-width|50}}}/2*0.8)}}px;
transform: rotate({{{shape-angle|0}}}deg);
Line 173:
}} }}
background-color:transparent; line-height: normal; transform: rotate({{{label-angle|0}}}deg)"><span style="color: {{{label-color|black}}};
font-size: {{{label-size|13}}}px; font-weight:normal;">{{#ifeq:{{{label-line|0}}}|4|{{{numbered|}}}. |}}{{{label
top: {{#expr:{{{y1|40}}}-( {{{mark-height|15}}}*0.5) }}px;
left: {{#expr:{{{x1|40}}}+2-( {{str len|{{{numbered|15}}} }} * ( {{{mark-height|15}}}-4.2 )/2.8 ) }}px;
|