Anonymous user
Module:Template translation: Difference between revisions
default to English to avoid showing the <translate> tags
(name is a string, and is in args) |
(default to English to avoid showing the <translate> tags) |
||
Line 1:
-- THIS IS
local p = {}
Line 12:
local template = frame.args['template']
local langcode = '/en'
-- Get the last subpage
Line 32:
return frame:expandTemplate{ title = template..langcode, args = frame.args }
end
|