Actions

Template

Documentation subpage

From Joomla! Documentation

Revision as of 19:26, 2 September 2013 by Tom Hutchison (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

[view] [edit] [history]

Template-info.pngTemplate documentation

Contents

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 [[MediaWiki::commons.js]] or [[MediaWiki::monobook.js]]

div.messagebox
#template_doc_page_viewed_directly