Content deleted Content added
add support for a single custom tstyles sheet |
self.templatestyles sometimes doesn't exist :) |
||
Line 491:
-- don't want to spread templatestyles sheets around to arbitrary places
-- TODO: Add each template's stylesheet, waiting on [[MediaWiki talk:Common.css/to do]]
local frame = mw.getCurrentFrame() -- we'll need this unconditionally for the TODO
if self.templatestyles then
name = 'templatestyles',▼
end
-- Create the box table.
|