Template:Hook: Difference between revisions
Appearance
If not provided by an extension, use a fixed font to mimic {{wg}} and make the output stand out more. |
m 1 revision imported: Initial Setup |
(No difference)
| |
Latest revision as of 14:12, 6 April 2026
[[Special:MyLanguage/Manual:Hooks/{{{1}}}|{{{1}}}]]
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Hook
Creates an internal link to a hook's documentation page.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Hook name | 1 | Name of the hook to link to. | String | required |
| Link text | 2 | The text that is displayed as the link to the hook's documentation page. | String | optional |
| Extension name | extension | If the hook is provided by an extension, provide that extension's name here. | String | optional |
Example
{{hook|UserLinkRendererUserLinkPostRender}} → UserLinkRendererUserLinkPostRender