Template:TemplateData header: Difference between revisions
Mark Arsten (talk | changes) m Protected Template:TemplateDataHeader: Highly visible template ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)) |
class |
||
Line 1: | Line 1: | ||
{{#if:{{{noheader|}}}| |This is the [[Wikipedia:VisualEditor/TemplateData|TemplateData]] documentation for the template used by the new [[Wikipedia:VisualEditor|VisualEditor]].}} |
<div class="templatedata-header">{{#if:{{{noheader|}}}| |This is the [[Wikipedia:VisualEditor/TemplateData|TemplateData]] documentation for the template used by the new [[Wikipedia:VisualEditor|VisualEditor]].}} |
||
'''{{{1|{{BASEPAGENAME}}}}}''' |
'''{{{1|{{BASEPAGENAME}}}}}''' |
||
<includeonly>[[Category:TemplateData documentation]]</includeonly><noinclude>{{Documentation}}</noinclude> |
</div><includeonly>[[Category:TemplateData documentation]]</includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 12:05, 15 December 2013
TemplateData header
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}}
to display a name for the template other than the default, which is {{BASEPAGENAME}}.
Use {{TemplateData header|nolink=1}}
to omit the wikilink from the word "TemplateData" in the header text, for instances where it is already linked outside this template.
- This is the TemplateData documentation for the template used by the new VisualEditor.
TemplateData header
Use {{TemplateData header|noheader=1}}
to omit the first sentence of the header text.
TemplateData header
Parameters
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 | Used to display a name for the template other than the default, which is {{BASEPAGENAME}}. | String | optional |
No link | nolink | Assigning any value to this parameter will omit cause the template to omit the wikilink from the word "TemplateData" in the header text, for instances where it is already linked outside this template. | String | optional |
No header | noheader | Assigning any value to this parameter will cause the template to omit the first sentence of the header text. | String | optional |