Difference between revisions of "Template:HookUsage"

From RobotX
Jump to navigation Jump to search
m (Text replacement - "<!--T:(.*)-->" to "")
m (Text replacement - "</>" to "")
 
Line 3: Line 3:
 
</noinclude>{{#switch:
 
</noinclude>{{#switch:
 
| =
 
| =
{{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.}}
+
{{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.<!--
+
  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:}}]]

Latest revision as of 15:39, 21 December 2019


The <tvar
Template documentation

Usage

Provides formatting for categories.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Hook name1

no description

Stringrequired
Extensionextension

Name of the extension that provides this hook (if it's not a core hook).

Stringsuggested