Module:Sandbox/BrandonXLF/3: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 228:
end
local list = mw.html.create('divul') -- Create output element
:wikitext('Note: All inputs are converted to lowercase by the template. "Region of", "County Road", etc. are striped from the input.')
:tag('ul')
 
for name, info in pairs(data.types) do -- Create tables for each region
Line 248 ⟶ 246:
end
end
end
 
mtoSignList = list
:tag('li')
:wikitext('MTO signs')
:tag('ul')
for sign, wikitext in ipairs(reverseAliases[name]) do
mtoSignList
:tag('li')
:wikitext(sign, wikitext)
end
 
return tostring(list:done())
end