"मोड्युल:Navbar" का संशोधनहरू बिचको अन्तर
Content deleted Content added
switch to mw.html and other cleanup from sandbox |
imported>George Orwell III rem unneeded tabs/spacing for more unified importing/exporting |
||
पङ्क्ति ५:
function p._navbar(args)
local titleArg = 1
if args.collapsible then
titleArg = 2
पङ्क्ति १६:
args.style = 'float:left; text-align:left; width:6em;'
end
local titleText = args[titleArg] or (':' .. mw.getCurrentFrame():getParent():getTitle())
local title = mw.title.new(mw.text.trim(titleText), 'Template');
पङ्क्ति ९७:
:newline();
end
if args.collapsible then
div
|