Module:Lang/documentor tool का स्रोत देखें
नेविगेशन पर जाएँ
खोज पर जाएँ
आपको इस पृष्ठ को सम्पादित करने की अनुमति नहीं हैं, निम्नलिखित कारण की वजह से:
आप इस पृष्ठ का स्रोत देख सकते हैं और उसकी नकल उतार सकते हैं:
require('Module:No globals');
local p = {};
--[[-------------------------< L A N G - X X _ S E T T I N G S >-----------------------------------------------
{{#invoke:Lang/documentor tool|lang_xx_settings|template={{ROOTPAGENAME}}}}
reads the content of the template and extracts the parameters from {{#invoke:Lang|...}} for display on the template's
documentation page
]]
function p.lang_xx_settings (frame)
local page = mw.title.makeTitle ('Template', frame.args['template'] or frame.args[1]); -- get a page object for this page in 'Template:' namespace
if not page then
return ''; -- TODO: error message?
end
local content = page:getContent(); -- get unparsed content
if not page then
000
1:0
इस पृष्ठ पर प्रयुक्त साँचे:
Module:Lang/documentor tool को लौटें।