Difference between revisions of "Template:Level"

From eLinux.org
Jump to: navigation, search
(Trying to use a nicer color)
(Allowing custom brightness level)
Line 1: Line 1:
style="background: #FFFFFF; background-color: rgba(255,200,100,{{{1}}}); color: black; vertical-align: middle; text-align: center; " class="partial table-partial"|{{{2|}}}
+
style="background: #FFFFFF; background-color: rgba(255,200,100, {{#expr: {{{2|255}}}/{{{1|255}}} ); color: black; vertical-align: middle; text-align: center; " class="partial table-partial"|{{{2|}}}

Revision as of 21:45, 13 June 2014

style="background: #FFFFFF; background-color: rgba(255,200,100, {{#expr: 255/255 ); color: black; vertical-align: middle; text-align: center; " class="partial table-partial"|