Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
DOORS Site Logo

Welcome to the Official DOORS Wiki!
Please read the Wiki Rules the Manual of Style and familiarise yourself with our Wiki Policies before contributing to get a better understanding of what content is allowed on our wiki and how to display it properly, if you need help don't hesitate to reach out to a DOORS Wiki Staff Member.

Template:Documentation/doc

Template page
Edit-copy green.svg
This is a template documentation subpage for Template:Documentation.
It contains usage information, categories, interlanguage links and other content that is not part of the original template page.
Description
This template is used to insert documentation on template pages.
Syntax
Type <noinclude>{{Documentation}}</noinclude> at the end of the template page.

General usage[edit source]

On the Template page[edit source]

Template code<noinclude>
{{Documentation}}
</noinclude>

On the Template/doc page[edit source]

; Description
: This template is used to do something.
; Dependencies:
:* Uses (some CSS, JS, file, or other template).
; Syntax
: Type <code>{{T|Templatename}}</code> somewhere.
; Sample output
: <code><nowiki>{{Templatename|foo}}</nowiki></code> gives...
: {{Templatename|foo}}

<includeonly>Any categories for the template itself
</includeonly><noinclude>
[[Category:Template documentation]]
</noinclude>

Use any or all of the above description/syntax/sample output sections. You may also want to add "see also" or further usage information sections.

Note that the above example also uses {{T}}.

Dependencies[edit source]

Templates
Template:Tocright (Template:Tocright/doc)

TemplateData[edit source]

This template is used to display documentation on template pages. It also adds some tools to help the editor to modify the /doc subpage and the template.

Template parameters

ParameterDescriptionTypeStatus
Custom Documentation Location1

The name of the custom /doc subpage.

Default
{{FULLPAGENAME}}/doc
Example
Template:Documentation/doc
Stringoptional
Inline Documentation Contentcontent

Content if documentation page will not be transcluded

Example
This template creates quotes.
Stringoptional
Custom Sandbox Locationsandbox

Specifies the /sandbox subpage location

Default
{{FULLPAGENAME}}/sandbox
Example
Template:Example/sandbox
Stringoptional
Heading textheading

Changes the default "Documentation" header to a different one

Example
About this template
Stringoptional
Custom footer contentfooter

Replaces the default link box with a custom one

Example
Documentation is automatically generated by {{T|Ambox}}. Its contents are shown here.
Unbalanced wikitextoptional