Difference between revisions of "Template:Extension"

From WPRDC Wiki
Jump to navigation Jump to search
>Bawolff
(initial test, load needs-updatephp from extension.json (only if unspecified in infobox, and only if answer is yes))
>Shirayuki
(migrate)
Line 155: Line 155:
{{!}} style="padding: 0pt;" colspan="2" {{!}}<!--
{{!}} style="padding: 0pt;" colspan="2" {{!}}<!--
   -->
   -->
{{{!}} class="mw-collapsible mw-collapsed" style="border-collapse: collapse; width: 100%;"
<table class="mw-collapsible mw-collapsed" style="border-collapse: collapse; width: 100%;">
{{!}}-
<tr>
! style="vertical-align:top; text-align:{{dir|{{pagelang}}|right|left}}; padding:0.2em 0.5em" {{!}} {{ll|Template:Extension#parameters|'''<translate><!--T:27--> Parameters</translate>'''}}
<th style="vertical-align:top; text-align:{{dir|{{pagelang}}|right|left}}; padding:0.2em 0.5em">{{ll|Template:Extension#parameters|'''<translate><!--T:27--> Parameters</translate>'''}}</th>
{{!}}-
</tr><tr>
{{!}}
<td>{{{parameters}}}</td>
{{{parameters}}}
</tr>
{{!}}}
</table>
{{!}}-
{{!}}-
}}
}}
{{#if:{{{tags|}}}|
{{#if:{{{tags|}}}|
{{!}} style="padding: 0pt;" colspan="2" {{!}}
{{!}} style="padding: 0pt;" colspan="2" {{!}}
{{{!}} class="mw-collapsible mw-collapsed" style="border-collapse: collapse; width: 100%;"
<table class="mw-collapsible mw-collapsed" style="border-collapse: collapse; width: 100%;">
{{!}}-
<tr>
! style="vertical-align:top; text-align:{{dir|{{pagelang}}|right|left}}; padding:0.2em 0.5em" {{!}} {{ll|Template:Extension#tags|'''<translate><!--T:28--> Tags</translate>'''}}
<th style="vertical-align:top; text-align:{{dir|{{pagelang}}|right|left}}; padding:0.2em 0.5em">{{ll|Template:Extension#tags|'''<translate><!--T:28--> Tags</translate>'''}}</th>
{{!}}-
</tr><tr>
{{!}} {{{tags}}}
<td>{{{tags}}}</td>
{{!}}}
</tr>
</table>
{{!}}-
{{!}}-
}}
}}
{{#if:{{{rights|}}}|
{{#if:{{{rights|}}}|
{{!}} style="padding: 0pt;" colspan="2" {{!}}
{{!}} style="padding: 0pt;" colspan="2" {{!}}
{{{!}} class="mw-collapsible mw-collapsed" style="border-collapse: collapse; width: 100%;"
<table class="mw-collapsible mw-collapsed" style="border-collapse: collapse; width: 100%;">
{{!}}-
<tr>
! style="vertical-align:top; text-align:{{dir|{{pagelang}}|right|left}}; padding:0.2em 0.5em" {{!}} {{ll|Template:Extension#rights|'''<translate><!--T:29--> Added rights</translate>'''}}
<th style="vertical-align:top; text-align:{{dir|{{pagelang}}|right|left}}; padding:0.2em 0.5em">{{ll|Template:Extension#rights|'''<translate><!--T:29--> Added rights</translate>'''}}</th>
{{!}}-
</tr><tr>
{{!}}
<td>{{{rights}}}
{{{rights}}}
{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->{{#if:{{{rights|}}}|[[Category:Extensions which add rights{{#translation:}}]]|}} }}</td>
{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->{{#if:{{{rights|}}}|[[Category:Extensions which add rights{{#translation:}}]]|}} }}
</tr>
{{!}}}
</table>
{{!}}-
{{!}}-
}}
}}
{{#if:{{{service1|}}}|
{{#if:{{{service1|}}}|
{{!}} style="padding: 0pt;" colspan="2" {{!}}
{{!}} style="padding: 0pt;" colspan="2" {{!}}
{{{!}} class="mw-collapsible mw-collapsed" style="border-collapse: collapse; width: 100%;"
<table class="mw-collapsible mw-collapsed" style="border-collapse: collapse; width: 100%;">
{{!}}-
<tr>
! style="vertical-align:top; text-align:{{dir|{{pagelang}}|right|left}}; padding:0.2em 0.5em" {{!}} {{ll|Template:Extension#service|'''Services defined'''}}
<th style="vertical-align:top; text-align:{{dir|{{pagelang}}|right|left}}; padding:0.2em 0.5em">{{ll|Template:Extension#service|'''Services defined'''}}</th>
{{!}}-
</tr><tr>
{{!}}{{{service1|}}}[[Category:Extensions defining a service|{{PAGENAME}}]]
<td>{{{service1|}}}[[Category:Extensions defining a service|{{PAGENAME}}]]</td>
</tr>
{{#if:{{{service2|}}}|
{{#if:{{{service2|}}}|
{{!}}-
<tr>
{{!}}{{{service2|}}}
<td>{{{service2|}}}</td>
</tr>
}}
}}
{{!}}}
</table>
{{!}}-
{{!}}-
}}
}}
{{#if:{{{hook1|}}}|
{{#if:{{{hook1|}}}|
{{!}} style="padding: 0pt;" colspan="2" {{!}}
{{!}} style="padding: 0pt;" colspan="2" {{!}}
{{{!}} class="mw-collapsible mw-collapsed" style="border-collapse: collapse; width: 100%;"
<table class="mw-collapsible mw-collapsed" style="border-collapse: collapse; width: 100%;">
{{!}}-
<tr>
! style="vertical-align:top; text-align:{{dir|{{pagelang}}|right|left}}; padding:0.2em 0.5em" {{!}} {{ll|Template:Extension#hook|'''<translate><!--T:30--> Hooks used</translate>'''}}
<th style="vertical-align:top; text-align:{{dir|{{pagelang}}|right|left}}; padding:0.2em 0.5em">{{ll|Template:Extension#hook|'''<translate><!--T:30--> Hooks used</translate>'''}}</th>
{{!}}-
</tr><tr>
{{!}}<!--
<td><!--
       -->{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!--
       -->{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!--
         -->{{Foreach|Extension/HookInUseNoCats|delim=<br/>|<!--
         -->{{Foreach|Extension/HookInUseNoCats|delim=<br/>|<!--
Line 230: Line 233:
         -->}}<!--
         -->}}<!--
       -->}}<!--
       -->}}<!--
   -->
   --></td>
{{!}}}
</tr>
</table>
{{!}}-
{{!}}-
}}
}}
{{#if:{{{newhook1|}}}|
{{#if:{{{newhook1|}}}|
{{!}} style="padding: 0pt;" colspan="2" {{!}}
{{!}} style="padding: 0pt;" colspan="2" {{!}}
{{{!}} class="mw-collapsible mw-collapsed" style="border-collapse: collapse; width: 100%;"
<table class="mw-collapsible mw-collapsed" style="border-collapse: collapse; width: 100%;">
{{!}}-
<tr>
! style="vertical-align:top; text-align:{{dir|{{pagelang}}|right|left}}; padding:0.2em 0.5em" {{!}} {{ll|Template:Extension#newhook|'''<translate><!--T:31--> Hooks provided</translate>'''}}
<th style="vertical-align:top; text-align:{{dir|{{pagelang}}|right|left}}; padding:0.2em 0.5em">{{ll|Template:Extension#newhook|'''<translate><!--T:31--> Hooks provided</translate>'''}}</th>
{{!}}-
</tr><tr>
{{!}}<!--
<td><!--
       -->{{Foreach|Extension/HookProvided|delim=<br/>|<!--
       -->{{Foreach|Extension/HookProvided|delim=<br/>|<!--
         -->{{{newhook1}}}|{{{newhook2|}}}|{{{newhook3|}}}|{{{newhook4|}}}|{{{newhook5|}}}|{{{newhook6|}}}|<!--
         -->{{{newhook1}}}|{{{newhook2|}}}|{{{newhook3|}}}|{{{newhook4|}}}|{{{newhook5|}}}|{{{newhook6|}}}|<!--
Line 251: Line 255:
         -->{{{newhook43|}}}|{{{newhook44|}}}|{{{newhook45|}}}|{{{newhook46|}}}|{{{newhook47|}}}|{{{newhook48|}}}<!--
         -->{{{newhook43|}}}|{{{newhook44|}}}|{{{newhook45|}}}|{{{newhook46|}}}|{{{newhook47|}}}|{{{newhook48|}}}<!--
       -->}}<!--
       -->}}<!--
   -->
   --></td>
{{!}}}
</tr>
</table>
{{!}}-
{{!}}-
}}
}}

Revision as of 07:42, 13 October 2018

<languages/>

<translate> MediaWiki extensions manual</translate>
Crystal Clear action run.svg
Template:IfNotTranslation

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

<abbr title="<translate> <tvar Lua error: callParserFunction: function "#translation" was not found.
<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]] {{<tvar|3>#if:|</>|if it is available at translatewiki.net}}</translate>

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

Maintenance: vulnerabilities, archived

[[Category:Info templates{{#translation:}}|Extension]] [[Category:Extension creation{{#translation:}}]] [[Category:Categorizing templates{{#translation:}}|Extension]] [[Category:Extension templates{{#translation:}}]]