Difference between revisions of "Template:TemplateData header"

From Wikispooks
Jump to navigation Jump to search
m (1 revision imported)
 
m (1 revision imported)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div class="templatedata-header">{{#if:{{{noheader|}}}| |This is the {{#if:{{{nolink|}}}|TemplateData|[[Wikipedia:TemplateData|TemplateData]]}} documentation for this template used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools.}}
+
<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}}}}  
 
 
{{Template error report}}
 
  
 
'''TemplateData for {{{1|{{BASEPAGENAME}}}}}'''
 
'''TemplateData for {{{1|{{BASEPAGENAME}}}}}'''
 
</div><includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
 
</div><includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
[[Category:TemplateData documentation]]
+
[[Category:Templates using TemplateData]]
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 16:05, 12 February 2019

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for TemplateData header

Template documentation[view] [edit] [history] [purge]

Inserts a brief header for the template data section. Adds the page to Category:TemplateData documentation.

Usage

==TemplateData== or ==Parameters== or ==Usage==
{{TemplateData header}}
<templatedata>{
...
}</templatedata>

Use {{TemplateData header|Template name}} if you want an alternative name for the template to be displayed.

Parameters

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for TemplateData header

<templatedata>{

 "description": "Inserts a brief header for the template data section. Adds the page to",
 "params": {
   "1": {
     "label": "Template name",
     "description": "The name of the template to display. Default is TemplateData header.",
     "type": "string",
     "required": false
   }
 }

}</templatedata>

See also