Template:Hatnote: Difference between revisions

Jump to navigation Jump to search
add templatedata
(Create.)
 
(add templatedata)
Line 26: Line 26:


* <code><nowiki>{{hatnote|Example hatnote text}}</nowiki></code> → {{hatnote|Example hatnote text}}
* <code><nowiki>{{hatnote|Example hatnote text}}</nowiki></code> → {{hatnote|Example hatnote text}}
== Template data ==
<templatedata>
{
"description": {
"en": "Template for creating a standard hatnote. A hatnote is a short note placed at the top of an article or section to direct users to related pages",
"cs": "Šablona pro vytvoření standardní hatnote. Hatnote je krátká poznámka umístěná v horní části článku nebo sekce, která uživatele nasměruje na související stránky"
},
"format": "inline",
"params": {
"1": {
"aliases": [
"text"
],
"label": "Text",
"description": {
"en": "This field should contain the text that will be displayed in the hatnote.",
"cs": "Toto pole by mělo obsahovat text, který se zobrazí v hatnote."
},
"type": "string",
"required": true,
"example": {
"en": "Insert text here.",
"cs": "Sem vložte text."
}
},
"extraclasses": {
"label": {
"en": "Extra classes",
"cs": "Extra třídy"
},
"description": {
"en": "Comma-separated list of CSS class names",
"cs": "Seznam názvů tříd CSS oddělených čárkami"
},
"type": "string"
}
},
  "paramOrder": [
    "1",
    "extraclasses"
  ]
}
</templatedata>


== Attribution ==
== Attribution ==

Navigation menu