Content added Content deleted
(refresh to WP latest) |
(add the equivalent of {{clear}} before the sandbox notice - this was in the old {{documentation}} template, but somehow didn't find its way into the module before) |
||
Line 330: | Line 330: | ||
-- 'sandbox-notice-blurb' --> 'This is the $1 for $2.' |
-- 'sandbox-notice-blurb' --> 'This is the $1 for $2.' |
||
-- 'sandbox-notice-diff-blurb' --> 'This is the $1 for $2 ($3).' |
-- 'sandbox-notice-diff-blurb' --> 'This is the $1 for $2 ($3).' |
||
-- 'sandbox-notice-pagetype-template' --> '[[ |
-- 'sandbox-notice-pagetype-template' --> '[[Wikipedia:Template test cases|template sandbox]] page' |
||
-- 'sandbox-notice-pagetype-module' --> '[[ |
-- 'sandbox-notice-pagetype-module' --> '[[Wikipedia:Template test cases|module sandbox]] page' |
||
-- 'sandbox-notice-pagetype-other' --> 'sandbox page' |
-- 'sandbox-notice-pagetype-other' --> 'sandbox page' |
||
-- 'sandbox-notice-compare-link-display' --> 'diff' |
-- 'sandbox-notice-compare-link-display' --> 'diff' |
||
Line 381: | Line 381: | ||
text = text .. makeCategoryLink(message('sandbox-category')) |
text = text .. makeCategoryLink(message('sandbox-category')) |
||
omargs.text = text |
omargs.text = text |
||
local ret = '<div style="clear: both;"></div>' |
|||
ret = ret .. messageBox.main('ombox', omargs) |
|||
return ret |
|||
end |
end |
||
Line 732: | Line 734: | ||
-- 'history-link-display' --> 'history' |
-- 'history-link-display' --> 'history' |
||
-- 'transcluded-from-blurb' --> |
-- 'transcluded-from-blurb' --> |
||
-- 'The above [[ |
-- 'The above [[Wikipedia:Template documentation|documentation]] |
||
-- is [[ |
-- is [[Wikipedia: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' |
||
-- 'create-module-doc-blurb' --> |
-- 'create-module-doc-blurb' --> |
||
-- 'You might want to $1 a documentation page for this [[ |
-- 'You might want to $1 a documentation page for this [[Wikipedia:Lua|Scribunto module]].' |
||
--]=] |
--]=] |
||
local docTitle = env.docTitle |
local docTitle = env.docTitle |
||
Line 922: | Line 924: | ||
-- Messages: |
-- Messages: |
||
-- 'print-link-display' --> '/Print' |
-- 'print-link-display' --> '/Print' |
||
-- 'print-blurb' --> 'A [[ |
-- 'print-blurb' --> 'A [[Help:Books/for experts#Improving the book layout|print version]]' |
||
-- .. ' of this template exists at $1.' |
-- .. ' of this template exists at $1.' |
||
-- .. ' If you make a change to this template, please update the print version as well.' |
-- .. ' If you make a change to this template, please update the print version as well.' |
||
Line 957: | Line 959: | ||
-- 'doc-subpage' --> 'doc' |
-- 'doc-subpage' --> 'doc' |
||
-- 'testcases-subpage' --> 'testcases' |
-- 'testcases-subpage' --> 'testcases' |
||
-- 'strange-usage-category' --> ' |
-- 'strange-usage-category' --> 'Wikipedia pages with strange ((documentation)) usage' |
||
-- |
-- |
||
-- /testcases pages in the module namespace are not categorised, as they may have |
-- /testcases pages in the module namespace are not categorised, as they may have |