Editing Module:Template translation
Appearance
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
-- Dummy "Template translation" module to avoid errors | -- Dummy "Template translation" module to avoid errors | ||
local p = {} | local p = {} | ||
-- | -- Some templates call "checkTranslation" | ||
function p.checkTranslation(frame) | function p.checkTranslation(frame) | ||
-- Return nothing, but no error | |||
return '' | return '' | ||
end | end | ||
-- | -- Some templates call "layout" | ||
function p.layout(frame) | function p.layout(frame) | ||
-- Return nothing, but no error | |||
return '' | return '' | ||
end | end | ||
-- | -- Some templates call "main" (rare, but safe to include) | ||
function p.main(frame) | function p.main(frame) | ||
return '' | return '' | ||
end | end | ||
-- | -- Must return a table to avoid "nil value" errors | ||
return p | return p |