"Module:Asbox": अवतरणों में अंतर

Content deleted Content added
imported>Codehydro
finished translation of documentation|contents= into Lua... now to work on |link box=
imported>Codehydro
छोNo edit summary
पंक्ति 31:
if type(k) == 'string' then
table.insert(stubCatNum, string.match(k, '^category(%d*)$'))
--[[if stubCatNum[matchNum] then
wikitext = wikitext .. (
tempsort == 'no' and p.catNum == '' and ''
or (p.catNum and
category{v .. (page and --
('|' .. (args['tempsort' .. p.catNum]
or ('*' .. page.text)
))
or ''
)}
)
or ''
--]]
end
end
Line 84 ⟶ 71:
end
end
stubCatNum[k] = {args[key.cat], key.cat} -- replace with values to be used in population()
end
if missingCats > 0 then
Line 154 ⟶ 141:
.. require('Module:Documentation').main{
content = (
'\n' .. require('Module:Asboxpage.text ~= stubtree').subtree{Stub' and
require('Module:Asbox stubtree')._subtree{
pagename = page.text
or ('*' .. page.text),
}
pagename = page.text
))}
or ''
)}
.. '\n\n== About this template ==\n\nThis template is used to identify a '
.. string.format('%sstub%s.', args.subject or '', args.qualifier and (' ' .. args.qualifier) or '')
"https://hi.wikipedia.org/wiki/Module:Asbox" से प्राप्त