540
edits
(merge templatestyles) |
m (1 revision imported from wikipedia:Module:Documentation: see Topic:Vtixlm0q28eo6jtf) |
||
(6 intermediate revisions by 6 users not shown) | |||
Line 80: | Line 80: | ||
ret[#ret + 1] = select(i, ...) | ret[#ret + 1] = select(i, ...) | ||
end | end | ||
-- ' | -- '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' | ||
:addClass(message('container')) | :addClass(message('container')) | ||
:newline() | :newline() | ||
:tag('div') | :tag('div') | ||
-- ' | -- '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' | ||
: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' | ||
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' | ||
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' | ||
: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' | ||
box:addClass(message('end-box-class')) | box:addClass(message('end-box-class')) | ||
-- 'plainlinks' | -- 'plainlinks' | ||
Line 769: | Line 769: | ||
-- 'transcluded-from-blurb' --> | -- 'transcluded-from-blurb' --> | ||
-- 'The above [[Wikipedia:Template documentation|documentation]] | -- 'The above [[Wikipedia:Template documentation|documentation]] | ||
-- is [[ | -- is [[Help:Transclusion|transcluded]] from $1.' | ||
-- 'module-preload' --> 'Template:Documentation/preload-module-doc' | -- 'module-preload' --> 'Template:Documentation/preload-module-doc' | ||
-- 'create-link-display' --> 'create' | -- 'create-link-display' --> 'create' |