Vorlage:Hatnote/doc: Unterschied zwischen den Versionen
update TemplateData
(update after conversion to Module:Hatnote) |
(update TemplateData) |
||
| Zeile 59: | Zeile 59: | ||
== Template data == | == Template data == | ||
{{Collapse top|TemplateData}} | |||
{{TemplateDataHeader}} | {{TemplateDataHeader}} | ||
<templatedata>{ | <templatedata> | ||
"description": "Template for creating a standard Wikipedia hatnote. A hatnote is a short note placed at the top of an article to provide disambiguation of closely related terms or summarise a topic, explaining its boundaries.", | { | ||
"params": { | "description": "Template for creating a standard Wikipedia hatnote. A hatnote is a short note placed at the top of an article to provide disambiguation of closely related terms or summarise a topic, explaining its boundaries.", | ||
"params": { | |||
"1": { | |||
"label": "Text", | |||
"type": "string", | "description": "This field should contain the text that will be displayed in the hatnote.", | ||
" | "type": "string", | ||
"required": true | |||
}, | |||
"extraclasses": { | |||
"type": "string/line", | |||
"label": "Extra classes", | |||
"description": "Extra CSS classes to be added to the <div> tags surrounding the hatnote text." | |||
}, | |||
"selfref": { | |||
"type": "string/line", | |||
"label": "Self reference", | |||
"description": "Set to \"yes\" if the hatnote text is a self-reference to Wikipedia that would not make sense on mirrors or forks of the Wikipedia site. (E.g. \"For the Wikipedia Sandbox, see [[WP:SAND]]\".)" | |||
}, | |||
"category": { | |||
"label": "Category", | |||
"description": "Set to \"no\", \"n\", \"false\", or \"0\" to suppresses the error tracking category (Category:Hatnote templates with errors). This only has an effect if the hatnote text is omitted." | |||
} | |||
} | } | ||
} | } | ||
</templatedata> | |||
{{Collapse bottom}} | |||
<includeonly> | <includeonly> | ||
[[Category:Hatnote templates]] | [[Category:Hatnote templates]] | ||
</includeonly> | </includeonly> | ||