Difference between revisions of "Template:TemplateData header"
m (1 revision imported) |
(per edit request on talk page) |
||
Line 1: | Line 1: | ||
− | <div class="templatedata-header">{{#if:{{{noheader|}}}|{{Template error report}}|This is the {{#if:{{{nolink|}}}|TemplateData|[[Wikipedia:TemplateData|TemplateData]]}} documentation for this template used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools; {{Template error report|lc=yes}}}} | + | <div class="templatedata-header">{{#if:{{{noheader|}}}|<!-- |
+ | noheader: | ||
+ | -->{{Template error report}}|<!-- | ||
+ | +header: | ||
+ | -->This is the {{#if:{{{nolink|}}}|<!-- | ||
+ | +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 error report|lc=yes}}<!-- | ||
+ | e.o. #if:noheader | ||
+ | -->}} | ||
'''TemplateData for {{{1|{{BASEPAGENAME}}}}}''' | '''TemplateData for {{{1|{{BASEPAGENAME}}}}}''' | ||
− | </div><includeonly>{{# | + | </div><includeonly><!-- |
+ | |||
+ | check parameters | ||
+ | -->{{#invoke:Check for unknown parameters|check | ||
+ | |unknown={{template other|1=[[Category:Pages using TemplateData header with unknown parameters|_VALUE_]]}} | ||
+ | |template=Template:TemplateData header | ||
+ | |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]] | [[Category:Templates using TemplateData]] | ||
− | }}</includeonly><noinclude> | + | |
− | {{Documentation}} | + | }}}}</includeonly><!-- |
− | </noinclude> | + | |
+ | --><noinclude>{{Documentation}}</noinclude> |
Revision as of 16:33, 27 March 2020
This is the TemplateData documentation for this template used by VisualEditor and other tools; see a monthly parameter usage report for this template in articles.
TemplateData for TemplateData header