Template:Documentation/doc

Description
This is the template, used on many templates for displaying instructions, information, mw:Help:TemplateData, and such. See Help:Template documentation for additional information.

This template displays two headers like you see now, with the documentation tools at the top, and a link box at the bottom. It automatically loads content from the /doc subpage.

General usage
 Template code Any categories to be inserted into articles by the template

Note that, depending on the template, you may need to add a clear or complete a table/div just before  is inserted (within the noinclude tags).

The line break is also useful as it helps prevent the documentation template "running into" previous code.

TemplateData
{	"description": { "en": "This template is used to insert descriptions on template pages." },	"format": "inline", "params": { "1": {			"label": { "en": "Custom Documentation Page" },			"description": { "en": "Page containing the documentation" },			"default": "/doc", "type": "wiki-page-name" },		"heading": { "label": { "en": "Heading" },			"description": { "en": "Custom heading" },			"default": { "en": " Documentation" },			"type": "line", "autovalue": "" },		"preload": { "label": { "en": "Preload Page" },			"description": { "en": "The page to preload if the `/doc` subpage doesn't exist." },			"default": "Template:Documentation/preload", "type": "wiki-page-name" },		"content": { "label": { "en": "Content" },			"description": { "en": "Custom documentation content, prevents transclusion of `/doc` subpage." },			"type": "content" }	} }

de:Vorlage:Dokumentaion fr:Modèle:Documentation hi:साँचा:प्रलेख ja:Template:Documentation pt:Predefinição:Documentação tr:Şablon:Belgelendirme zh:Template:Documentation

fr:Modèle:Documentation/doc hi:साँचा:प्रलेख/प्रलेख tr:Şablon:Belgelendirme/belge