跳转到内容

模板:Hook

来自天灾之下:危险连接资料站

[[Special:MyLanguage/Manual:Hooks/{{{1}}}|{{{1}}}]][[:Manual:Hooks/{{{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.

模板参数[编辑模板数据]

此模板首选参数不换行的行内格式。

参数描述类型状态
Hook name1

Name of the hook to link to.

字符串必需
Link text2

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

字符串可选
Extension nameextension

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

字符串可选

Example

{{hook|UserLinkRendererUserLinkPostRender}} → UserLinkRendererUserLinkPostRender