Template:Hook
Appearance
[[Special:MyLanguage/Manual:Hooks/{{{1}}}|{{{1}}}]]
TemplateData
[edit]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
[edit]{{hook|UserLinkRendererUserLinkPostRender}} → UserLinkRendererUserLinkPostRender