Jump to content

Template:Hook

From wikiNonStop
Revision as of 19:57, 20 November 2025 by en>Tactica (If not provided by an extension, use a fixed font to mimic {{wg}} and make the output stand out more.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Template documentation

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.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Hook name1

Name of the hook to link to.

Stringrequired
Link text2

The text that is displayed as the link to the hook's documentation page.

Stringoptional
Extension nameextension

If the hook is provided by an extension, provide that extension's name here.

Stringoptional

Example

{{hook|UserLinkRendererUserLinkPostRender}}UserLinkRendererUserLinkPostRender