Template:Doc short

 This is the {&#123;doc short}} template. It can be used to display a documentation subpage which describes and shows examples of complex templates with a large expansion depth (of nested if-else logic; see: m:Help:Expansion depth). The page width defaults to 99.5% to avoid the bottom scroll bar, but setting width=101% can allow for wider text on the page.
 * Template-info.png Template documentation

This template displays a green doc 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 is intended for documenting templates and other pages which are transcluded onto other pages. It can be used in template space and most other namespaces.

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

Usage
Normally this template is used without any parameters, placed at the bottom of the template or page being documented, below a  tag:

&lt;noinclude>

&lt;/noinclude>

Then this template automatically loads the content from the /doc subpage of the template it is used on.

Performance impact
This template has an expansion depth of 1 level. It can be used to display a documentation subpage for a complex template, instead of using the other template {&#123;documentation}}, consuming 11-13 expansion levels, which might exceed the total expansion depth limit (such as 40 levels during 2009-2012). Due to shortening the expansion depth, no ability to create /doc pages is provided in this template, so use the template {&#123;documentation}} when first needing to create a doc subpage.