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 [[Wikipedia:TemplateData|TemplateData]] documentation for this template used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools.}}
+
<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.}}
 +
 
 +
{{Template error report}}
  
 
'''TemplateData for {{{1|{{BASEPAGENAME}}}}}'''
 
'''TemplateData for {{{1|{{BASEPAGENAME}}}}}'''

Revision as of 13:45, 10 June 2017

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