Template:TemplateData header/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>MSGJ m MSGJ moved page Template:TemplateDataHeader/doc to Template:TemplateData header/doc: slightly clearer |
meta>Zyxw update to match renaming of template in May 2015 |
||
Line 7: | Line 7: | ||
<pre> | <pre> | ||
==TemplateData== or ==Parameters== or ==Usage== | ==TemplateData== or ==Parameters== or ==Usage== | ||
{{ | {{TemplateData header}} | ||
<templatedata>{ | <templatedata>{ | ||
... | ... | ||
Line 13: | Line 13: | ||
</pre> | </pre> | ||
Use <code><nowiki>{{ | Use <code><nowiki>{{TemplateData header|Template name}}</nowiki></code> if you want an alternative name for the template to be displayed. | ||
==Parameters== | ==Parameters== | ||
{{ | {{TemplateData header}} | ||
<templatedata>{ | <templatedata>{ | ||
"description": "Inserts a brief header for the template data section. Adds the page to [[Category:TemplateData documentation]]", | "description": "Inserts a brief header for the template data section. Adds the page to [[Category:TemplateData documentation]]", |
Revision as of 04:28, 26 August 2015
This is a documentation subpage for Template:TemplateData header. It may contain usage information, categories and other content that is not part of the original template page. |
Inserts a brief header for the template data section. Adds the page to Category:TemplateData documentation.
Usage
==TemplateData== or ==Parameters== or ==Usage== {{TemplateData header}} <templatedata>{ ... }</templatedata>
Use {{TemplateData header|Template name}}
if you want an alternative name for the template to be displayed.
Parameters
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for this template in articles based on this TemplateData.
TemplateData for TemplateData header
Inserts a brief header for the template data section. Adds the page to [[Category:TemplateData documentation]]
Parameter | Description | Type | Status | |
---|---|---|---|---|
Template name | 1 | The name of the template to display. Default is {{BASEPAGENAME}}. | String | optional |