Jump to content

Template:Documentation/doc: Difference between revisions

From BadWolfMC Wiki
m 1 revision imported
 
top: Add short description
Line 1: Line 1:
{{Documentation subpage}}
{{Short description|Displays documentation from a subpage}}
{{High-use|67000}}
<noinclude>{{pp-semi-indef}}
{{Shortcut|T:DOC}}
</noinclude>{{Documentation subpage}}
{{stack|{{Lua|Module:Documentation}}}}
{{Distinguish|Template:Documentation subpage}}
<!---- Categories where indicated at the bottom of this page, please; interwikis at Wikidata ---->
{{High-use}}
{{Never substitute}}
{{template shortcut|doc}}
{{Lua|Module:Documentation}}


This is the {{tlf|Documentation}} template, used on almost every template page to contain that template's [[Documentation|documented instructions and information]].
The {{tlx|documentation}} template is used to contain the [[WP:TDOC|documented information and instructions]] of a certain template, usually from a /doc subpage. It can also be configured to load the content from other pages or be directly fed by text.


For detailed instructions on how and when to use this template, see [[Wikipedia:Template documentation]] (shortcut: [[WP:TDOC]]).
For detailed instructions on how and when to use this template, see [[Wikipedia:Template documentation]] (shortcut: [[WP:TDOC]]).


This template displays a green documentation box like you are seeing now and automatically loads the content from a /doc subpage. It can also load the content from other places if instructed to.
This template has two parts: the big "documentation box" with the documentation inside alongside a toolbar (the <code>[view][edit][history][purge]</code> links), and the smaller "link box" that shows metadata about the documentation alongside the [[Wikipedia:Template sandbox and test cases|sandbox and testcases]] links.


This template is intended for documenting templates and other pages that are [[Wikipedia:Transclusion|transcluded]] onto other pages. It can be used in the [[Wikipedia:Template namespace|template namespace]] and most other [[Wikipedia:Namespace|namespace]]s.
Use of this template allows templates to be [[Wikipedia:Protection policy|protected]], where necessary, while allowing anyone to edit the documentation and categories.


Use of this template allows templates to be [[Wikipedia:Protection policy|protected]] where necessary, while allowing anyone to edit the documentation and categories.
== General syntax ==
Normally, the template is used without parameters and is placed inside {{tag|noinclude}} at the bottom of the template page (see {{section link|#Placement and tags}} for more information):


===Usage===
<syntaxhighlight lang="wikitext">
Normally this template is used without any parameters, placed at the bottom of the template or page being documented, within a {{tag|noinclude}} container:
 
<source lang="xml+smarty">
<!--Last line of your template code--><noinclude>
<!--Last line of your template code--><noinclude>
{{Documentation}}
{{Documentation}}
<!-- Add categories to the /doc subpage, not here! -->
<!-- Add categories to the /doc subpage -->
</noinclude>
</noinclude>
</source>
</syntaxhighlight>


Then this template automatically loads the content from the /doc subpage of the template it is used on.
=== Transcluding a different page ===
To transclude a different page other than the /doc subpage, simply provide {{para|1}} like this:


This template can also load the content from any other page. Like this:
<syntaxhighlight lang="wikitext">
 
<source lang="xml+smarty">
<!--Last line of your template code--><noinclude>
<!--Last line of your template code--><noinclude>
{{Documentation |Template:Other page/doc}}
{{Documentation|Template:Other page/doc}}
</noinclude>
</noinclude>
</source>
</syntaxhighlight>


Note that when loading the documentation from a page other than the local /doc page it becomes tricky to handle the categories.
Note that when loading the documentation from a page other than the local /doc subpage, it becomes tricky to handle the categories.


The content can also be fed directly as text. Like this:
=== Using the {{para|content}} parameter ===
The documentation can also be fed directly as text, by using the {{para|content}} parameter:


<source lang="xml+smarty">
<syntaxhighlight lang="wikitext">
<!--Last line of your template code--><noinclude>
<!--Last line of your template code--><noinclude>
{{Documentation
{{Documentation
  | content =
  | content =
(some documentation)
<!-- template documentation -->
}}</noinclude>
}}</noinclude>
</source>
</syntaxhighlight>


When the {{para|content}} parameter is used, the doc box normally does not show the [edit] [purge] links in the top right corner. Note that if the /doc page exists, a link to it is still shown in the link box below the doc box.
When using this parameter, the toolbar will not show. Note that the /doc subpage in the link box will still show up if it exists.


Parameter {{para|1}} and the {{para|content}} parameter can also be combined, like this:
Also note that when {{para|1}} and {{para|content}} is specified, {{para|content}} takes precedence and always shows in the documentation box.


<source lang="xml+smarty">
== Advanced syntax ==
<!--Last line of your template code--><noinclude>
=== Customizing the heading ===
{{Documentation |1=Template:Any page/doc
The heading in the documentation box changes depending on namespace. See the below list for the default text in each namespace:
| content =
{{Template:Any page/doc |parameters}}
}}</noinclude>
</source>


Then the pagename fed as parameter 1 is used for the [edit] [purge] links and for the /doc link in the link box below the doc box. But the '''content''' parameter is used for the content shown in the doc box. The above code means that the content is transcluded as {{tnull|Template:Any page/doc{{!}}parameters}}. In this example a parameter is also fed to the /doc page being loaded.
* Template namespace: [[File:Test Template Info-Icon - Version (2).svg|32px|link=[[Wikipedia:Template documentation]]]] '''Template documentation'''
* Module namespace: [[File:Test Template Info-Icon - Version (2).svg|32px|link=[[Wikipedia:Template documentation]]]] '''Module documentation'''
* Other namespaces: '''Documentation'''


=== Short cut ===
To customize the heading, simply set the parameter {{para|heading}} to anything you like, for example {{para|heading|Infobox documentation}}.
Type <nowiki>{{subst:doc-code}}</nowiki> to automatically insert noinclude tags, the template call and the guiding comment.


===Best practice===
Note that if the heading parameter is empty but defined (like {{para|heading|}}) the heading alongside the toolbar will not show.
The code should be added at the bottom of the template code, with no space before {{Tag|noinclude|o}} (which would cause extra space on pages where the template is used).


Categories that apply to the template itself should be added to the bottom of the /doc subpage, inside {{Tag|includeonly}} tags.  Interwiki links that apply to the template should be listed at [[d:|Wikidata]] (more at [[Wikipedia:Wikidata|wp:Wikidata]]). For more complex cases, see [[Wikipedia:Template documentation#Categories and interwiki links]].
The {{para|heading-style}} parameter can be fed optional [[Cascading Style Sheets|CSS]] values, like {{para|heading-style|font-size:150%;color:red;}}. Not that you should omit quotation marks <code>" "</code> and add the ending semicolon <code>;</code>.  


If the documentation page contains {{tag|includeonly|o}} or {{tag|noinclude|o}} tags as part of the visible documentation text, replace the "<code>&lt;</code>" with "<code>&amp;lt;</code>".
=== Customizing the link box ===
To customize the link box, set {{para|link box}} to something else, like {{para|link box|The above documentation is automatically generated from [[Template:Foo]]}}.


===Heading===
To hide the link box, simply set {{para|link box}} to <code>off</code>.
When in the Template namespace, this template shows this heading:
:[[File:Template-info.png|32px]] '''Template documentation'''


In most other namespaces, such as "Wikipedia:", it shows this heading:
=== Testing ===
:'''Documentation'''
You can simulate the output for a given page by using the {{para|page}} parameter. For example, if you use the code {{para|page|Template:Edit protected}}, the template will behave exactly as if it were on the page [[Template:Edit protected]], including showing the documentation from [[Template:Edit protected/doc]], linking to [[Template:Edit protected/sandbox]], etc. This parameter is useful for testing and is used extensively on the [[Module:Documentation/testcases|module testcases page]].


But when on File (image) pages it shows this heading:
== Placement and tags ==
:'''Summary'''
{{Further information|Wikipedia:Template documentation#Where to place it}}
This code should be added at the bottom of the template code page, with no space before {{Tag|noinclude|o}} (which causes extra whitespace to show on pages where the template is transcluded):


The '''heading''' parameter can be used to set the heading to something else. Like this:
<syntaxhighlight lang="wikitext"><!--Last line of your template code--><noinclude>
{{documentation}}
<!-- Add categories to the /doc subpage -->
</noinclude></syntaxhighlight>


:<code><nowiki>{{Documentation |heading=Infobox documentation}}</nowiki></code>
To automatically insert the above text, you can also use the [[Wikipedia:Substitution|substitution]] code shortcut {{tlxs|doc-code}}.


If the '''heading''' parameter is empty but defined, no heading is shown and no [edit] [purge] links are shown. Like this:
=== Categories and interwikis ===
Depending on where to the documentation is placed, it may be tricky to handle the categories and interwikis. See {{section link|Wikipedia:Template documentation#Categories and interwiki links}} for information about adding these.


:<code><nowiki>{{Documentation |heading=}}</nowiki></code>
== Technical details ==
=== Automatic functions ===
If the documentation page does not exist, the toolbar is replaced with a <code>[create][purge]</code> link. The <code>[create]</code> link automatically [[mw:Manual:Creating pages with preloaded text|creates the page with preloaded text]] with the basic documentation syntax. Preload text is also used for the /sandbox and /testcases [create] links.


The '''heading-style''' parameter can be fed optional [[Cascading Style Sheets|CSS]] values. Without quotation marks <code>" "</code> but with the ending semicolons <code>;</code>. For example:
The preload page for the /doc <code>[create]</code> link is [[Template:Documentation/preload]]. The preload pages for the /sandbox and /testcases links are [[Template:Documentation/preload-sandbox]] and [[Template:Documentation/preload-testcases]]. The preload page for the /sandbox <code>[mirror]</code> link is [[Template:Documentation/mirror]].
:<code>heading-style=font-size:150%;color:red;</code>


===Link box===
This template also automatically adds {{tl|pp-template}} to a protected template page. When this template is on a /sandbox subpage, it also adds the {{tl|Template sandbox notice}} template.
Below the big doc box is a small link box that shows some meta-data about the documentation. The link box shows different things depending on what parameters are fed to this template, and in which namespace it is used. In some cases the link box is not shown at all.


To hide the link box, add the parameter
=== Link box features ===
: {{para|link box|off}}.
Depending on the namespace, the link box may have less features, or may not show up at all. The following table shows this:


You can also insert customised text into the link box, by setting the {{para|link box}} parameter. For example:
{| class="wikitable"
<pre style="width:auto; overflow:scroll">
! Namespace
  |link box=This documentation is automatically generated by [[Template:Country showdata]]
! Behavior
</pre>
|-
| Template
| Full behavior
|-
| Module
| Full behavior, with the addition of a "create documentation" link when the page does not exist
|-
| User
| Full behavior
|-
| Other namespaces
| Hidden, unless {{para|1}} is specified (which will show "The above documentation is transcluded from {{param|1}}")
|}


===Automatic functions===
Alongside that, if {{para|1}} or {{para|content}} is specified, the "Add categories to the /doc subpage" text will not show.
If the documentation page does not exist, the [create] link includes a [[mw:Manual:Creating pages with preloaded text|preload]] page so that clicking it will pre-fill the edit form with the basic documentation page format. Preload text is also used for the /sandbox and /testcases [create] links.


When this template is on a protected template page it now automatically adds {{tl|pp-template}}, which shows the grey or red padlock in the top right corner. So no need to manually add {{tlf|pp-template}} to templates that use {{tl|Documentation}}.
=== Subject namespaces vs. talk namespaces ===
This template is usually placed in the [[WP:NS#Subject namespaces|subject namespace]]. But in some cases this template needs to be on the [[WP:TALKSPACE|Talk namespace]]:


When this template is on a /sandbox subpage it automatically adds the {{tl|Template sandbox notice}}.
* In the MediaWiki namespace, since {{tag|noinclude|o}} often does not work in system messages, and since the MediaWiki namespace needs to be kept clean for performance reasons.


===Subject namespaces vs. talk namespaces===
When placed on talk pages, this template usually is placed near the top of the page and without {{tag|noinclude}} tags.
Terminology: ''Subject namespaces'' are the opposite of ''talk namespaces''. For instance "Template:" is the subject space of "Template talk:".


This template is usually placed in a subject namespace, within {{tag|noinclude|o}} tags. But in some cases this template needs to be on the talk page:
The /doc, /sandbox and /testcases pages should normally be in the subject namespace, except in the namespaces that do not have the MediaWiki [[meta:Help:Link#Subpage feature|subpage feature]] enabled: Main, File, and MediaWiki. (Categories can have subpages, but documentation is created in the Category talk namespace to prevent creating empty categories. There are also a whole bunch of other technical reasons why the /doc page must be stored under the talk page for those (but only those) namespaces.


* In the Mediawiki namespace, since {{tag|noinclude|o}} often does not work in system messages, and since the Mediawiki namespace needs to be kept clean for performance reasons.
This template automatically points its [create] links for the /doc, /sandbox and /testcases to the right namespace.


When placed on talk pages, this template usually is placed near the top of the page and without {{tag|noinclude}} tags.
=== Color scheme ===
{| class="wikitable" style="font-size:90%"
|+ Wikipedia background colors for {{Template link|documentation}} <small>([[Help:Using colors]])</small>
! !! RGB !! HSV !! Color !! General usage !! Note
|-
| A&nbsp;
| <kbd>#ECFCF4</kbd> || 150&deg;, 6%, 99%
| style="background:#ECFCF4" | &nbsp;
| Sample || Current documentation background
|-
| B
| <kbd>#00FF80</kbd>
| style="font-size:90%;" | {{nowrap|1=Hue=150&deg; <small>(41.7%; 106/255<small>dec</small>)</small> 100%, 100%}}
| style="background:#00FF80" | &nbsp;
| Basic hue || What we'd call ''the color''
|-
| colspan="6" |
|-
| 1
| <kbd>#A3BFB1</kbd> || 150&deg;, 15%, 75%
| style="background:#A3BFB1" | &nbsp;
| Header border only ||
|-
| 2
| <kbd>#CEF2E0</kbd> || 150&deg;, 15%, 95%
| style="background:#CEF2E0" | &nbsp;
| Main&nbsp;border; header&nbsp;background ||
|-
| 3
| <kbd>#E6FFF2</kbd> || 150&deg;, 10%, 100%
| style="background:#E6FFF2" | &nbsp;
| 2nd header, accent colour ||
|-
| 4
| <kbd>#F5FFFA</kbd> || 150&deg;, 4%, 100%
| style="background:#F5FFFA" | &nbsp;
| Main background || So saturation in A is a bit off
|}
{{collapse top|title=Colors for documentation navbox}}
As a suggestion, here are colors for a navbox intended for documentation pages only.
They follow the shading of regular blue navbox colors:
<syntaxhighlight lang="wikitext">
| titlestyle = background:#ccffe5
| basestyle  = background:#ddffee
<!-- basestyle= sets groupstyle, abovestyle, belowstyle together -->
</syntaxhighlight>
For subgroups, in child navboxes:
<syntaxhighlight lang="wikitext">
{{Navbox|child
| groupstyle = background:#e6fff2
...
</syntaxhighlight>


The /doc, /sandbox and /testcases pages should normally be in the subject namespace, except in the namespaces that do not have the MediaWiki [[meta:Help:Link#Subpage feature|subpage feature]] enabled: Main, File, Mediawiki and Category. (But currently we only show the /sandbox and /testcases links from User, User talk, Template and Template talk namespaces.) There are also a whole bunch of other technical reasons why the /doc page must be stored under the talk page for those (but only those) namespaces.
Example:{{Template link expanded|Periodic table templates overview}}
{{collapse bottom}}


This template automatically points its [create] links for the /doc, /sandbox and /testcases to the right namespace.
== Full syntax ==
<syntaxhighlight lang="wikitext">
{{Documentation}}


===Testing===
or
You can simulate the output for a given page by using the {{para|page}} parameter. For example, if you use the code {{para|page|Template:Edit protected}}, the template will behave exactly as if it were on the page [[Template:Edit protected]], including showing the documentation from [[Template:Edit protected/doc]], linking to [[Template:Edit protected/sandbox]], etc. This parameter is useful for testing and is used extensively on the [[Module:Documentation/testcases|module testcases page]].


===Technical details===
{{Documentation
The preload page for the /doc [create] link is [[Template:Documentation/preload]]. The preload pages for the /sandbox and /testcases [create] links are [[Template:Documentation/preload-sandbox]] and [[Template:Documentation/preload-testcases]].
| [path to documentation page]
}}


For more details, see the [[Template talk:Documentation|talk page]].
{{Documentation
| content =
}}


====Full syntax====
or
<pre>
{{Documentation}}


{{Documentation
{{Documentation
| content =
| [path to documentation page]
| heading-style =
| heading =
| link box =  
}}
}}
or


{{Documentation
{{Documentation
| [path to documentation page]
| [path to documentation page]
| content =
| heading-style =  
| heading-style =  
| heading =  
| heading =  
| link box =  
| link box =  
| page =
}}
}}
</pre>
</syntaxhighlight>


===See also===
==See also==
* {{tl|Documentation subpage}}, a notice placed at the top of a /doc subpage explaining its role and including a link to the page it documents.
* {{tl|Documentation subpage}}, a notice placed at the top of a /doc subpage explaining its role and including a link to the page it documents.
* {{tl|Barnstar documentation}}, a variant of {{tl|Documentation}} for use with [[Wikipedia:Barnstars|barnstar]] templates.
* {{tl|Barnstar documentation}}, a variant of {{tl|Documentation}} for use with [[Wikipedia:Barnstars|barnstar]] templates.
* {{tl|Documentation/color scheme}} presents the color scheme used by {{tl|Documentation}}.
* {{tl|Navbox documentation}}, a variant of {{tl|Documentation}} for use with [[Wikipedia:Navigation template|navigation templates]].
* [[Wikipedia:Template documentation]] is a how-to guide to template documentation.
* [[Wikipedia:Template documentation]] is a how-to guide to template documentation.
* [[Wikipedia:Template sandbox and test cases]] explains the use of /sandbox and /testcases subpages and includes more information about template testing.
* [[Wikipedia:Template sandbox and test cases]] explains the use of /sandbox and /testcases subpages and includes more information about template testing.
* [[User:Technical 13/Scripts/editTemplateNoDoc.js]], a beta script that enables documentation to be hidden by default when editing templates.


<includeonly>{{When pagename is |/sandbox= |/testcases= |other=
<includeonly><!-- Make sure that only page [[Template:Documentation]] is categorised. No other page (no subpages, not when transcluded).
<!---- Categories below this line, please; interwikis to Wikidata ---->
-->{{#ifeq:{{FULLPAGENAME}}|Template:Documentation|
[[Category:Template documentation| ]]
[[Category:Documentation templates| ]]
[[Category:Template-related templates]]
[[Category:Template namespace templates|Documentation]]
 
}}</includeonly>
}}</includeonly>

Revision as of 08:51, 15 March 2025

Template:Pp-semi-indef

The {{documentation}} template is used to contain the documented information and instructions of a certain template, usually from a /doc subpage. It can also be configured to load the content from other pages or be directly fed by text.

For detailed instructions on how and when to use this template, see Wikipedia:Template documentation (shortcut: WP:TDOC).

This template has two parts: the big "documentation box" with the documentation inside alongside a toolbar (the [view][edit][history][purge] links), and the smaller "link box" that shows metadata about the documentation alongside the sandbox and testcases links.

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

General syntax

Normally, the template is used without parameters and is placed inside <noinclude>...</noinclude> at the bottom of the template page (see § Placement and tags for more information):

<!--Last line of your template code--><noinclude>
{{Documentation}}
<!-- Add categories to the /doc subpage -->
</noinclude>

Transcluding a different page

To transclude a different page other than the /doc subpage, simply provide |1= like this:

<!--Last line of your template code--><noinclude>
{{Documentation|Template:Other page/doc}}
</noinclude>

Note that when loading the documentation from a page other than the local /doc subpage, it becomes tricky to handle the categories.

Using the |content= parameter

The documentation can also be fed directly as text, by using the |content= parameter:

<!--Last line of your template code--><noinclude>
{{Documentation
 | content =
<!-- template documentation -->
}}</noinclude>

When using this parameter, the toolbar will not show. Note that the /doc subpage in the link box will still show up if it exists.

Also note that when |1= and |content= is specified, |content= takes precedence and always shows in the documentation box.

Advanced syntax

Customizing the heading

The heading in the documentation box changes depending on namespace. See the below list for the default text in each namespace:

To customize the heading, simply set the parameter |heading= to anything you like, for example |heading=Infobox documentation.

Note that if the heading parameter is empty but defined (like |heading=) the heading alongside the toolbar will not show.

The |heading-style= parameter can be fed optional CSS values, like |heading-style=font-size:150%;color:red;. Not that you should omit quotation marks " " and add the ending semicolon ;.

To customize the link box, set |link box= to something else, like |link box=The above documentation is automatically generated from Template:Foo.

To hide the link box, simply set |link box= to off.

Testing

You can simulate the output for a given page by using the |page= parameter. For example, if you use the code |page=Template:Edit protected, the template will behave exactly as if it were on the page Template:Edit protected, including showing the documentation from Template:Edit protected/doc, linking to Template:Edit protected/sandbox, etc. This parameter is useful for testing and is used extensively on the module testcases page.

Placement and tags

This code should be added at the bottom of the template code page, with no space before <noinclude> (which causes extra whitespace to show on pages where the template is transcluded):

<!--Last line of your template code--><noinclude>
{{documentation}}
<!-- Add categories to the /doc subpage -->
</noinclude>

To automatically insert the above text, you can also use the substitution code shortcut {{subst:doc-code}}.

Categories and interwikis

Depending on where to the documentation is placed, it may be tricky to handle the categories and interwikis. See Wikipedia:Template documentation § Categories and interwiki links for information about adding these.

Technical details

Automatic functions

If the documentation page does not exist, the toolbar is replaced with a [create][purge] link. The [create] link automatically creates the page with preloaded text with the basic documentation syntax. Preload text is also used for the /sandbox and /testcases [create] links.

The preload page for the /doc [create] link is Template:Documentation/preload. The preload pages for the /sandbox and /testcases links are Template:Documentation/preload-sandbox and Template:Documentation/preload-testcases. The preload page for the /sandbox [mirror] link is Template:Documentation/mirror.

This template also automatically adds {{pp-template}} to a protected template page. When this template is on a /sandbox subpage, it also adds the {{Template sandbox notice}} template.

Depending on the namespace, the link box may have less features, or may not show up at all. The following table shows this:

Namespace Behavior
Template Full behavior
Module Full behavior, with the addition of a "create documentation" link when the page does not exist
User Full behavior
Other namespaces Hidden, unless |1= is specified (which will show "The above documentation is transcluded from {{{1}}}")

Alongside that, if |1= or |content= is specified, the "Add categories to the /doc subpage" text will not show.

Subject namespaces vs. talk namespaces

This template is usually placed in the subject namespace. But in some cases this template needs to be on the Talk namespace:

  • In the MediaWiki namespace, since <noinclude> often does not work in system messages, and since the MediaWiki namespace needs to be kept clean for performance reasons.

When placed on talk pages, this template usually is placed near the top of the page and without <noinclude>...</noinclude> tags.

The /doc, /sandbox and /testcases pages should normally be in the subject namespace, except in the namespaces that do not have the MediaWiki subpage feature enabled: Main, File, and MediaWiki. (Categories can have subpages, but documentation is created in the Category talk namespace to prevent creating empty categories. There are also a whole bunch of other technical reasons why the /doc page must be stored under the talk page for those (but only those) namespaces.

This template automatically points its [create] links for the /doc, /sandbox and /testcases to the right namespace.

Color scheme

Wikipedia background colors for {{documentation}} (Help:Using colors)
RGB HSV Color General usage Note
#ECFCF4 150°, 6%, 99%   Sample Current documentation background
B #00FF80 Hue=150° (41.7%; 106/255dec) 100%, 100%   Basic hue What we'd call the color
1 #A3BFB1 150°, 15%, 75%   Header border only
2 #CEF2E0 150°, 15%, 95%   Main border; header background
3 #E6FFF2 150°, 10%, 100%   2nd header, accent colour
4 #F5FFFA 150°, 4%, 100%   Main background So saturation in A is a bit off
Colors for documentation navbox

As a suggestion, here are colors for a navbox intended for documentation pages only. They follow the shading of regular blue navbox colors:

| titlestyle = background:#ccffe5
| basestyle  = background:#ddffee
<!-- basestyle= sets groupstyle, abovestyle, belowstyle together -->

For subgroups, in child navboxes:

{{Navbox|child
| groupstyle = background:#e6fff2
...

Example:{{Periodic table templates overview}}

Full syntax

{{Documentation}}

or

{{Documentation
 | [path to documentation page]
}}

{{Documentation
 | content =
}}

or

{{Documentation
| [path to documentation page]
| heading-style = 
| heading = 
| link box = 
}}

or 

{{Documentation
| [path to documentation page]
| content = 
| heading-style = 
| heading = 
| link box = 
| page =
}}

See also