Content deleted Content added
fix |
drop nowrap - was causing horizontal scrolling on List of Ontario provincial highways for 407 |
||
(8 intermediate revisions by one other user not shown) | |||
Line 107:
function dates(established, decommissioned, routeState, args)
-- This function displays the date columns.
local established_ref = args.established_ref or '' -- Reference for date established▼
local decommissioned_ref = args.decommissioned_ref or '' -- Reference for date decommissioned▼
if args.gazette == 'yes' then
return "|align=center|" .. formed(routeState, established, args.circa_established) ..▼
local established = args.established or "—"
established_ref .. "||align=center|" .. removed(routeState, decommissioned, args.circa_decommissioned) ..▼
local established_ref = args.established_ref or ''
decommissioned_ref▼
return "|align=center|" .. established .. established_ref
else
▲ established_ref .. "||align=center|" .. removed(routeState, decommissioned, args.circa_decommissioned) ..
▲ decommissioned_ref
end
end
Line 216 ⟶ 225:
local shield
if not noshield then
local shieldFile, second = parser(args, 'shieldlist') or parser(args, 'shield') or ''
if shieldFile == nil or shieldFile == '' then
shield = ''
Line 247 ⟶ 256:
local sortedLink = format("<span data-sort-value=\"%s !\">%s</span>", sortkey, link)
local route = banner .. shield .. ' ' .. sortedLink
return '
end
|