Template

doc

From MusicTechWiki

< Template:Documentation subpage
This is a documentation subpage for Template:Documentation subpage.
It contains usage information, categories and other content that is not part of the original template page.
To view the template page itself, see Template:Documentation subpage.

Provides the header message on documentation subpages as featured in the {{documentation}} template.

Functions/Features

If used on a "/sandbox" subpage the template transcludes {{template sandbox notice}} otherwise {{pp-semi-template}} is transcluded by default. Like it's mother template, {{documentation}}, it is not restricted to the Template namespace.

Usage

Should be present on any documentation subpage.

{{documentation subpage}}

Parameters

Parameter Name Parameter Description req./opt.
override=otherpage to use another "documentation" page than /doc Optional
doc-notice=non-empty-value any value other then show (the default) will prevent display of the box message "This is a documentation subpage for..."" Optional
inhibit=non-empty-value any value provided will categorise the documentation page into [[Category:{{SUBJECTSPACE}} documentation]] or (for Main articles) into [[Category:Article documentation]] Optional

Stylesheet

CSS rules to include in commons.js or monobook.js

div.messagebox
#template_doc_page_viewed_directly