Module:Convert/text: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(improve some comments)
(change message style per DePiep's suggestion: noprint and lighter orange)
Line 70: Line 70:
local all_messages = {
local all_messages = {
-- One of the following prefixes is inserted before each message.
-- One of the following prefixes is inserted before each message.
cvt_prefix_error = '<span style="color:black; background-color:orange;">[[Module talk:Convert|Conversion error]]:',
cvt_prefix_error = '<span class="noprint" style="background:#ffcc69;">[[Module talk:Convert|Conversion error]]:',
cvt_prefix_warning = '<span style="color:black; background-color:peachpuff;">[[Module talk:Convert|Conversion warning]]:',
cvt_prefix_warning = '<span class="noprint" style="background:peachpuff;">[[Module talk:Convert|Conversion warning]]:',
-- Each of following messages is a table:
-- Each of following messages is a table:
-- { [1] = 'error text',
-- { [1] = 'error text',