Changes
Jump to navigation
Jump to search
Template:TemplateData header/en (view source)
Revision as of 04:11, 28 February 2021
, 04:11, 28 February 2021Updating to match new version of source page
<noinclude>
<languages/>
</noinclude>
<div class="templatedata-header">{{#if:{{{noheader|}}}| |This is the [[Special:MyLanguage/Help:TemplateData|TemplateData]] documentation for this template used by [[Special:MyLanguage/VisualEditor|VisualEditor]] and other tools.}}
'''{{{1|{{BASEPAGENAME}}}}}'''
</div><includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||[[Category:TemplateData documentation]]}}</includeonly><!--
--><noinclude>
{{Documentation|content=
Inserts a brief header for the template data section. Adds the page to [[:Category:TemplateData documentation]].
== Usage ==
<pre>
==TemplateData== or ==Parameters== or ==Usage==
{{TemplateData header}}
<templatedata>{
...
}</templatedata>
</pre>
Use <code><nowiki>{{TemplateData header|Template name}}</nowiki></code> to display a name for the template other than the default, which is [[Help:Magic_words#Variables|<nowiki>{{BASEPAGENAME}}</nowiki>]].
:{{(}}{{!}}
{{!}}{{TemplateData header|Template name}}
{{!}}{{)}}
Use <code><nowiki>{{TemplateData header|nolink=1}}</nowiki></code> to omit the [[Help:Link#Wikilinks|wikilink]] from the word "TemplateData" in the header text, for instances where it is already linked outside this template.
:{{(}}{{!}}
{{!}}{{TemplateData header|nolink=1}}
{{!}}{{)}}
Use <code><nowiki>{{TemplateData header|noheader=1}}</nowiki></code> to omit the first sentence of the header text.
:{{(}}{{!}}
{{!}}{{TemplateData header|noheader=1}}
{{!}}{{)}}
==Parameters==
{{TemplateData header/doc}}
}}
</noinclude>
<languages/>
</noinclude>
<div class="templatedata-header">{{#if:{{{noheader|}}}| |This is the [[Special:MyLanguage/Help:TemplateData|TemplateData]] documentation for this template used by [[Special:MyLanguage/VisualEditor|VisualEditor]] and other tools.}}
'''{{{1|{{BASEPAGENAME}}}}}'''
</div><includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||[[Category:TemplateData documentation]]}}</includeonly><!--
--><noinclude>
{{Documentation|content=
Inserts a brief header for the template data section. Adds the page to [[:Category:TemplateData documentation]].
== Usage ==
<pre>
==TemplateData== or ==Parameters== or ==Usage==
{{TemplateData header}}
<templatedata>{
...
}</templatedata>
</pre>
Use <code><nowiki>{{TemplateData header|Template name}}</nowiki></code> to display a name for the template other than the default, which is [[Help:Magic_words#Variables|<nowiki>{{BASEPAGENAME}}</nowiki>]].
:{{(}}{{!}}
{{!}}{{TemplateData header|Template name}}
{{!}}{{)}}
Use <code><nowiki>{{TemplateData header|nolink=1}}</nowiki></code> to omit the [[Help:Link#Wikilinks|wikilink]] from the word "TemplateData" in the header text, for instances where it is already linked outside this template.
:{{(}}{{!}}
{{!}}{{TemplateData header|nolink=1}}
{{!}}{{)}}
Use <code><nowiki>{{TemplateData header|noheader=1}}</nowiki></code> to omit the first sentence of the header text.
:{{(}}{{!}}
{{!}}{{TemplateData header|noheader=1}}
{{!}}{{)}}
==Parameters==
{{TemplateData header/doc}}
}}
</noinclude>