Difference between revisions of "Template:Extension/doc"
Jump to navigation
Jump to search
→Content parameters: Trying to be a bit more explicit about how to pass values.
>Putrid76 m ((Manually) undid edits by 119.154.58.3 (talk) to last revision by MaxSem) |
>Dmb (→Content parameters: Trying to be a bit more explicit about how to pass values.) |
||
Line 154: | Line 154: | ||
For multiple hooks, assign the first hook to '''hook1''', the second to '''hook2''' and so on. | For multiple hooks, assign the first hook to '''hook1''', the second to '''hook2''' and so on. | ||
|- | |- | ||
| <span id="username">'''username'''</span> || 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. | | <span id="username">'''username'''</span> || 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. It should be provided without namespace and without <nowiki>[[]]</nowiki>s. | ||
|- | |- | ||
| <span id="author">author</span>|| 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). | | <span id="author">author</span>|| 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). | ||
Line 160: | Line 160: | ||
| <span id="description">'''description'''</span>|| '''short description''' | | <span id="description">'''description'''</span>|| '''short description''' | ||
|- | |- | ||
| <span id="image">image</span>|| screenshot or logo of extension | | <span id="image">image</span>|| screenshot or logo of extension. It should be provided without namespace and without <nowiki>[[]]</nowiki>s. | ||
|- | |- | ||
| <span id="imagesize">imagesize</span>|| ''facultative'', size of the image (default size is 220px) | | <span id="imagesize">imagesize</span>|| ''facultative'', size of the image (default size is 220px) |