Difference between revisions of "Template:HookUsage"
Jump to navigation
Jump to search
Template documentation
Joelmartin (talk | contribs) m (Text replacement - "</translate>" to "") |
Joelmartin (talk | contribs) m (Text replacement - "</>" to "") |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<languages /> | <languages /> | ||
− | </noinclude>{{#switch: | + | </noinclude>{{#switch: |
| = | | = | ||
− | {{notice|text= | + | {{notice|text= This category may not be up to date; it may not show all extensions that use this hook. You can view this [<tvar|url>https://codesearch.wmflabs.org/extensions/?q={{{1}}}&i=nope&files=&repos= MediaWiki Code search query] to see the most up-to-date version of all extensions that use this hook.}} |
− | + | The '''<tvar|pagename>{{{1}}}''' category contains articles on extensions that use the <tvar|name>{{#if: {{{extension|}}} | [[Extension:{{{extension}}}/Hooks/{{{1}}}{{#translation:}}|{{{1}}}]]{{enlink|Extension:{{{extension}}}/Hooks/{{{1}}}}} | [[Manual:Hooks/{{{1}}}{{#translation:}}|{{{1}}}]]{{enlink|Manual:Hooks/{{{1}}}}} }} hook.<!-- | |
--><includeonly>{{IfNotEn | --><includeonly>{{IfNotEn | ||
|[[Category:Extensions by hook usage{{#translation:}}]] | |[[Category:Extensions by hook usage{{#translation:}}]] | ||
Line 14: | Line 14: | ||
{{Documentation|content= | {{Documentation|content= | ||
− | + | ||
− | == Usage == | + | == Usage == |
Line 29: | Line 29: | ||
"type": "string", | "type": "string", | ||
"label": "Extension", | "label": "Extension", | ||
− | "description": " | + | "description": " Name of the extension that provides this hook (if it's not a core hook).", |
"suggested": true | "suggested": true | ||
} | } | ||
}, | }, | ||
"format": "inline", | "format": "inline", | ||
− | "description": " | + | "description": " Provides formatting for categories." |
} | } | ||
</templatedata> | </templatedata> |
Latest revision as of 15:39, 21 December 2019
![]() | This category may not be up to date; it may not show all extensions that use this hook. You can view this [<tvar |
The <tvar

Usage
Provides formatting for categories.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Hook name | 1 | no description | String | required |
Extension | extension | Name of the extension that provides this hook (if it's not a core hook). | String | suggested |