Difference between revisions of "Template:TemplateData header"

From The HILLSIDE
Jump to navigation Jump to search
en>Evad37
(Replace {{Template error report}} with {{Template parameter usage}} – per edit request)
 
en>Shirayuki
m (dummy edit to enable new translation units; see phab:T221119)
Line 1: Line 1:
<div class="templatedata-header">{{#if:{{{noheader|}}}|<!--
+
<noinclude>
noheader:
+
<languages />
-->{{Template parameter usage}}|<!--
+
</noinclude>{{#switch:<translate></translate>
+header:
+
| =
-->This is the {{#if:{{{nolink|}}}|<!--
+
<div class="templatedata-header">{{#if:{{{noheader|}}}| |<translate><!--T:1--> This is the [[<tvar|1>Special:MyLanguage/Help:TemplateData</>|TemplateData]] documentation for this template used by [[<tvar|2>Special:MyLanguage/VisualEditor</>|VisualEditor]] and other tools.</translate>}}
  +header, nolink TD
 
  -->TemplateData|<!--
 
  +header,  +link [[TD]]; DEFAULT:
 
-->[[Wikipedia:TemplateData|TemplateData]]}}<!--
 
  e.o. #if:nolink; DEFAULT:
 
--> documentation for this template used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools; {{Template parameter usage|lc=yes}}<!--
 
  e.o. #if:noheader
 
-->}}
 
  
'''TemplateData for {{{1|{{BASEPAGENAME}}}}}'''
+
'''{{{1|{{BASEPAGENAME}}}}}'''
</div><includeonly><!--
+
</div><includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||[[Category:TemplateData documentation]]}}</includeonly>
 
+
| #default=
check parameters
+
  {{#invoke:Template translation|renderTranslatedTemplate|template=Template:TemplateData header|noshift=1|uselang={{int:lang}}}}
-->{{#invoke:Check for unknown parameters|check
+
}}<noinclude>
|unknown={{template other|1=[[Category:Pages using TemplateData header with unknown parameters|_VALUE_]]}}
+
{{Documentation}}
|template=Template:TemplateData header
+
</noinclude>
|1 |nolink |noheader
 
|preview=<div class="error" style="font-weight:normal">Unknown parameter '_VALUE_' in [[Template:TemplateData header]].</div>
 
}}<!--
 
-->{{template other|{{sandbox other||
 
[[Category:Templates using TemplateData]]
 
 
 
}}}}</includeonly><!--
 
 
 
--><noinclude>{{Documentation}}</noinclude>
 

Revision as of 15:19, 9 May 2020


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

TemplateData header

Template documentation