Content deleted Content added
BrandonXLF (talk | contribs) Use display:table and margin:0 for browse tables |
use sandbox subtemplate |
||
(9 intermediate revisions by one other user not shown) | |||
Line 4:
local yesno = require('Module:Yesno')
local langModule = require('Module:Lang')
local routeModule = require("Module:Infobox road/route/sandbox")
local parserModule = require("Module:Road data/parser")
local parser = parserModule.parser
Line 338:
--BROWSE LINKS
local function browse(args)
Line 348 ⟶ 345:
local nextRoute = args.next_route
if previousRoute or nextRoute then
local boxModule = require "Module:Road data/browse/sandbox"▼
▲ local boxModule = require "Module:Road data/browse"
local primary = boxModule._browse(args)
local tblModule = require "Module:Road data/browsetable"
return
end
end
Line 366 ⟶ 362:
return nil
else
local tblModule = require "Module:Road data/browsetable"
-- Negative margin to counteract infobox border-spacing
return tblModule._browsetable(extended, 'margin-top:-3px')
end
end
|