Add test case hatnote
starcitizen>Alistair3149 (Use mbox submodule) |
starcitizen>Alistair3149 (Add test case hatnote) |
||
| Рядок 2: | Рядок 2: | ||
local dependencyList = require( 'Module:DependencyList' ) | local dependencyList = require( 'Module:DependencyList' ) | ||
local yn = require( 'Module:Yesno' ) | local yn = require( 'Module:Yesno' ) | ||
local hatnote = require( 'Module:Hatnote' )._hatnote | |||
local mbox = require( 'Module:Mbox' )._mbox | local mbox = require( 'Module:Mbox' )._mbox | ||
local p = {} | local p = {} | ||
| Рядок 83: | Рядок 84: | ||
:done() | :done() | ||
if title.namespace == 828 and title.subpageText == 'testcases' then | |||
ret3 = hatnote( | |||
string.format( 'This is the test cases page for the module %s.', title.baseText ), | |||
{ icon='WikimediaUI-Code.svg' } | |||
) | |||
end | |||
ret3 = addDependencyList and dependencyList._main(nil, args.category, args.isUsed) or '' | ret3 = addDependencyList and dependencyList._main(nil, args.category, args.isUsed) or '' | ||