Template:TemplateData header/en: Difference between revisions

From Project: Redcap
mediawiki>FuzzyBot
(Updating to match new version of source page)
 
m (1 revision imported: Navbox template)
 
(2 intermediate revisions by 2 users not shown)
Line 10: Line 10:
-->|not{{IsDocSubpage|false=0}}<!--
-->|not{{IsDocSubpage|false=0}}<!--
-->}}<!--
-->}}<!--
-->|{{Navbar|{{{docpage|{{BASEPAGENAME}}/doc}}}|plain=1|brackets=1|style=float:{{dir|{{pagelang2}}|left|right}};}}<!--
-->|{{Navbar|{{{docpage|{{BASEPAGENAME}}/doc}}}|plain=1|brackets=1|style=float:{{dir|{{PAGELANGUAGE}}|left|right}};}}<!--
-->}}<!--
-->}}<!--
-->}}
-->}}
Line 27: Line 27:
{{Documentation|content=
{{Documentation|content=


Inserts a brief header for the template data section. Adds the /doc subpage to [[:Category:TemplateData documentation{{#translation:}}]] and the template page to [[:Category:Templates using TemplateData{{#translation:}}]].
Inserts a brief header for the template data section.
Adds the /doc subpage to {{ll|Category:TemplateData documentation}} and the template page to {{ll|Category:Templates using TemplateData}}.


== Usage ==
== Usage ==
Line 39: Line 40:
}}
}}


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>]].
Use {{tmpl|0=<code>{{((}}TemplateData header{{!}}$1{{))}}</code>|Template name}} to display a name for the template other than the default, which is {{ll|Help:Magic words#Variables|<nowiki>{{BASEPAGENAME}}</nowiki>}}.
 
<dl><dd>
<dl><dd>
{{TemplateData header|Template name}}
{{TemplateData header|Template name}}
Line 45: Line 47:


Use <code><nowiki>{{TemplateData header|noheader=1}}</nowiki></code> to omit the first sentence of the header text.
Use <code><nowiki>{{TemplateData header|noheader=1}}</nowiki></code> to omit the first sentence of the header text.
<dl><dd>
<dl><dd>
{{TemplateData header|noheader=1}}
{{TemplateData header|noheader=1}}

Latest revision as of 08:21, 10 November 2024

<languages/>

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData header

Lua error: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.[[Category:Template documentation pages{{#translation:}}]]