View source for Module:Main article
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
-- <pre>
local p = {}
function p.main(frame)
local hat = require('Module:Hatnote')
local args = frame:getParent().args
local ret = mw.html.create('')
-- list of all articles
local params = {}
-- total arguments counted counted
local ttl = 0
for _, v in ipairs(args) do
ttl = ttl + 1
table.insert(params,v)
end
-- main return string
ret:wikitext('Main article'..(#params > 1 and 's' or '')..': ')
000
1:0
Templates used on this page:
- Template:DependencyList (view source)
- Template:Documentation (view source)
- Template:No documentation (view source)
- Template:PageType (view source)
- Module:Array (view source)
- Module:DPLlua (view source)
- Module:DependencyList (view source)
- Module:Documentation (view source)
- Module:Main article/doc (view source)
- Module:Paramtest (view source)
- Module:Tooltip (view source)
- Module:Yesno (view source)
Return to Module:Main article.