[[<tvar|1>Special:MyLanguage/Phabricator|Phabricator]] project: [[phab:tag/{{{phabricator}}}/|#{{{phabricator}}}]]
Difference between revisions of "Template:Extension"
Jump to navigation
Jump to search
Template documentation
Joelmartin (talk | contribs) m (Text replacement - "<tvar|2>" to "") |
Joelmartin (talk | contribs) m (Text replacement - "<tvar|1>" to "") |
||
Line 362: | Line 362: | ||
<tr> | <tr> | ||
<td colspan="2" style="text-align:center;"> | <td colspan="2" style="text-align:center;"> | ||
− | [[ | + | [[translatewiki:Special:Translate/{{{translate|ext-{{lc:{{#invoke:String/enwiki|replace|{{BASEPAGENAME}}| |}}}}}}}|Translate the {{BASEPAGENAME}} extension]] {{<tvar|3>#if:{{{translate|}}}||if it is available at translatewiki.net}}</td> |
</tr><tr> | </tr><tr> | ||
<td colspan="2" style="text-align:center;"><!-- | <td colspan="2" style="text-align:center;"><!-- | ||
Line 378: | Line 378: | ||
|<!-- no usage -->| | |<!-- no usage -->| | ||
<span style="white-space:nowrap"> | <span style="white-space:nowrap"> | ||
− | [[ | + | [[wikiapiary:Extension:{{{CheckUsageNameOverride|{{BASEPAGENAMEE}}}}}|Check usage and version matrix.]] |
</span> | </span> | ||
<!-- | <!-- | ||
Line 434: | Line 434: | ||
− | It will add a useful infobox (see below) and will automatically add the extension to | + | It will add a useful infobox (see below) and will automatically add the extension to {{ll|Category:All extensions}}, along with the appropriate {{ll|Category:Extensions by status|status}} and {{<tvar|3>ll|Category:Extensions by implementation type|implementation type}} categories. |
== Usage == | == Usage == | ||
Line 486: | Line 486: | ||
}}</pre> | }}</pre> | ||
− | For help with parameter values, see [[ | + | For help with parameter values, see [[#Content parameters|below]].</td> |
<td align="right">{{Extension |templatemode=nocats | <td align="right">{{Extension |templatemode=nocats | ||
|name = {{{name}}} | |name = {{{name}}} | ||
Line 536: | Line 536: | ||
− | For help with | + | For help with '''templatemode''' and other control parameters, please see ''[[#Control parameters|Control parameters]]''. |
<!-- BEFORE YOU EDIT THIS: | <!-- BEFORE YOU EDIT THIS: | ||
Line 652: | Line 652: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td><span id="username">'''username'''</span></td><td> 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 | + | <td><span id="username">'''username'''</span></td><td> 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.</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 661: | Line 661: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td><span id="image">image</span></td><td> screenshot or logo of extension. It should be provided without namespace and without | + | <td><span id="image">image</span></td><td> screenshot or logo of extension. It should be provided without namespace and without <nowiki>[[]]</nowiki>s.</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 673: | Line 673: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td><span id="compatibility_policy">compatibility policy</span></td><td> {{ | + | <td><span id="compatibility_policy">compatibility policy</span></td><td> {{ll|Compatibility#mediawiki_extensions|compatibility policy}} (accepted values are '''master''' and <tvar|3>'''rel'''). ({{ll|Category:Extensions without a compatibility policy| backlog}})</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 783: | Line 783: | ||
− | If you want to add the infobox to an existing page, copy and paste the code at the [[ | + | If you want to add the infobox to an existing page, copy and paste the code at the [[#CutAndPaste|top of this page]]. |
=== Create a new extension article === | === Create a new extension article === |
Latest revision as of 18:13, 21 December 2019

![]() | This template employs intricate features of template syntax.
You are encouraged to familiarize yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general sandbox or your user space before changing anything here. |
This template should be added to all extension pages on this wiki (but only the main page).
It will add a useful infobox (see below) and will automatically add the extension to Category:All extensions , along with the appropriate status and {{<tvar|3>ll|Category:Extensions by implementation type|implementation type}} categories.
Usage
Copy and paste: {{Extension |templatemode = |name = |status = |type1 = |type2 = |hook1 = |hook2 = |newhook1 = |newhook2 = |username = |author = |description = |image = |imagesize = |version = |update = |version preview = |update preview = |compatibility policy = |mediawiki = |php = |needs-updatephp = |composer = |table1 = |table2 = |license = |download = |readme = |changelog = |example = |namespace = |parameters = |tags = |rights = |compatibility = |bugzilla = |phabricator = |vagrant-role = }}For help with parameter values, see below. |
|
Content parameters
This section describes parameters that govern infobox content.
For help with templatemode and other control parameters, please see Control parameters.
Parameter | Description |
---|---|
name | name of the extension |
status | current release status
Maintenance: vulnerabilities, archived |