Template:Wp/mrh/TemplateData header/sandbox
TemplateData for Wp/mrh/TemplateData header
This is the template sandbox page for Template:Wp/mrh/TemplateData header (diff). See also the companion subpage for test cases. |
Template:Documentation subpage Template:Lua
The Template:Tlx template inserts a brief header for the template data section, and adds the page to Category:Templates using TemplateData.
Usage
[edit source]==TemplateData== {{TemplateData header}} <templatedata>{ ... }</templatedata> Note: Section headers of ==Parameters== or ==Usage== may also be used.
Use {{wp/mrh/TemplateData header|Template name}}
to display a name for the template other than the default, which is {{BASEPAGENAME}}. Do not add namespace Template:
Use {{wp/mrh/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.
Use {{TemplateData header|noheader=1}}
to omit the first sentence of the header text.
Example
[edit source]- Using a collapse box for Template:Elc:
Parameters
[edit source]TemplateData for Wp/mrh/TemplateData header
Inserts a brief header for the TemplateData section. Adds the page to [[:Category:Templates using TemplateData]]
Parameter | Description | Type | Status | |
---|---|---|---|---|
Template name | 1 | Used to display a name for the template other than the default, which is {{BASEPAGENAME}}. | String | optional |
No link | nolink | Assigning any value to this parameter will omit cause the template to omit the wikilink from the word "TemplateData" in the header text, for instances where it is already linked outside this template. | String | optional |
No header | noheader | Assigning any value to this parameter will cause the template to omit the first sentence of the header text. | String | optional |
Tracking category
[edit source]See also
[edit source]The above documentation is transcluded from Template:Wp/mrh/TemplateData header/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |