Difference between revisions 21306696 and 21306959 on frwiktionarylocal export = {} local m_languages = require('Module:languages') -- The main entry point. -- This is the only function that can be invoked from a template. function export.show(frame) if mw.title.getCurrentTitle().nsText =~= "Template" then return "(This template should be used on pages in the Category: namespace.)" elseifCategory" and mw.title.getCurrentTitle().nsText ~= "Cateégoryie" then error("This template/module can only be used on pages in the Category: namespace.") end local template = frame.args["template"] if not template or template == "" then error("The \"template\" parameter was not specified.") (contracted; show full) return mw.getCurrentFrame():expandTemplate{title = TOC_template.text, args = {}} end end return nil end return export All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://fr.wiktionary.org/w/index.php?diff=prev&oldid=21306959.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|