Изменения
Модуль:Надстрочное предупреждение (посмотреть исходный код)
Версия от 18:14, 16 мая 2023
, 2 года назадобратная логика
-- Форматирование ссылок как в шаблоне
-- Форматирование ссылок как в шаблоне
local function getLink( link, text, comment, hasComment )
local function getLink( link, text, comment, hasComment )
if isEmpty( link ) then
return text
end
if not isEmpty( comment ) then
if not isEmpty( comment ) then
local delink = require( 'Module:Delink' )._delink
local delink = require( 'Module:Delink' )._delink
end
end
return string.format( '<i>[[%s|%s]]</i>', link, text )
end
end