Module:Documentation: Difference between revisions
m
1 revision imported
(link) |
Johnrdorazio (talk | contribs) m (1 revision imported) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 177: | Line 177: | ||
-- env.sandboxTitle - the /sandbox subpage. | -- env.sandboxTitle - the /sandbox subpage. | ||
-- env.testcasesTitle - the /testcases subpage. | -- env.testcasesTitle - the /testcases subpage. | ||
-- | -- | ||
-- Data includes: | -- Data includes: | ||
Line 271: | Line 270: | ||
--]] | --]] | ||
return mw.title.new(env.docpageBase .. '/' .. message('testcases-subpage')) | return mw.title.new(env.docpageBase .. '/' .. message('testcases-subpage')) | ||
end | end | ||
Line 740: | Line 730: | ||
end | end | ||
text = text .. ' ' .. (p.makeSubpagesBlurb(args, env) or '') --"Subpages of this template" | text = text .. ' ' .. (p.makeSubpagesBlurb(args, env) or '') --"Subpages of this template" | ||
end | end | ||
end | end | ||
Line 749: | Line 735: | ||
local box = mw.html.create('div') | local box = mw.html.create('div') | ||
-- 'documentation-metadata' | -- 'documentation-metadata' | ||
box:addClass(message('end-box-class')) | box:attr('role', 'note') | ||
:addClass(message('end-box-class')) | |||
-- 'plainlinks' | -- 'plainlinks' | ||
:addClass(message('end-box-plainlinks')) | :addClass(message('end-box-plainlinks')) | ||
Line 959: | Line 946: | ||
) | ) | ||
return message('subpages-blurb', {subpagesLink}) | return message('subpages-blurb', {subpagesLink}) | ||
end | end | ||