Difference between revisions of "Template:Infobox"

From Sinden Lightgun
Jump to navigation Jump to search
Line 1: Line 1:
<noinclude>
<div style="background:{{{accentcolor|#0174DF}}}; color:white; width:146px;padding-left:0.5em; margin-left:0.5em; border:.1em solid {{{accentcolor|#0174DF}}};">[[File:OOjs UI icon info.svg|20px]] '''INFORMATION''' </div>
<languages/>
<div style="background:{{{backgroundcolor|transparent}}}; width:{{{width|auto}}}; border-left:1em solid {{{accentcolor|#0174DF}}}; border:.1em solid {{{accentcolor|#0174DF}}}; box-sizing:border-box; padding-left:0.5em; margin-left:0.5em; text-align:{{{textalignment|left}}}; overflow:hidden;">
</noinclude><!--
{{{text|TEST}}}
--><templatestyles src="Template:Infobox/styles.css" /><!--
</div><noinclude>
--><templatestyles src="Template:Extension/styles.css" /><!--
{{documentation|content=
--><templatestyles src="Template:Extension/status.css" /><!--

--><includeonly>{{#switch:<translate></translate>
<templatedata>
| =
{
{{#ifeq:{{lc:{{{status}}}}}|unmaintained|{{#ifeq:{{NAMESPACE}}|Extension|{{#invoke:Extension|unmaintained}}}}}}
"params": {
{{#if: {{{phabricator|{{{bugzilla|}}}}}} | {{Ptag|{{{phabricator|MediaWiki-extensions-{{{bugzilla|}}}}}}}} }}
"accentcolor": {
<table class="infobox infobox-{{dir|{{pagelang}}}} ext-infobox ext-status-{{#switch: {{lc: {{{status|unknown}}} }}
"label": {
|unmaintained|unstable|experimental|beta|stable={{lc: {{{status}}} }}
"en": "Accent color",
|#default=unknown
"de": "Akzentfarbe"
}}">
},
<caption>'''{{ll|Manual:Extensions|2=<translate><!--T:1--> MediaWiki extensions manual</translate>}}'''</caption>
"description": {
<tr class="infobox-header ext-infobox-header">
"en": "HEX color code",
<th colspan="2">[[File:{{#ifeq: {{lc: {{{status|}}} }} |unstable
"de": "HEX Farbcode"
|OOjs UI icon alert-invert.svg
},
|<!--else-->OOjs UI icon advanced{{#ifeq:{{{status}}}|beta||-invert}}.svg
"example": "#0174DF",
}}|link=Special:MyLanguage/Template:Extension#Content|{{dir|{{pagelang}}|right|left}}|40px]] <span class="ext-infobox-name">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME:{{translatable}}}}}}</span><br />
"type": "string",
{{ll|Extension status|2=<translate><!--T:2--> Release status:</translate>}} {{#switch: {{lc: {{{status|unknown}}} }}
"autovalue": "#0174DF"
|unmaintained=<translate><!--T:3--> unmaintained</translate>
},
|unstable=<translate><!--T:6--> unstable</translate>
"backgroundcolor": {
|experimental=<translate><!--T:7--> experimental</translate>
"label": {
|beta=<translate><!--T:8--> beta</translate>
"en": "Background color",
|stable=<translate><!--T:9--> stable</translate>
"de": "Hintergrund(farbe)"
|#default=<translate><!--T:11--> unknown</translate>
},
}}<!--
"description": {
-->{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->[[Category:{{#switch: {{lc:{{{status|}}} }}
"en": "HEX Code or HTML settings",
|unstable|experimental|unmaintained|stable = {{{status}}} extensions
"de": "HEX Code oder HTML Settings"
|beta = beta status extensions
},
|unknown = extensions with unknown status
"example": "transparent",
|#default = extensions with invalid status
"type": "string",
}}{{#translation:}}]]}}</th>
"autovalue": "transparent"
</tr>
},
{{#if:{{{image|}}}|
"width": {
<tr>
"label": {
<td colspan="2" class="ext-infobox-image">[[File:{{{image}}}|{{{imagesize|300}}}px]]</td>
"en": "Width",
</tr>
"de": "Breite"
|{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->{{#if:{{#translation:}}||[[Category:Extensions without an image]]}}}}
},
}}
"description": {
{{#if:{{{type|}}}{{{type1|}}}|
"en": "Width of the box",
<tr>
"de": "Breite der Box"
<td class="ext-infobox-type">'''{{ll|Template:Extension#type|2=<translate><!--T:12--> Implementation</translate>}}'''</td>
},
<td>{{#invoke:Extension|getTypes
"type": "string",
|ajax = <translate><!--T:94--> [[w:AJAX|Ajax]]</translate>
"autovalue": "auto"
|api = {{ll|API:Action API|2=<translate><!--T:95--> API</translate>}}
},
|beta feature = {{ll|Beta Features|2=<translate><!--T:96--> Beta Feature</translate>}}
"textalignment": {
|contenthandler = {{ll|Manual:ContentHandler|ContentHandler}}
"label": {
|database = {{ll|Manual:Database layout|2=<translate><!--T:97--> Database</translate>}}
"en": "Text-alignment",
|data extraction = <translate><!--T:98--> Data extraction</translate>
"de": "Textausrichtung"
|example = <translate><!--T:99--> Example</translate>
},
|extended syntax = {{ll|Manual:Extending wiki markup|2=<translate><!--T:100--> Extended syntax</translate>}}
"description": {
|filerepo = <translate><!--T:101--> File repository</translate>
"en": "Alginment of the text",
|hook = {{ll|Manual:Hooks|2=<translate><!--T:102--> Hook</translate>}}
"de": "Ausrichtung des Textes"
|interface = <translate><!--T:103--> User interface</translate>
},
|link = {{ll|Manual:Extending wiki markup|2=<translate><!--T:104--> Link markup</translate>}}
"example": "center",
|media = <translate><!--T:105--> Media</translate>
"type": "string",
|mywiki = {{ll|Manual:Personalization|2=<translate><!--T:106--> MyWiki</translate>}}
"autovalue": "left"
|notify = <translate><!--T:107--> Notify</translate>
},
|page action = {{ll|Manual:Parameters to index.php#Actions|2=<translate><!--T:108--> Page action</translate>}}
"text": {
|parser = {{ll|Manual:Extending wiki markup|2=<translate><!--T:109--> Parser extension</translate>}}
"label": {
|parser function = {{ll|Manual:Parser functions|2=<translate><!--T:110--> Parser function</translate>}}
"en": "Text",
|php = <translate><!--T:111--> PHP</translate>
"de": "Text"
|search = <translate><!--T:112--> Search</translate>
},
|skin = {{ll|Manual:Skins|2=<translate><!--T:113--> Skin</translate>}}
"description": {
|special page = {{ll|Manual:Special pages|2=<translate><!--T:114--> Special page</translate>}}
"en": "The text you want to display",
|locale = {{ll|Manual:Localization|2=<translate><!--T:115--> Locale</translate>}}
"de": "Anzuzeigender Text"
|tag = {{ll|Manual:Tag extensions|2=<translate><!--T:116--> Tag</translate>}}
},
|user access = {{ll|Manual:Security|2=<translate><!--T:117--> User access</translate>}}
"type": "string",
|user identity = {{ll|Manual:Security|2=<translate><!--T:118--> User identity</translate>}}
"autovalue": "",
|user rights = {{ll|Manual:Security|2=<translate><!--T:119--> User rights</translate>}}
"required": true,
|user activity = {{ll|Manual:Security|2=<translate><!--T:120--> User activity</translate>}}
"suggested": true
|variable = {{ll|Manual:Variables|2=<translate><!--T:121--> Variable</translate>}}
}
}}<!--
},
-->|<!--else--><!--
"description": {
-->{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!--
"de": "Informations-Infobox",
nothing
"en": "Information-Infobox"
-->|<!--else--><!--
}
-->{{#invoke:Extension|getType|_missing_}}<!--
}
-->}}<!--
</templatedata>
--></td>

</tr>
}}
{{#if:{{{description|}}}|
<tr>
<td>'''{{ll|Template:Extension#description|2=<translate><!--T:13--> Description</translate>}}'''</td>
<td>{{{description}}}</td>
</tr>
}}
{{#if:{{{author|}}}{{{username|}}} |
<tr>
<td>'''{{ll|Template:Extension#username|2=<translate><!--T:14--> Author(s)</translate>}}'''</td>
<td>{{#if: {{{username|}}} |<!--
-->{{#ifeq: {{{username}}}|{{{author|{{{username}}}<!-- -->}}}|<!--
nothing
-->|<!--else--><!--
-->{{{author}}} (<!--
-->}}<!--
-->[[User:{{{username}}}|{{{username}}}]]<!--
--><sup>[[User talk:{{{username}}}|{{int|talkpagelinktext}}]]</sup><!--
-->{{#ifeq: {{{username}}}|{{{author|{{{username}}}<!-- -->}}}|<!--
nothing
-->|<!--else--><!--
-->)<!--
-->}}<!--
-->|<!--else--><!--
-->{{{author}}}<!--
-->}}</td>
</tr>
}}
{{#if:{{{maintainer|}}} |
<tr>
<td>'''{{ll|Template:Extension#maintainer|2=<translate><!--T:46--> Maintainer(s)</translate>}}'''</td>
<td>{{#ifexist:User:{{{maintainer}}}|[[User:{{{maintainer}}}]]<sup>[[User talk:{{{maintainer}}}|{{int|talkpagelinktext}}]]</sup>|{{{maintainer}}}}}</td>
</tr>
}}
{{#if:{{#invoke:extension|getVersion|{{{latest release version|{{{latest_release_version|{{{version|}}}}}}}}}}}|
<tr>
<td>'''{{ll|Template:Extension#version|2=<translate><!--T:15--> Latest version</translate>}}'''</td>
<td>{{#invoke:extension|getVersion|{{{latest release version|{{{latest_release_version|{{{version|}}}}}}}}}}}{{#if:{{{latest release date|{{{latest_release_date|{{{update|}}}}}}}}}|&#160;({{{latest release date|{{{latest_release_date|{{{update}}}}}}}}})}}</td>
</tr>
}}
{{#if:{{{latest preview version|{{{latest_preview_version|{{{version_preview|{{{version preview|}}}}}}}}}}}}|
<tr>
<td>'''{{ll|Template:Extension#version|2=<translate><!--T:16--> Latest preview version</translate>}}'''</td>
<td>{{{latest preview version|{{{latest_preview_version|{{{version_preview|{{{version preview|}}}}}}}}}}}}{{#if:{{{latest preview date|{{{latest_preview_date|{{{update_preview|{{{update preview|}}}}}}}}}}}}|&#160;({{{latest preview date|{{{latest_preview_date|{{{update_preview|{{{update preview}}}}}}}}}}}})}}</td>
</tr>
}}
{{#if:{{{compatibility policy|}}}|
<tr>
<td>'''{{ll|Compatibility#mediawiki_extensions|2=<translate><!--T:43--> Compatibility policy</translate>}}'''</td>
<td>{{#switch:{{{compatibility policy}}}<!--
-->|master=<translate><!--T:250--> Master maintains backward compatibility.</translate>{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->{{#if:{{#translation:}}||[[Category:Extensions with master compatibility policy]]}}}}<!--
-->|rel=<translate><!--T:251--> Snapshots releases along with MediaWiki.</translate> <translate><!--T:252--> Master is not backward compatible.</translate>{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->{{#if:{{#translation:}}||[[Category:Extensions with release branches compatibility policy]]}}}}<!--
-->|ltsrel= <translate><!--T:264--> For every [[<tvar name=1>Special:MyLanguage/Release_notes</tvar>|MediaWiki release]] that is a Long Term Support release there is a corresponding branch in the extension.</translate>{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->{{#if:{{#translation:}}||[[Category:Extensions with long-term support release branches compatibility policy]]}}}}<!--
-->|#default=<span class="error"><translate><!--T:47--> invalid</translate></span>{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->{{#if:{{#translation:}}||[[Category:Extensions without a compatibility policy]]}}}}<!--
-->}}</td>
</tr>
|{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->{{#if:{{#translation:}}||[[Category:Extensions without a compatibility policy]]}}}}
}}
<tr>
<td>{{ll|Template:Extension#mediawiki|'''MediaWiki'''}}</td>
<td>{{#invoke:Extension |getMediaWikiRequirement |{{{mediawiki|}}} }}</td>
</tr>
{{#if:{{#invoke:Extension|getPHPRequirement|{{{php|}}}}}|
<tr>
<td>{{ll|Template:Extension#php|'''PHP'''}}</td>
<td>{{#invoke:Extension|getPHPRequirement|{{{php|}}}}}</td>
</tr>
}}
{{#if:{{{needs-updatephp|{{#invoke:Extension|getNeedsUpdates}}}}}|
<tr>
<td>{{ll|Template:Extension#needs-updatephp|2=<abbr title="<translate nowrap><!--T:17--> <tvar name=com>'php update.php'</tvar> needed after installation</translate>">'''<translate><!--T:18--> Database changes</translate>'''</abbr>}}</td>
<td>{{#switch:{{{needs-updatephp|{{#invoke:Extension|getNeedsUpdates}}}}}|yes|Yes=<translate><!--T:38--> Yes</translate>|no|No=<translate><!--T:39--> No</translate>|{{{needs-updatephp|{{#invoke:Extension|getNeedsUpdates}}}}}}}</td>
</tr>
}}
{{#if:{{#invoke:Extension |getComposerName |{{{composer|}}} }}|
<tr>
<td>{{ll|Composer|2=<abbr title="<translate nowrap><!--T:19--> Supports 'Composer' for installation</translate>">'''Composer'''</abbr>}}</td>
<td>{{#invoke:Extension |getComposerName |{{{composer|}}} }}</td>
</tr>
}}
{{#if:{{{table1|}}}|
<tr>
<td>'''{{ll|Template:Extension#table1|2=<translate><!--T:20--> Tables</translate>}}'''</td>
<td>{{ll|{{translatable}}/{{{table1}}} table|{{{table1}}}}}<!--
-->{{#if:{{{table2|}}}|<br />{{ll|{{translatable}}/{{{table2}}} table|{{{table2}}}}}<!-- -->}}<!--
-->{{#if:{{{table3|}}}|<br />{{ll|{{translatable}}/{{{table3}}} table|{{{table3}}}}}<!-- -->}}<!--
-->{{#if:{{{table4|}}}|<br />{{ll|{{translatable}}/{{{table4}}} table|{{{table4}}}}}<!-- -->}}<!--
-->{{#if:{{{table5|}}}|<br />{{ll|{{translatable}}/{{{table5}}} table|{{{table5}}}}}<!-- -->}}<!--
-->{{#if:{{{table6|}}}|<br />{{ll|{{translatable}}/{{{table6}}} table|{{{table6}}}}}<!-- -->}}<!--
-->{{#if:{{{table7|}}}|<br />{{ll|{{translatable}}/{{{table7}}} table|{{{table7}}}}}<!-- -->}}<!--
-->{{#if:{{{table8|}}}|<br />{{ll|{{translatable}}/{{{table8}}} table|{{{table8}}}}}<!-- -->}}<!--
-->{{#if:{{{table9|}}}|<br />{{ll|{{translatable}}/{{{table9}}} table|{{{table9}}}}}<!-- -->}}<!--
-->{{#if:{{{table10|}}}|<br />{{ll|{{translatable}}/{{{table10}}} table|{{{table10}}}}}<!-- -->}}<!--
-->{{#if:{{{table11|}}}|<br />{{ll|{{translatable}}/{{{table11}}} table|{{{table11}}}}}<!-- -->}}<!--
-->{{#if:{{{table12|}}}|<br />{{ll|{{translatable}}/{{{table12}}} table|{{{table12}}}}}<!-- -->}}<!--
-->{{#if:{{{table13|}}}|<br />{{ll|{{translatable}}/{{{table13}}} table|{{{table13}}}}}<!-- -->}}<!--
-->{{#if:{{{table14|}}}|<br />{{ll|{{translatable}}/{{{table14}}} table|{{{table14}}}}}<!-- -->}}<!--
-->{{#if:{{{table15|}}}|<br />{{ll|{{translatable}}/{{{table15}}} table|{{{table15}}}}}<!-- -->}}<!--
-->{{#if:{{{table16|}}}|<br />{{ll|{{translatable}}/{{{table16}}} table|{{{table16}}}}}<!-- -->}}<!--
-->{{#if:{{{table17|}}}|<br />{{ll|{{translatable}}/{{{table17}}} table|{{{table17}}}}}<!-- -->}}<!--
-->{{#if:{{{table18|}}}|<br />{{ll|{{translatable}}/{{{table18}}} table|{{{table18}}}}}<!-- -->}}<!--
-->{{#if:{{{table19|}}}|<br />{{ll|{{translatable}}/{{{table19}}} table|{{{table19}}}}}<!-- -->}}<!--
-->{{#if:{{{table20|}}}|<br />{{ll|{{translatable}}/{{{table20}}} table|{{{table20}}}}}<!-- -->}}</td>
</tr>
}}
<tr>
<td>'''{{ll|Template:Extension#license|2=<translate><!--T:21--> License</translate>}}'''</td>
<td>{{#invoke:Extension|getFormattedLicense|{{{license|}}}
|GPL-2.0 = <translate><!--T:122--> GNU General Public License 2.0</translate>
|GPL-2.0-only = <translate><!--T:123--> GNU General Public License 2.0 only</translate>
|GPL-2.0-or-later = <translate><!--T:124--> GNU General Public License 2.0 or later</translate>
|GPL-3.0 = <translate><!--T:125--> GNU General Public License 3.0</translate>
|GPL-3.0-only = <translate><!--T:126--> GNU General Public License 3.0 only</translate>
|GPL-3.0-or-later = <translate><!--T:127--> GNU General Public License 3.0 or later</translate>
|AGPL-3.0 = <translate><!--T:128--> GNU Affero General Public License 3.0</translate>
|AGPL-3.0-or-later = <translate><!--T:248--> GNU Affero General Public License 3.0 or later</translate>
|LGPL-2.1 = <translate><!--T:129--> GNU Lesser General Public License 2.1</translate>
|LGPL-2.1-only = <translate><!--T:130--> GNU Lesser General Public License 2.1 only</translate>
|LGPL-2.1-or-later = <translate><!--T:131--> GNU Lesser General Public License 2.1 or later</translate>
|LGPL-3.0 = <translate><!--T:132--> GNU Lesser General Public License 3.0</translate>
|LGPL-3.0-only = <translate><!--T:133--> GNU Lesser General Public License 3.0 only</translate>
|LGPL-3.0-or-later = <translate><!--T:134--> GNU Lesser General Public License 3.0 or later</translate>
|FDL = <translate><!--T:135--> GNU Free Documentation License</translate>
|MIT = <translate><!--T:136--> MIT License</translate>
|ISC = <translate><!--T:137--> ISC License</translate>
|BSD-2-Clause = <translate><!--T:138--> BSD 2-clause "Simplified" License</translate>
|BSD-3-Clause = <translate><!--T:139--> BSD 3-clause "Modified" License</translate>
|BSD-4-Clause = <translate><!--T:140--> BSD 4-clause "Original" License</translate>
|MPL-1.0 = <translate><!--T:141--> Mozilla Public License 1.0</translate>
|MPL-2.0 = <translate><!--T:142--> Mozilla Public License 2.0</translate>
|WTFPL = <translate><!--T:143--> WTFPL 2.0</translate>
|Apache-2.0 = <translate><!--T:144--> Apache License 2.0</translate>
|Zlib = <translate><!--T:145--> zlib License</translate>
|CC0-1.0 = <translate><!--T:146--> Creative Commons Zero v1.0 Universal</translate>
|CC-BY-3.0 = <translate><!--T:147--> Creative Commons Attribution 3.0</translate>
|CC-BY-SA-2.0 = <translate><!--T:148--> Creative Commons Attribution Share Alike 2.0</translate>
|CC-BY-SA-2.5 = <translate><!--T:149--> Creative Commons Attribution Share Alike 2.5</translate>
|CC-BY-NC-SA-2.5 = <translate><!--T:150--> Creative Commons Attribution NonCommercial Share Alike 2.5</translate>
|CC-BY-NC-SA-3.0 = <translate><!--T:151--> Creative Commons Attribution NonCommercial Share Alike 3.0</translate>
|CC-BY-NC-3.0 = <translate><!--T:152--> Creative Commons Attribution NonCommercial 3.0</translate>
|CC-BY-SA-3.0 = <translate><!--T:153--> Creative Commons Attribution Share Alike 3.0</translate>
|CC-BY-SA-4.0 = <translate><!--T:154--> Creative Commons Attribution Share Alike 4.0</translate>
|ECL-2.0 = <translate><!--T:155--> [[w:Educational Community License|Educational Community License 2.0]]</translate>
|PD = <translate><!--T:156--> [[w:Public domain|Public domain]]</translate>
|+ = <translate><!--T:157--> &#32;or later</translate>
|unspecified = <translate><!--T:22--> No license specified</translate>
}}</td>
</tr><tr>
{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- no category -->|{{#invoke:Extension|getLicenseCategory|{{{license|}}}}}}}
<td>'''<translate><!--T:23--> Download</translate>'''</td>
<td><!--
-->{{#if:{{{download|}}}|{{{download}}}|{{#if:{{{repo|}}}|{{WikimediaDownload|{{{repo}}}}}|''<translate><!--T:24--> No link</translate>''}}}}<!--
-->{{#if:{{{readme|}}}|<br />{{{readme}}}<!-- -->}}<!--
-->{{#if:{{{changelog|}}}|<br />{{{changelog}}}<!-- -->}}</td>
</tr>
{{#if: {{{help|}}}{{#ifexist:Help:{{FULLPAGENAME}}|yes}} |
<tr>
<td>'''{{ll|Template:Extension#help|2=<translate><!--T:260--> Help</translate>}}'''</td>
<td>{{#if: {{{help|}}} | {{{help}}} | {{localized link|Help:{{FULLPAGENAME}}}} }}</td>
</tr>
}}
{{#if:{{{example|}}}|
<tr>
<td>'''{{ll|Template:Extension#example|2=<translate><!--T:25--> Example</translate>}}'''</td>
<td>{{{example}}}</td>
</tr>
}}
{{#if:{{{namespace|}}}|
<tr>
<td class="mw-collapsible mw-collapsed" colspan="2">
<div class="mw-collapsible-header">'''{{ll|Template:Extension#namespace|2=<translate><!--T:26--> Namespace</translate>}}'''</div>
<div class="mw-collapsible-content"><!-- the parameter "namespace" should begin on its own line so that bullet lists are correctly recognised by MediaWiki -->
{{{namespace|}}}</div></td>
</tr>
}}
{{#if:{{#if:{{{parameters|}}}|y|{{#invoke:Extension|getParameters}}}}|
<tr>
<td class="mw-collapsible mw-collapsed" colspan="2">
<div class="mw-collapsible-header">{{ll|Template:Extension#parameters|2=<translate><!--T:27--> Parameters</translate>}}</div>
<div class="mw-collapsible-content"><!-- the parameter "parameters" should begin on its own line so that bullet lists are correctly recognised by MediaWiki -->
{{#if:{{{parameters|}}}|{{{parameters}}}|{{#invoke:Extension|getParameters}}}}</div></td>
</tr>
}}
{{#if:{{{tags|}}}|
<tr>
<td class="mw-collapsible mw-collapsed" colspan="2">
<div class="mw-collapsible-header">{{ll|Template:Extension#tags|2=<translate><!--T:28--> Tags</translate>}}</div>
<div class="mw-collapsible-content">{{{tags}}}</div></td>
</tr>
}}
{{#if:{{#if:{{{rights|}}}|y|{{#invoke:Extension|getRights}}}}|
<tr>
<td class="mw-collapsible mw-collapsed" colspan="2">
<div class="mw-collapsible-header">{{ll|Template:Extension#rights|2=<translate><!--T:29--> Added rights</translate>}}</div>
<div class="mw-collapsible-content"><!-- the parameter "rights" should begin on its own line so that bullet lists are correctly recognised by MediaWiki -->
{{#if:{{{rights|}}}|{{{rights}}}|{{#invoke:Extension|getRights}}}}
{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->{{#if:{{{rights|}}}|[[Category:Extensions which add rights{{#translation:}}]]|}} }}</div></td>
</tr>
}}
{{#if:{{{service1|}}}|
<tr>
<td class="mw-collapsible mw-collapsed" colspan="2">
<div class="mw-collapsible-header">{{ll|Template:Extension#service|Services defined}}</div>
<div class="mw-collapsible-content">
<div>{{{service1|}}}[[Category:Extensions defining a service|{{PAGENAME}}]]</div>
{{#if:{{{service2|}}}|<div>{{{service2|}}}</div>}}
</div></td>
</tr>
}}
{{#invoke:Extension|getHooks|header=
<tr>
<td class="mw-collapsible mw-collapsed" colspan="2">
<div class="mw-collapsible-header">{{ll|Template:Extension#hook|2=<translate><!--T:30--> Hooks used</translate>}}</div>
{{plainlist|class=mw-collapsible-content}}<ul><li>|delim=</li><li>|footer=</li></ul>{{endplainlist}}
</td>
</tr>
}}
{{#if:{{{newhook1|}}}|
<tr>
<td class="mw-collapsible mw-collapsed" colspan="2">
<div class="mw-collapsible-header">{{ll|Template:Extension#newhook|2=<translate><!--T:31--> Hooks provided</translate>}}</div>
{{plainlist|class=mw-collapsible-content}}<ul><li><!--
-->{{Foreach|Extension/HookProvided|delim=</li><li>|<!--
-->{{{newhook1}}}|{{{newhook2|}}}|{{{newhook3|}}}|{{{newhook4|}}}|{{{newhook5|}}}|{{{newhook6|}}}|<!--
-->{{{newhook7|}}}|{{{newhook8|}}}|{{{newhook9|}}}|{{{newhook10|}}}|{{{newhook11|}}}|{{{newhook12|}}}|<!--
-->{{{newhook13|}}}|{{{newhook14|}}}|{{{newhook15|}}}|{{{newhook16|}}}|{{{newhook17|}}}|{{{newhook18|}}}|<!--
-->{{{newhook19|}}}|{{{newhook20|}}}|{{{newhook21|}}}|{{{newhook22|}}}|{{{newhook23|}}}|{{{newhook24|}}}|<!--
-->{{{newhook25|}}}|{{{newhook26|}}}|{{{newhook27|}}}|{{{newhook28|}}}|{{{newhook29|}}}|{{{newhook30|}}}|<!--
-->{{{newhook31|}}}|{{{newhook32|}}}|{{{newhook33|}}}|{{{newhook34|}}}|{{{newhook35|}}}|{{{newhook36|}}}|<!--
-->{{{newhook37|}}}|{{{newhook38|}}}|{{{newhook39|}}}|{{{newhook40|}}}|{{{newhook41|}}}|{{{newhook42|}}}|<!--
-->{{{newhook43|}}}|{{{newhook44|}}}|{{{newhook45|}}}|{{{newhook46|}}}|{{{newhook47|}}}|{{{newhook48|}}}|<!--
-->{{{newhook49|}}}|{{{newhook50|}}}|{{{newhook51|}}}|{{{newhook52|}}}|{{{newhook53|}}}|{{{newhook54|}}}|<!--
-->{{{newhook55|}}}|{{{newhook56|}}}|{{{newhook57|}}}|{{{newhook58|}}}|{{{newhook59|}}}|{{{newhook60|}}}|<!--
-->{{{newhook61|}}}|{{{newhook62|}}}|{{{newhook63|}}}|{{{newhook64|}}}|{{{newhook65|}}}|{{{newhook66|}}}|<!--
-->{{{newhook67|}}}|{{{newhook68|}}}|{{{newhook69|}}}|{{{newhook70|}}}|{{{newhook71|}}}|{{{newhook72|}}}|<!--
-->{{{newhook73|}}}|{{{newhook74|}}}|{{{newhook75|}}}|{{{newhook76|}}}|{{{newhook77|}}}|{{{newhook78|}}}|<!--
-->{{{newhook79|}}}|{{{newhook80|}}}|{{{newhook81|}}}|{{{newhook82|}}}|{{{newhook83|}}}|{{{newhook84|}}}|<!--
-->{{{newhook85|}}}|{{{newhook86|}}}|{{{newhook87|}}}|{{{newhook88|}}}|{{{newhook89|}}}|{{{newhook90|}}}<!--
-->}}<!--
--></li></ul>{{endplainlist}}
</td>
</tr>
}}
{{#if:{{{compatibility|}}}|
<tr>
<td colspan="2"><!-- the parameter "compatibility" should begin on its own line so that bullet lists are correctly recognised by MediaWiki -->
{{{compatibility}}}</td>
</tr>
}}
{{#if:{{{notranslate|{{#if:{{#invoke:Extension|isOnGerrit}}{{{translate|}}}||n}}}}}||
<tr>
<td colspan="2" class="ext-infobox-translate">
{{#if:{{{translate|}}}
|<translate><!--T:255--> [[<tvar name=1>translatewiki:Special:Translate/{{{translate}}}</tvar>|Translate the <tvar name=2>{{PAGENAME:{{translatable}}}}</tvar> extension]]</translate>
|<translate><!--T:32--> [[<tvar name=1>translatewiki:Special:Translate/ext-{{lc:{{#invoke:String|replace|{{PAGENAME:{{translatable}}}}| |}}}}</tvar>|Translate the <tvar name=2>{{PAGENAME:{{translatable}}}}</tvar> extension]] if it is available at translatewiki.net</translate>
}}</td>
</tr>}}<!--
Note: this next check suppresses the 'Check usage' link if page is: a subpage, not in Extension: namespace, or if suppressed by 'templatemode=nocats' or 'nousage=true'.
-->{{#if:{{{nousage|{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats
|no usage
|{{#ifeq:{{NAMESPACE}}|{{ns:102}}
|
|no usage
}}
{{#ifeq:{{{templatemode|}}}|nousage
|no usage
}}
}}}}}
|<!-- no usage -->|
<tr>
</tr>
}}
{{#if:{{{vagrant-role|}}}|
<tr>
<td>'''{{ll|MediaWiki-Vagrant#Using roles|2=<translate><!--T:34--> Vagrant role</translate>}}'''</td>
<td>[https://doc.wikimedia.org/mediawiki-vagrant/puppet_classes/role_3A_3A{{{vagrant-role}}}.html {{{vagrant-role}}}]</td>
</tr>
}}
{{#if: {{{phabricator|{{{bugzilla|}}}}}} |
<tr>
<td>
'''{{ll|Phabricator|2=<translate><!--T:35--> Issues</translate>}}'''</td>
<td>[[phab:tag/{{lc:{{{phabricator|MediaWiki-extensions-{{{bugzilla}}}}}}}}|<translate><!--T:36--> Open tasks</translate>]] · [https://phabricator.wikimedia.org/maniphest/task/create/?projects={{{phabricator|MediaWiki-extensions-{{{bugzilla}}}}}} <translate><!--T:37--> Report a bug</translate>]</td>
</tr>
}}
{{#if: {{{github|}}} |
<tr>
<td>
'''{{ll|Gerrit/GitHub|2=<translate><!--T:40--> Issues</translate>}}'''</td>
<td>[https://www.github.com/{{{github}}}/issues <translate><!--T:41--> Open issues</translate>] · [https://www.github.com/{{{github}}}/issues/new <translate><!--T:42--> Report a bug</translate>]</td>
</tr>
}}
}}
</noinclude>

Revision as of 12:49, 8 December 2022

<languages/> <templatestyles src="Template:Infobox/styles.css" /><templatestyles src="Template:Extension/styles.css" /><templatestyles src="Template:Extension/status.css" />