Content deleted Content added
BrandonXLF (talk | contribs) Syncing sandbox code with main template (sync-template-sandbox.js) |
BrandonXLF (talk | contribs) Use display:table and margin:0 for browse tables |
||
Line 338:
--BROWSE LINKS
-- display:table and margin:0 override Minerva styling
local browseTableStyles = 'width:100%; background:none; border-collapse:collapse; display:table; margin:0;'
local function browse(args)
Line 345 ⟶ 348:
local nextRoute = args.next_route
if previousRoute or nextRoute then
local box = mw.html.create('table'):cssText(
local boxModule = require "Module:Road data/browse"
local primary = boxModule._browse(args)
Line 363 ⟶ 366:
return nil
else
local box = mw.html.create('table'):cssText(
box:wikitext(extended)
return tostring(box)
|