Difference between revisions of "Template:Extension/doc"

Jump to navigation Jump to search
→‎Content parameters: changed order of author/username
>Egfrank~mediawikiwiki
(→‎Usage: changed order of author/username parameters (author is optional so should come 2nd))
>Egfrank~mediawikiwiki
(→‎Content parameters: changed order of author/username)
Line 110: Line 110:


Please see [[Manual:Hooks]] and [[Extension hook registry]] for a list of valid values.  For multiple hooks, assign the first hook to '''hook1''', the second to '''hook2''' and so on.
Please see [[Manual:Hooks]] and [[Extension hook registry]] for a list of valid values.  For multiple hooks, assign the first hook to '''hook1''', the second to '''hook2''' and so on.
|-
| '''username''' || The author's username on MediaWiki.org (if they have one). May be omitted, but if present it will be used to link to the author's user & user_talk page.
|-
|-
| author    || The extension author's name, if different from their MediaWiki.org username. Free text. If omitted then the 'username' field will be used (if present).
| author    || The extension author's name, if different from their MediaWiki.org username. Free text. If omitted then the 'username' field will be used (if present).
|-
| username  || The author's username on MediaWiki.org (if they have one). May be omitted, but if present it will be used to link to the author's user & user_talk page.
|-
|-
| image      || screenshot (of base 270px)
| image      || screenshot (of base 270px)

Navigation menu