Content deleted Content added
Matching default colour of table headers Tag: Reverted |
|||
Line 732:
local function getLineColor(args)
-- Default color to light blue
local lineColor = args.LineColor or '
-- Add # to color if necessary, and set to default color if invalid
Line 738:
lineColor = '#' .. (mw.ustring.match(lineColor, '^[%s#]*([a-fA-F0-9]*)[%s]*$') or '')
if (lineColor == '#') then
lineColor = '#
end
end
Line 875:
-- |Aux4= — optional; General purpose parameter. The meaning is specified by the column header.
-- |ShortSummary= — optional; A short 100–200 word plot summary of the episode.
-- |LineColor= — optional; Colors the separator line between episode entries. If not defined the color defaults to "#
and the article is placed in Category:Episode list using the default LineColor.
Use of "#", or anything but a valid hex code will result in an invalid syntax.
|