Template:Politic: Difference between revisions

From FrathWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
<div style=" width: 268px"> <div role="img" style="{{#ifeq:{{{border|{{{border-color|}}}}}}|none||box-sizing: border-box; border: 1px solid {{{border|{{{border-color|#aaa}}}}}};}} {{#if:{{{background-color|}}}|background-color: {{{background-color}}};}} height: 1.15em; position: relative;"><div style="background-color: {{#if:{{Both|{{{4|}}}|{{{5|}}}}}
<div style=" width: 268px"> <div role="img" style="border-color: "#0000ff; box-sizing: border-box; border: 1px solid; height: 1.15em; position: relative;">
<div style="background-color: #ff0000; {{#if:{{Both|{{{4|}}}|{{{5|}}}}}
  | rgb({{#expr:255*{{{3|255}}}}}, {{#expr:255*{{{4|0}}}}}, {{#expr:255*{{{5|0}}}}})
  | rgb({{#expr:255*{{{3|255}}}}}, {{#expr:255*{{{4|0}}}}}, {{#expr:255*{{{5|0}}}}})
  | {{{hex|{{{3|#CCCCCC}}}}}}
  | {{{hex|{{{3|#CCCCCC}}}}}}
  }}; width: {{#expr:(({{{1|50}}}/{{{2|100}}})*100) round (-1*{{min|0|{{Order of magnitude|{{#expr:({{{1|50}}}/{{{2|100}}})*100}}}}}}) }}%; height: 100%;"></div></div></div>
  }}; width: 55% ; height: 100%;"></div></div></div>

Revision as of 11:11, 12 May 2019