Difference between revisions of "Template:Extension"

From WPRDC Wiki
Jump to navigation Jump to search
>Shirayuki
(Marked this version for translation)
>Shirayuki
(to check translation pages)
Line 1: Line 1:
<noinclude>
<noinclude>
<languages/>
<languages/>
</noinclude><includeonly>{{#if: {{{phabricator|}}} | {{ {{TNTN|Ptag}} |{{{phabricator}}}}} }}
</noinclude>{{#if: {{{phabricator|}}} | {{ {{TNTN|Ptag}} |{{{phabricator}}}}} }}
{| class="tpl-infobox ext-infobox ext-status-{{#switch: {{lc: {{{status|unknown}}} }}
{| class="tpl-infobox ext-infobox ext-status-{{#switch: {{lc: {{{status|unknown}}} }}
|unmaintained|archive|milestone|unstable|experimental|beta|stable|magic={{{status}}}
|unmaintained|archive|milestone|unstable|experimental|beta|stable|magic={{{status}}}
Line 30: Line 30:
   |#default=<translate><!--T:11-->
   |#default=<translate><!--T:11-->
unknown</translate>
unknown</translate>
}}<!-- Category logic -->{{#if:{{{license|}}}|{{#ifeq:{{{templatemode|}}}|nocats|<!-- do nothing -->|<!--else-->{{#invoke:Extension|getLicenseCategory|{{{license}}}}}}}}}<!--
}}<!-- Category logic -->{{#if:{{{license|}}}|{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->{{#invoke:Extension|getLicenseCategory|{{{license}}}}}}}}}<!--
-->{{#ifeq:{{{templatemode|}}}|nocats|<!-- do nothing -->|<!--else-->[[Category:{{#switch: {{lc:{{{status|}}} }}
-->{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->[[Category:{{#switch: {{lc:{{{status|}}} }}
|unstable|experimental|stable = {{{status}}} extensions
|unstable|experimental|stable = {{{status}}} extensions
|beta = beta status extensions
|beta = beta status extensions
Line 44: Line 44:
{{!}} colspan="2" style="text-align: center;" {{!}} [[File:{{{image}}}|{{{imagesize|220}}}px]]
{{!}} colspan="2" style="text-align: center;" {{!}} [[File:{{{image}}}|{{{imagesize|220}}}px]]
{{!}}-
{{!}}-
|{{#ifeq:{{{templatemode|}}}|nocats|<!-- do nothing -->|<!--else-->{{#if:{{#translation:}}||[[Category:MediaWiki extensions without a screenshot]]}}}}}}
|{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->{{#if:{{#translation:}}||[[Category:MediaWiki extensions without a screenshot]]}}}}}}
{{#if:{{{type|}}}{{{type1|}}}|
{{#if:{{{type|}}}{{{type1|}}}|
{{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#type|'''<translate><!--T:12-->
{{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#type|'''<translate><!--T:12-->
Line 50: Line 50:
{{!}} {{#invoke:Extension|getTypes}}<!--
{{!}} {{#invoke:Extension|getTypes}}<!--
-->|<!--else--><!--
-->|<!--else--><!--
   -->{{#ifeq:{{{templatemode|}}}|nocats|<!--
   -->{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!--
       nothing
       nothing
   -->|<!--else--><!--
   -->|<!--else--><!--
Line 120: Line 120:
{{!}} style="vertical-align: top" {{!}} {{ll|Composer|2=<abbr title="<translate><!--T:19-->
{{!}} style="vertical-align: top" {{!}} {{ll|Composer|2=<abbr title="<translate><!--T:19-->
Supports 'Composer' for installation</translate>">'''Composer'''</abbr>}}
Supports 'Composer' for installation</translate>">'''Composer'''</abbr>}}
{{!}} [https://packagist.org/packages/{{{composer}}} {{{composer}}}] {{#ifeq:{{{templatemode|}}}|nocats|<!-- do nothing -->|<!--else-->{{#if:{{{composer|}}}|[[Category:Extensions supporting Composer{{translation}}]]|}} }}
{{!}} [https://packagist.org/packages/{{{composer}}} {{{composer}}}] {{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->{{#if:{{{composer|}}}|[[Category:Extensions supporting Composer{{translation}}]]|}} }}
}}
}}
{{!}}-
{{!}}-
Line 142: Line 142:
License</translate>'''}}
License</translate>'''}}
| {{#if:{{{license|}}}|{{#invoke:Extension|getFormattedLicense|{{{license}}}}}|<translate><!--T:22-->
| {{#if:{{{license|}}}|{{#invoke:Extension|getFormattedLicense|{{{license}}}}}|<translate><!--T:22-->
No license specified</translate> {{#ifeq:{{{templatemode|}}}|nocats|<!-- do nothing -->|<!--else-->[[Category:Extensions with no license specified{{translation}}]]}}}}
No license specified</translate> {{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->[[Category:Extensions with no license specified{{translation}}]]}}}}
|-
|-
| style="vertical-align: top" | '''<translate><!--T:23-->
| style="vertical-align: top" | '''<translate><!--T:23-->
Line 197: Line 197:
{{!}}
{{!}}
{{{rights}}}
{{{rights}}}
{{#ifeq:{{{templatemode|}}}|nocats|<!-- do nothing -->|<!--else-->{{#if:{{{rights|}}}|[[Category:Extensions which add rights{{translation}}]]|}} }}
{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->{{#if:{{{rights|}}}|[[Category:Extensions which add rights{{translation}}]]|}} }}
{{!}}}
{{!}}}
{{!}}-
{{!}}-
Line 209: Line 209:
{{!}}-
{{!}}-
{{!}}<!--
{{!}}<!--
       -->{{#ifeq:{{{templatemode|}}}|nocats|<!--
       -->{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!--
         -->{{Foreach|Extension/HookInUseNoCats|delim=<br/>|<!--
         -->{{Foreach|Extension/HookInUseNoCats|delim=<br/>|<!--
             -->{{{hook1}}}|{{{hook2|}}}|{{{hook3|}}}|{{{hook4|}}}|{{{hook5|}}}|{{{hook6|}}}|<!--
             -->{{{hook1}}}|{{{hook2|}}}|{{{hook3|}}}|{{{hook4|}}}|{{{hook5|}}}|{{{hook6|}}}|<!--
Line 269: Line 269:
{{!}} colspan="2" style="text-align:center;" {{!}}<!--
{{!}} colspan="2" style="text-align:center;" {{!}}<!--
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'.
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|}}}|nocats
-->{{#if:{{{nousage|{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats
                       |no usage
                       |no usage
                       |{{#ifeq:{{NAMESPACE}}|{{ns:102}}
                       |{{#ifeq:{{NAMESPACE}}|{{ns:102}}
Line 302: Line 302:
}}
}}
|}<!--
|}<!--
-->{{#ifeq:{{{templatemode|}}}|nocats|<!--
-->{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!--
   nothing--><!--
   nothing--><!--
-->|<!--else--><!--
-->|<!--else--><!--
Line 311: Line 311:
   -->}}<!-- -->}}<!--
   -->}}<!-- -->}}<!--
   -->[[Category:All extensions{{translation}}]]<!--
   -->[[Category:All extensions{{translation}}]]<!--
-->}}</includeonly><noinclude>{{ {{TNTN|Documentation}} }}
-->}}<noinclude>{{ {{TNTN|Documentation}} }}
[[Category:Info templates{{translation}}|{{PAGENAME}}]]
[[Category:Info templates{{translation}}|{{PAGENAME}}]]
[[Category:Extension creation{{translation}}]]
[[Category:Extension creation{{translation}}]]

Revision as of 08:27, 21 August 2016

<languages/>

<translate> MediaWiki extensions manual</translate>
Crystal Clear action run.png
Extension

<translate> Release status:</translate> <translate> unknown</translate>

<translate>

License</translate>

<translate>

No license specified</translate>

<translate>

Download</translate>

<translate>

No link</translate>

<translate> [[<tvar|1>translatewiki:Special:Translate/ext-script error: no such module "string/enwiki".</>|Translate the <tvar|2>Extension</> extension]] if it is available at translatewiki.net</translate>

Lua error in Module:TNT at line 158: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.

[[Category:Info templatesTemplate:Translation|Extension]] [[Category:Extension creationTemplate:Translation]] [[Category:Categorizing templatesTemplate:Translation|Extension]] [[Category:Extension templatesTemplate:Translation]]