Template:VColor: Difference between revisions

Resolve issue of ugly default colours being used for dark mode
(Add Base parameter)
(Resolve issue of ugly default colours being used for dark mode)
Line 58: Line 58:
Template begins --><noinclude>{| class="wikitable"
Template begins --><noinclude>{| class="wikitable"
|-
|-
</noinclude><td style="background-color:{{#ifexpr:{{{1|0}}} >= {{{Base|{{CurrentVersion}}}}}|{{{ColorCurrent|#E8FFEB}}}|{{{ColorOld|#FFE8E8}}}}};">{{{Text|{{{1}}}}}}</td><noinclude>
</noinclude><td style="{{#ifexpr:{{{1|0}}} >= {{{Base|{{CurrentVersion}}}}}|background-color:{{{ColorCurrent|#E8FFEB}}}|background-color:{{{ColorOld|#FFE8E8}}}}};">{{{Text|{{{1}}}}}}</td><noinclude>
|}</noinclude>
|}</noinclude>