Template:TemplateData header
(Redirected from Template:TemplateDataHeader)
This is the TemplateData documentation for this template used by VisualEditor and other tools.
TemplateData header
Inserts a brief header for the template data section. Adds the /doc subpage to Category:TemplateData documentation and the template page to Category:Templates using TemplateData .
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}} .
-
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Template name
Use {{TemplateData header|noheader=1}}
to omit the first sentence of the header text.
-
TemplateData header
Parameters
This is the TemplateData documentation for this template used by VisualEditor and other tools.
TemplateData header
<templatedata> { "description": { "en": "Inserts a brief header for the template data section.", "cs": "Vloží stručné záhlaví pro sekci dat šablony.", "fr": "Insère un cours entête pour la section de données du modèle." }, "format": "inline", "params": { "1": { "label": { "en": "Template name", "cs": "Název šablony", "fr": "nom du modèle" }, "description": { "en": "Used to display a name for the template other than the default.", "cs": "Slouží k zobrazení jiného než výchozího názvu šablony, což je TemplateData header." }, "type": "string", "required": false, "default": { "en": "TemplateData header", "fr": "TemplateData header" } }, "noheader": { "label": { "en": "No header", "cs": "Bez záhlaví", "fr": "pas d'entête" }, "description": { "en": "Assigning any value to this parameter will cause the template to omit the first sentence of the header text.", "cs": "Přiřazení libovolné hodnoty tomuto parametru způsobí, že šablona vynechá první větu textu záhlaví." }, "type": "string", "required": false }, "editlinks": { "label": { "en": "Edit Links?", "cs": "Upravit odkazy?" }, "description": { "en": "Whether to show · [{{fullurl:Template:{{{1}}}|action=edit}} <span style="" title="<translate nowrap> Edit this template</translate>"><translate> edit</translate>] editlinks on pages that transclude the TemplateData", "cs": "Zda zobrazit odkazy na úpravy ] · [{{fullurl:Template:{{{1}}}|action=edit}} <span style="" title="<translate nowrap> Edit this template</translate>"><translate> edit</translate>] na stránkách, které přenášejí data TemplateData" }, "default": "0", "autovalue": "1", "type": "boolean" }, "docpage": { "label": { "en": "Doc Page", "cs": "Stránka doc" }, "description": { "en": "The name of the current page, used for ] · [{{fullurl:Template:{{{1}}}|action=edit}} <span style="" title="<translate nowrap> Edit this template</translate>"><translate> edit</translate>] edit links", "cs": "Název aktuální stránky používaný pro odkazy na úpravy ] · [{{fullurl:Template:{{{1}}}|action=edit}} <span style="" title="<translate nowrap> Edit this template</translate>"><translate> edit</translate>]" }, "default": "TemplateData header/doc", "autovalue": "{{subst:PAGENAME}}", "suggested": true, "type": "wiki-template-name" } }, "paramOrder": [ "1", "noheader", "editlinks", "docpage" ] } </templatedata>
]