Editing Module:Documentation
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 80: | Line 80: | ||
ret[#ret + 1] = select(i, ...) | ret[#ret + 1] = select(i, ...) | ||
end | end | ||
-- 'documentation-toolbar' | -- 'template-documentation-toolbar' | ||
return '<span class="' .. message('toolbar-class') .. '">(' | return '<span class="' .. message('toolbar-class') .. '">(' | ||
.. table.concat(ret, ' | ') .. ')</span>' | .. table.concat(ret, ' | ') .. ')</span>' | ||
Line 137: | Line 137: | ||
:wikitext(p.sandboxNotice(args, env)) | :wikitext(p.sandboxNotice(args, env)) | ||
:tag('div') | :tag('div') | ||
-- 'documentation-container' | -- 'template-documentation-container' | ||
:addClass(message('container')) | :addClass(message('container')) | ||
:newline() | :newline() | ||
:tag('div') | :tag('div') | ||
-- 'documentation' | -- 'template-documentation' | ||
:addClass(message('main-div-classes')) | :addClass(message('main-div-classes')) | ||
:newline() | :newline() | ||
Line 147: | Line 147: | ||
:wikitext(p._content(args, env)) | :wikitext(p._content(args, env)) | ||
:tag('div') | :tag('div') | ||
-- 'documentation-clear' | -- 'template-documentation-clear' | ||
:addClass(message('clear')) | :addClass(message('clear')) | ||
:done() | :done() | ||
Line 417: | Line 417: | ||
omargs.text = text .. makeCategoryLink(message('sandbox-category')) | omargs.text = text .. makeCategoryLink(message('sandbox-category')) | ||
-- 'documentation-clear' | -- 'template-documentation-clear' | ||
return '<div class="' .. message('clear') .. '"></div>' | return '<div class="' .. message('clear') .. '"></div>' | ||
.. require('Module:Message box').main('ombox', omargs) | .. require('Module:Message box').main('ombox', omargs) | ||
Line 616: | Line 616: | ||
data.headingStyleText = headingStyle | data.headingStyleText = headingStyle | ||
else | else | ||
-- 'documentation-heading' | -- 'template-documentation-heading' | ||
data.headingClass = message('main-div-heading-class') | data.headingClass = message('main-div-heading-class') | ||
end | end | ||
Line 635: | Line 635: | ||
local sbox = mw.html.create('div') | local sbox = mw.html.create('div') | ||
sbox | sbox | ||
-- 'documentation-startbox' | -- 'template-documentation-startbox' | ||
:addClass(message('start-box-class')) | :addClass(message('start-box-class')) | ||
:newline() | :newline() | ||
Line 748: | Line 748: | ||
local box = mw.html.create('div') | local box = mw.html.create('div') | ||
-- 'documentation-metadata' | -- 'template-documentation-metadata' | ||
box:addClass(message('end-box-class')) | box:addClass(message('end-box-class')) | ||
-- 'plainlinks' | -- 'plainlinks' |