Изменения
Перейти к навигации
Перейти к поиску
Строка 14:
Строка 14:
+
Строка 399:
Строка 400:
− +
+
+
TemplateStyles для снижения дублирования
]]
]]
local stylesheetLink = 'Module:Coordinates/styles.css'
math_mod = require( "Module:Math" );
math_mod = require( "Module:Math" );
globalFrame = nil
globalFrame = nil
if globe == '' then globe = 'earth' end
if globe == '' then globe = 'earth' end
local result = '<span class="coordinates plainlinks nourlexpansion" data-param="' .. mw.text.encode( param ) .. '">'
local result = mw.getCurrentFrame():extensionTag{
name = 'templatestyles', args = { src = stylesheetLink }
} .. '<span class="coordinates plainlinks nourlexpansion" data-param="' .. mw.text.encode( param ) .. '">'
-- external links
-- external links