Template:Documentation (copy)/doc


 * Description
 * This template is used to insert documentation on template pages.


 * Syntax
 * Type  at the end of the template page.

On the Template page
Template code

On the Template/doc page

 * Description
 * This template is used to do something.


 * Dependencies:
 * Uses (some CSS, JS, file, or other template).


 * Syntax
 * Type  somewhere.


 * Sample output
 * gives...

Any categories for the template itself

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

 * Templates
 * Template:Documentation/preload
 * Template:Documentation/preload-sandbox
 * Template:Documentation/preload-testcases
 * Template:Tocright (Template:Tocright/doc)


 * Images
 * File:Documentation icon.svg (default image on templates with documentation)
 * File:No Documentation icon.svg (default image on templates without documentation)

TemplateData
{	"params": { "1": {			"description": "The name of the custom /doc subpage.", "example": "Template:Documentation/doc", "default": "/doc", "label": "Custom Documentation Location", "type": "string" },		"content": { "description": "Content if documentation page will not be transcluded", "example": "This template creates quotes.", "label": "Inline Documentation Content", "type": "string" },		"sandbox": { "label": "Custom Sandbox Location", "description": "Specifies the /sandbox subpage location", "example": "Template:Example/sandbox", "type": "string", "default": "/sandbox" },		"testcases": { "label": "Custom Testcases Location", "description": "Specifies the /testcases subpage location", "example": "Template:Example/testcases", "type": "string", "default": "/testcases" },       "heading": { "label": "Heading text", "description": "Changes the default \"Documentation\" header to a different one", "example": "About this template", "type": "string" },		"footer": { "label": "Custom footer content", "description": "Replaces the default link box with a custom one", "example": "Documentation is automatically generated by . It's contents are shown here.", "type": "unbalanced-wikitext" }	},	"description": "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." }