Difference between revisions of "Template:Extension"

Jump to navigation Jump to search
24 bytes added ,  05:20, 13 September 2020
translation tweaks
>Shirayuki
(translation tweaks)
>Shirayuki
(translation tweaks)
Line 36: Line 36:
{{#if:{{{type|}}}{{{type1|}}}|
{{#if:{{{type|}}}{{{type1|}}}|
<tr>
<tr>
<td>{{ll|Template:Extension#type|'''<translate><!--T:12--> Implementation</translate>'''}}</td>
<td>'''{{ll|Template:Extension#type|2=<translate><!--T:12--> Implementation</translate>}}'''</td>
<td>{{#invoke:Extension|getTypes
<td>{{#invoke:Extension|getTypes
  |ajax            = <translate><!--T:94--> [[w:AJAX|Ajax]]</translate>
  |ajax            = <translate><!--T:94--> [[w:AJAX|Ajax]]</translate>
Line 79: Line 79:
{{#if:{{{description|}}}|
{{#if:{{{description|}}}|
<tr>
<tr>
<td>{{ll|Template:Extension#description|'''<translate><!--T:13--> Description</translate>'''}}</td>
<td>'''{{ll|Template:Extension#description|2=<translate><!--T:13--> Description</translate>}}'''</td>
<td>{{{description}}}</td>
<td>{{{description}}}</td>
</tr>
</tr>
Line 85: Line 85:
{{#if:{{{author|}}}{{{username|}}} |
{{#if:{{{author|}}}{{{username|}}} |
<tr>
<tr>
<td>{{ll|Template:Extension#username|'''<translate><!--T:14--> Author(s)</translate>'''}}</td>
<td>'''{{ll|Template:Extension#username|2=<translate><!--T:14--> Author(s)</translate>}}'''</td>
<td>{{#if: {{{username|}}} |<!--
<td>{{#if: {{{username|}}} |<!--
       -->{{#ifeq: {{{username}}}|{{{author|{{{username}}}<!-- -->}}}|<!--
       -->{{#ifeq: {{{username}}}|{{{author|{{{username}}}<!-- -->}}}|<!--
Line 106: Line 106:
{{#if:{{{maintainer|}}} |
{{#if:{{{maintainer|}}} |
<tr>
<tr>
<td>{{ll|Template:Extension#maintainer|'''<translate><!--T:46--> Maintainer(s)</translate>'''}}</td>
<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>
<td>{{#ifexist:User:{{{maintainer}}}|[[User:{{{maintainer}}}]]<sup>[[User talk:{{{maintainer}}}|{{int:talkpagelinktext}}]]</sup>|{{{maintainer}}}}}</td>
</tr>
</tr>
Line 112: Line 112:
{{#if:{{#invoke:extension|getVersion|{{{latest release version|{{{latest_release_version|{{{version|}}}}}}}}}}}|
{{#if:{{#invoke:extension|getVersion|{{{latest release version|{{{latest_release_version|{{{version|}}}}}}}}}}}|
<tr>
<tr>
<td>{{ll|Template:Extension#version|'''<translate><!--T:15--> Latest version</translate>'''}}</td>
<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>
<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>
</tr>
Line 118: Line 118:
{{#if:{{{latest preview version|{{{latest_preview_version|{{{version_preview|{{{version preview|}}}}}}}}}}}}|
{{#if:{{{latest preview version|{{{latest_preview_version|{{{version_preview|{{{version preview|}}}}}}}}}}}}|
<tr>
<tr>
<td>{{ll|Template:Extension#version|'''<translate><!--T:16--> Latest preview version</translate>'''}}</td>
<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>
<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>
</tr>
Line 124: Line 124:
{{#if:{{{compatibility policy|}}}|
{{#if:{{{compatibility policy|}}}|
<tr>
<tr>
<td>{{ll|Compatibility#mediawiki_extensions|'''<translate><!--T:43--> Compatibility policy</translate>'''}}</td>
<td>'''{{ll|Compatibility#mediawiki_extensions|2=<translate><!--T:43--> Compatibility policy</translate>}}'''</td>
<td>{{#switch:{{{compatibility policy}}}<!--
<td>{{#switch:{{{compatibility policy}}}<!--
       -->|master=<translate><!--T:44--> master</translate><!--
       -->|master=<translate><!--T:44--> master</translate><!--
Line 160: Line 160:
{{#if:{{{table1|}}}|
{{#if:{{{table1|}}}|
<tr>
<tr>
<td>{{ll|Template:Extension#table1|'''<translate><!--T:20--> Tables</translate>'''}}</td>
<td>'''{{ll|Template:Extension#table1|2=<translate><!--T:20--> Tables</translate>}}'''</td>
<td>{{ll|{{translatable}}/{{{table1}}} table|{{{table1}}}}}<!--
<td>{{ll|{{translatable}}/{{{table1}}} table|{{{table1}}}}}<!--
-->{{#if:{{{table2|}}}|<br />{{ll|{{translatable}}/{{{table2}}} table|{{{table2}}}}}<!-- -->}}<!--
-->{{#if:{{{table2|}}}|<br />{{ll|{{translatable}}/{{{table2}}} table|{{{table2}}}}}<!-- -->}}<!--
Line 184: Line 184:
}}
}}
<tr>
<tr>
<td>{{ll|Template:Extension#license|'''<translate><!--T:21--> License</translate>'''}}</td>
<td>'''{{ll|Template:Extension#license|2=<translate><!--T:21--> License</translate>}}'''</td>
<td>{{#invoke:Extension|getFormattedLicense|{{{license|}}}
<td>{{#invoke:Extension|getFormattedLicense|{{{license|}}}
  |GPL-2.0          = <translate><!--T:122--> GNU General Public License 2.0</translate>
  |GPL-2.0          = <translate><!--T:122--> GNU General Public License 2.0</translate>
Line 235: Line 235:
{{#if:{{{example|}}}|
{{#if:{{{example|}}}|
<tr>
<tr>
<td>{{ll|Template:Extension#example|'''<translate><!--T:25--> Example</translate>'''}}</td>
<td>'''{{ll|Template:Extension#example|2=<translate><!--T:25--> Example</translate>}}'''</td>
<td>{{{example}}}</td>
<td>{{{example}}}</td>
</tr>
</tr>
Line 242: Line 242:
<tr>
<tr>
<td class="mw-collapsible mw-collapsed" colspan="2">
<td class="mw-collapsible mw-collapsed" colspan="2">
<div class="mw-collapsible-header">{{ll|Template:Extension#namespace|'''<translate><!--T:26--> Namespace</translate>'''}}</div>
<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 -->
<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>
{{{namespace|}}}</div></td>
Line 345: Line 345:
{{#if:{{{vagrant-role|}}} |
{{#if:{{{vagrant-role|}}} |
<tr>
<tr>
<td>{{ll|MediaWiki-Vagrant#Using roles|'''<translate><!--T:34--> Vagrant role</translate>'''}}</td>
<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>
<td>[https://doc.wikimedia.org/mediawiki-vagrant/puppet_classes/role_3A_3A{{{vagrant-role}}}.html {{{vagrant-role}}}]</td>
</tr>
</tr>
Anonymous user

Navigation menu