Module:Element: Difference between revisions

no edit summary
(Created page with "--[[ Please remember to use the talk page before changing this template! When the first Lua version was written this was used on more than 5000 pages, now it is probably some 3000 more. A change will cause a re-rendering of all pages. Keep that in mind! ]]-- local p = {} local translations = mw.loadData('Module:Element/translation') -- start for Template:Area function p.area(frame) -- extracting arguments local areaId = frame.args[1] local areaName = frame.a...")
 
No edit summary
 
Line 131:
else
output[4] = '[[File:Osm element ' .. elementDescription .. '.svgpng|20px|link='
if langcodeInput ~= nil and langcodeInput ~= 'en' then
output[5] = langcodeInput .. ':' .. string.upper(string.sub(elementDescription, 1, 1))