Changes

Jump to: navigation, search

Module:Template translation

117 bytes removed, 10:31, 24 May 2013
default to English to avoid showing the <translate> tags
-- THIS IS A WORK IN PROGRESSALPHA CODE. DO NOT USECAREFULLY.
local p = {}
local template = frame.args['template']
local langcode = '/en'
-- Get the last subpage
return frame:expandTemplate{ title = template..langcode, args = frame.args }
end
 
function p.debug (frame)
return frame:expandTemplate{ title = frame.args['template'], args = frame.args }
end
return p
Anonymous user

Navigation menu