편집을 취소할 수 있습니다. 이 편집을 되돌리려면 아래의 바뀐 내용을 확인한 후 게시해주세요.
최신판 | 당신의 편집 | ||
8번째 줄: | 8번째 줄: | ||
---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ||
local | local tnt = require('Module:TNT') | ||
local function format(id) | local format | ||
if mw.title.getCurrentTitle().namespace == 828 then | |||
local lang = mw.getCurrentFrame():callParserFunction('int', 'lang') | |||
format = function (id) | |||
return tnt.formatInLanguage(lang, 'I18n/Documentation', id) | |||
end | |||
else | |||
format = function (id) | |||
return tnt.format('I18n/Documentation', id) | |||
end | |||
end | end | ||