Module:Documentation: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
nix bad comments
(merge templatestyles)
(nix bad comments)
Line 80:
ret[#ret + 1] = select(i, ...)
end
-- 'template-documentation-toolbar'
return '<span class="' .. message('toolbar-class') .. '">('
.. table.concat(ret, ' &#124; ') .. ')</span>'
Line 137:
:wikitext(p.sandboxNotice(args, env))
:tag('div')
-- 'template-documentation-container'
:addClass(message('container'))
:newline()
:tag('div')
-- 'template-documentation'
:addClass(message('main-div-classes'))
:newline()
Line 147:
:wikitext(p._content(args, env))
:tag('div')
-- 'template-documentation-clear'
:addClass(message('clear'))
:done()
Line 417:
omargs.text = text .. makeCategoryLink(message('sandbox-category'))
 
-- 'template-documentation-clear'
return '<div class="' .. message('clear') .. '"></div>'
.. require('Module:Message box').main('ombox', omargs)
Line 616:
data.headingStyleText = headingStyle
else
-- 'template-documentation-heading'
data.headingClass = message('main-div-heading-class')
end
Line 635:
local sbox = mw.html.create('div')
sbox
-- 'template-documentation-startbox'
:addClass(message('start-box-class'))
:newline()
Line 748:
local box = mw.html.create('div')
-- 'template-documentation-metadata'
box:addClass(message('end-box-class'))
-- 'plainlinks'
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu