TemplateData header

From Eating Asturias, the Encyclopedia of Asturian Gastronomy
m (more)
m (1 revision imported: newest versions)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
<div class="templatedata-header">{{#if:{{{noheader|}}}|<!--
 
noheader:
|=
-->{{Template parameter usage|{{{1|{{BASEPAGENAME}}}}}|based=y}}|<!--
<div class="templatedata-header"><!--
+header:
-->{{#if:{{yesno|{{{editlinks|}}}}}<!--
-->This is the {{#if:{{{nolink|}}}|<!--
-->|{{#ifexpr:<!--
  +header, nolink TD
-->{{#if:{{{docpage|}}}<!--
  -->TemplateData|<!--
-->|{{#ifeq:{{FULLPAGENAME}}|{{transclude|{{{docpage}}}}}|0|1}}<!--
  +header,  +link [[TD]]; DEFAULT:
-->|not{{IsDocSubpage|false=0}}<!--
-->[[Wikipedia:TemplateData|TemplateData]]}}<!--
-->}}<!--
  e.o. #if:nolink; DEFAULT:
-->|{{Navbar|{{{docpage|{{BASEPAGENAME}}/doc}}}|plain=1|brackets=1|style=float:{{dir|{{PAGELANGUAGE}}|left|right}};}}<!--
--> for this template used by [[mw:Extension:TemplateWizard|TemplateWizard]], [[Wikipedia:VisualEditor|VisualEditor]] and other tools. {{Template parameter usage|{{{1|{{BASEPAGENAME}}}}}|based=y}}<!--
-->}}<!--
  e.o. #if:noheader
-->}}
-->}}


'''TemplateData for {{{1|{{BASEPAGENAME}}}}}'''
</div><includeonly><!--


'''{{{1|{{BASEPAGENAME}}}}}'''
check parameters
</div><includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|<!--
-->{{#invoke:Check for unknown parameters|check
-->|{{#if:{{IsDocSubpage|false=}}<!--
|unknown={{template other|1=[[Category:Pages using TemplateData header with unknown parameters|_VALUE_]]}}
-->|[[Category:TemplateData documentation{{#translation:}}]]<!--
|template=Template:TemplateData header
-->|[[Category:Templates using TemplateData{{#translation:}}]]<!--
|1 |nolink |noheader
-->}}<!--
|preview=<div class="error" style="font-weight:normal">Unknown parameter '_VALUE_' in [[Template:TemplateData header]].</div>
-->}}</includeonly>
}}<!--
| #default=
-->{{template other|{{sandbox other||
  {{#invoke:Template translation|renderTranslatedTemplate|template=Template:TemplateData header|noshift=1|uselang={{#if:{{pagelang}}|{{pagelang}}|{{int:lang}}}}}}
[[Category:Templates using TemplateData]]
}}</onlyinclude>
{{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:}}]].
 
== Usage ==
{{#tag:syntaxhighlight|
==TemplateData== or ==Parameters== or ==Usage==
{{((}}TemplateData header{{))}}
{{^(}}templatedata{{)^}}{
...
}{{^(}}/templatedata{{)^}}
|lang=html
}}
 
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>]].
<dl><dd>
{{TemplateData header|Template name}}
</dd></dl>
 
Use <code><nowiki>{{TemplateData header|noheader=1}}</nowiki></code> to omit the first sentence of the header text.
<dl><dd>
{{TemplateData header|noheader=1}}
</dd></dl>


==Parameters==
}}}}</includeonly><!--
{{TemplateData header/doc}}


}}
--><noinclude>{{Documentation}}</noinclude>
</noinclude>

Latest revision as of 12:22, 24 January 2025

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:TemplateData header in articles based on its TemplateData.

TemplateData for TemplateData header