Module:translations/multi-nowiki
Jump to navigation
Jump to search
- The following documentation is located at Module:translations/multi-nowiki/documentation. [edit]
- Useful links: root page • root page’s subpages • links • transclusions • testcases • sandbox
- Nested templates: 大老二 (dà lǎo èr)
- Piped link: […] から見た ( […] kara mita, literally “seen from […] ”)
- Substed module invocation:
- {{subst:#invoke:languages/templates|getByCode|csb|getCanonicalName}}: czerwiony
hard, not easy
|
local export = {}
function export.expand(frame)
local args
if mw.title.getCurrentTitle().nsText == "Module" then
args = frame.args
else
args = frame:getParent().args
end
return require("Module:translations/multi").show(frame:newChild{args = {data = mw.text.trim(mw.text.unstripNoWiki(args[1]))}}:newChild{})
end
return export