Difference between revisions of "Template:Extension/en"
Jump to navigation
Jump to search
Updating to match new version of source page
>FuzzyBot (Updating to match new version of source page) |
>FuzzyBot (Updating to match new version of source page) |
||
Line 22: | Line 22: | ||
|magic=magic | |magic=magic | ||
|#default=unknown | |#default=unknown | ||
}}<!-- | |||
-->{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|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 | ||
Line 190: | Line 190: | ||
<tr> | <tr> | ||
<td>{{ll|Template:Extension#license|'''License'''}}</td> | <td>{{ll|Template:Extension#license|'''License'''}}</td> | ||
<td> | <td>{{#invoke:Extension|getFormattedLicense|{{{license|}}} | ||
|GPL-2.0 = GNU General Public License 2.0 | |GPL-2.0 = GNU General Public License 2.0 | ||
|GPL-2.0-only = GNU General Public License 2.0 only | |GPL-2.0-only = GNU General Public License 2.0 only | ||
Line 228: | Line 228: | ||
|PD = [[w:Public domain|Public domain]] | |PD = [[w:Public domain|Public domain]] | ||
|+ =  or later | |+ =  or later | ||
|unspecified = No license specified | |||
}}</td> | |||
</tr><tr> | </tr><tr> | ||
{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- no category -->|{{#invoke:Extension|getLicenseCategory|{{{license|}}}}}}} | |||
<td>'''Download'''</td> | <td>'''Download'''</td> | ||
<td><!-- | <td><!-- | ||
Line 250: | Line 252: | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{parameters|}}}| | {{#if:{{#if:{{{parameters|}}}|y|{{#invoke:Extension|getParameters}}}}| | ||
<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#parameters|Parameters}}</div> | <div class="mw-collapsible-header">{{ll|Template:Extension#parameters|Parameters}}</div> | ||
<div class="mw-collapsible-content"><!-- the parameter "parameters" should begin on its own line so that bullet lists are correctly recognised by MediaWiki --> | <div class="mw-collapsible-content"><!-- the parameter "parameters" should begin on its own line so that bullet lists are correctly recognised by MediaWiki --> | ||
{{{parameters}}}</div></td> | {{#if:{{{parameters|}}}|{{{parameters}}}|{{#invoke:Extension|getParameters}}}}</div></td> | ||
</tr> | </tr> | ||
}} | }} | ||
Line 265: | Line 267: | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{rights|}}}| | {{#if:{{#if:{{{rights|}}}|y|{{#invoke:Extension|getRights}}}}| | ||
<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#rights|Added rights}}</div> | <div class="mw-collapsible-header">{{ll|Template:Extension#rights|Added rights}}</div> | ||
<div class="mw-collapsible-content"><!-- the parameter "rights" should begin on its own line so that bullet lists are correctly recognised by MediaWiki --> | <div class="mw-collapsible-content"><!-- the parameter "rights" should begin on its own line so that bullet lists are correctly recognised by MediaWiki --> | ||
{{{rights}}} | {{#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> | {{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->{{#if:{{{rights|}}}|[[Category:Extensions which add rights{{#translation:}}]]|}} }}</div></td> | ||
</tr> | </tr> | ||
Line 284: | Line 286: | ||
</tr> | </tr> | ||
}} | }} | ||
{{# | {{#invoke:Extension|getHooks|header= | ||
<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#hook|Hooks used}}</div> | <div class="mw-collapsible-header">{{ll|Template:Extension#hook|Hooks used}}</div> | ||
<div class="mw-collapsible-content plainlist"><ul><li> | <div class="mw-collapsible-content plainlist"><ul><li>|delim=</li><li>|footer=</li></ul></div> | ||
</td> | </td> | ||
</tr> | </tr> |