Template:Lua doc subpage/doc

Lua doc subpage is a message box used to show a page is a module documentation subpage.

Syntax
docnotice
 * - Optional, default "doc". This defines the page ending check. The message box will only show if there is a matching page ending with this parameter. This prevents displaying on transclusion.
 * - Optional, default "show". If specified other than "show", the main notice will not show.
 * - Optional, default PAGENAME. If specified, it changes the sort key.
 * - Optional, default nothing. If specified other than nothing, category will not be added.