163
edits
No edit summary |
No edit summary |
||
Line 25: | Line 25: | ||
{{Documentation|content= | {{Documentation|content= | ||
Inserts a brief header for the template data section. Adds the /doc subpage to {{ll|Category:TemplateData documentation}} and the template page to {{ll|Category:Templates using TemplateData}}. | |||
== Usage == | == Usage == | ||
{{#tag:syntaxhighlight| | {{#tag:syntaxhighlight| | ||
Line 40: | Line 39: | ||
}} | }} | ||
Use {{tmpl|0=<code>{{((}}TemplateData header{{!}}$1{{))}}</code>|Template name}} to display a name for the template other than the default, which is {{ll|Help:Magic words#Variables|<nowiki>{{BASEPAGENAME}}</nowiki>}}. | Use {{tmpl|0=<code>{{((}}TemplateData header{{!}}$1{{))}}</code>|Template name}} to display a name for the template other than the default, which is {{ll|Help:Magic words#Variables|<nowiki>{{BASEPAGENAME}}</nowiki>}}. | ||
Line 49: | Line 46: | ||
</dd></dl> | </dd></dl> | ||
Use <code><nowiki>{{TemplateData header|noheader=1}}</nowiki></code> to omit the first sentence of the header text. | Use <code><nowiki>{{TemplateData header|noheader=1}}</nowiki></code> to omit the first sentence of the header text. | ||
Line 58: | Line 54: | ||
==Parameters== | ==Parameters== | ||
{{TemplateData header/doc}} | {{TemplateData header/doc}} |