Template:Hook

From Linux Web Expert

Revision as of 07:24, 24 July 2021 by imported>ExE Boss (Use <onlyinclude>; →‎template-documentation: Move template category declarations to subpage)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

[[Special:MyLanguage/Manual:Hooks/{{{1}}}|{{{1}}}]][[:Manual:Hooks/{{{1}}}| ]]

Template documentation

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Hook

<templatedata> { "description": { "en": "Creates an internal link to a hook's documentation page.", "cs": "Vytvoří interní odkaz na stránku dokumentace háčku." }, "format": "inline", "params": { "1": { "label": { "en": "Hook name", "cs": "Jméno háčku" }, "required": true, "type": "string" }, "2": { "label": { "en": "Link text", "cs": "Text odkazu" }, "description": { "en": "The text that is displayed as the link to the hook's documentation page.", "cs": "Text, který se zobrazí jako odkaz na stránku dokumentace háčku." }, "type": "string" }, "extension": { "label": { "en": "Extension name", "cs": "Název rozšíření" }, "description": { "en": "If the hook is provided by an extension, provide that extension's name here.", "cs": "Pokud je háček poskytován rozšířením, zadejte zde název tohoto rozšíření." } } } } </templatedata>