Template:TemplateData header: Difference between revisions
m (dummy edit to update translation pages) |
m (1 revision imported) |
(No difference)
|
Revision as of 16:30, 21 December 2020
<languages/> {{#switch:<translate></translate> | =
TemplateData header
| #default=
{{#switch:
| =
TemplateData header
{{#ifeq:TemplateData header|sandbox||}}
| #default=
Lua error: expandTemplate: template loop detected.
}} }}
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}}
to display a name for the template other than the default, which is {{BASEPAGENAME}}.
|{{#switch:<translate></translate> | =
Template name
| #default=
{{#switch:
| =
Template name
| #default=
Lua error: expandTemplate: template loop detected.
}} }} |Template:)
Use {{TemplateData header|nolink=1}}
to omit the wikilink from the word "TemplateData" in the header text, for instances where it is already linked outside this template.
|{{#switch:<translate></translate> | =
TemplateData header
| #default=
{{#switch:
| =
TemplateData header
| #default=
Lua error: expandTemplate: template loop detected.
}} }} |Template:)
Use {{TemplateData header|noheader=1}}
to omit the first sentence of the header text.
|{{#switch:<translate></translate> | =
TemplateData header
| #default=
{{#switch:
| =
TemplateData header
| #default=
Lua error: expandTemplate: template loop detected.
}} }} |Template:)
Parameters
{{#if: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}}
to display a name for the template other than the default, which is {{BASEPAGENAME}}.
|{{#switch:<translate></translate> | =
Template name
{{#ifeq:TemplateData header|sandbox||}}
| #default=
{{#switch:
| =
Template name
{{#ifeq:TemplateData header|sandbox||}}
| #default=
Lua error: expandTemplate: template loop detected.
}} }} |Template:)
Use {{TemplateData header|nolink=1}}
to omit the wikilink from the word "TemplateData" in the header text, for instances where it is already linked outside this template.
|{{#switch:<translate></translate> | =
TemplateData header
{{#ifeq:TemplateData header|sandbox||}}
| #default=
{{#switch:
| =
TemplateData header
{{#ifeq:TemplateData header|sandbox||}}
| #default=
Lua error: expandTemplate: template loop detected.
}} }} |Template:)
Use {{TemplateData header|noheader=1}}
to omit the first sentence of the header text.
|{{#switch:<translate></translate> | =
TemplateData header
{{#ifeq:TemplateData header|sandbox||}}
| #default=
{{#switch:
| =
TemplateData header
{{#ifeq:TemplateData header|sandbox||}}
| #default=
Lua error: expandTemplate: template loop detected.
}} }} |Template:)
Parameters
Template:TemplateData header/doc| [[Category:Template documentation pages{{#translation:}}]] }}