Template:Documentation/doc

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
This is a documentation subpage for Template:Documentation.
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.

Usage

<!--Last line of your template code--><noinclude>
{{Documentation}}
</noinclude>

Symbol comment vote.svg Note: Extra space before "<noinclude>" may introduce unwanted whitespace into pages using the template.

Purpose

Use of this template allows templates to be protected where necessary, while allowing anyone to edit the documentation, categories, and interwiki links.

Automatic functions

If the documentation page doesn't exist, the "edit" link includes a preload parameter so that clicking it will pre-fill the edit form with the basic documentation page format.

See also

A colored box that visually distinguishes documentation from surrounding prose.

Template parameters

ParameterDescriptionTypeStatus
11

Documentation to transclude, if not /doc

Default
/doc
Example
Template:Example/doc
Pagesuggested
Contentcontent

Inline content, instead of or supplementing a subpage.

Example
Here's some documentation.<hr />
Contentoptional
Headingheading

Change the text of the "documentation" heading. If this is set to blank, the entire heading line (including the first [edit] link) will also disappear.

Stringoptional
Heading-styleheading-style

CSS styling for heading

Stringoptional