Difference between revisions of "Template:Extension"
Jump to navigation
Jump to search
>MZMcBride (rv) |
>MZMcBride (synced code with sandbox) |
||
Line 1: | Line 1: | ||
<includeonly>{| class="ext-infobox ext-status-{{#switch: {{lc: {{{status|unknown}}} | <includeonly>{| class="ext-infobox ext-status-{{#switch: {{lc: {{{status|unknown}}} }} | ||
|unstable|experimental|beta|stable={{{status}}} | |||
|#default=unknown | |||
}}" style="float: right; background-color: white; width:280px;" | |||
|+ '''[[Manual:Extensions|Manual on MediaWiki Extensions]]'''<br />'''[[Extension Matrix|List of MediaWiki Extensions]]''' | |+ '''[[Manual:Extensions|Manual on MediaWiki Extensions]]'''<br />'''[[Extension Matrix|List of MediaWiki Extensions]]''' | ||
|- class="ext-header" | |- class="ext-header" | ||
! colspan="2" style="padding-top: 0.5em;" | [[ | ! colspan="2" style="padding-top: 0.5em;" | [[File:{{#ifeq: {{{status|}}} |unstable|Crystal Clear app error.png|<!--else-->Crystal Clear action run.png}}|link=|left|40px]] <span style="font-size: 130%;">{{{name|{{PAGENAME}}}}}</span><br /> | ||
Release status: {{#switch: {{lc: {{{status|unknown}}} }} | |||
|unstable|experimental|beta|stable={{{status}}} | |||
|#default=unknown | |||
}} | |||
Release status: {{#switch: {{lc: {{{status|unknown}}} | |- <!-- Category logic -->{{#ifeq:{{{templatemode|}}}|nocats|<!-- do nothing -->|<!--else-->[[Category:{{#switch: {{lc:{{{status|}}} }} | ||
|unstable|experimental|stable = {{{status}}} extensions | |||
|beta = beta status extensions | |||
|unknown = extensions with unknown status | |||
<!-- | |#default = extensions with invalid status | ||
-->{{#ifeq:{{{templatemode|}}}|nocats|<!-- | }}]]}} | ||
{{#if:{{{image|}}}| | |||
-->|<!--else | {{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{image}}}|{{{imagesize|220}}}px]] | ||
{{!}}- | |||
}} | |||
{{#if:{{{type|}}}{{{type1|}}}| | |||
{{!}} style="vertical-align: top" {{!}} [[Template:Extension#type|'''Implementation''']] | |||
{{!}} {{#ifeq:{{{templatemode|}}}|nocats|<!-- | |||
-->{{Foreach|Extension/TypeSwitchNoCats|<!-- -->delim=, |<!-- | -->{{Foreach|Extension/TypeSwitchNoCats|<!-- -->delim=, |<!-- | ||
-->{{{type1|{{{type|missing}}}<!-- -->}}}|<!-- | -->{{{type1|{{{type|missing}}}<!-- -->}}}|<!-- | ||
Line 51: | Line 39: | ||
-->{{Extension/TypeSwitch|_missing_}}<!-- | -->{{Extension/TypeSwitch|_missing_}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->}} | --> | ||
{{!}}- | |||
}} | |||
|- | |- | ||
| style="vertical-align: top" | [[Template:Extension#description|'''Description''']] || {{{description}}} | | style="vertical-align: top" | [[Template:Extension#description|'''Description''']] || {{{description}}} | ||
|- | |- | ||
{{#if:{{{author|{{{username|}}} }}}| | |||
{{!}} style="vertical-align: top" {{!}} [[Template:Extension#username|'''Author(s)''']] | |||
{{!}} {{#if: {{{username|}}} |<!-- | |||
-->{{#ifeq: {{{username}}}|{{{author|{{{username}}}<!-- -->}}}|<!-- | -->{{#ifeq: {{{username}}}|{{{author|{{{username}}}<!-- -->}}}|<!-- | ||
nothing | nothing | ||
Line 73: | Line 62: | ||
-->|<!--else--><!-- | -->|<!--else--><!-- | ||
-->{{{author}}}<!-- | -->{{{author}}}<!-- | ||
-->}} | -->}} | ||
{{!}}- | |||
}} | |||
{{#if:{{{version|}}}| | |||
{{!}} style="vertical-align: top" {{!}} [[Template:Extension#version|'''Last Version''']] | |||
{{!}} {{{version}}}{{#if:{{{update|}}}| ({{{update}}})}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{mediawiki|}}}| | |||
{{!}} style="vertical-align: top" {{!}} [[Template:Extension#mediawiki|'''MediaWiki''']] | |||
{{!}} {{{mediawiki}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{php|}}}| | |||
{{!}} style="vertical-align: top" {{!}} [[Template:Extension#php|'''PHP''']] | |||
{{!}} {{{php}}} | |||
{{!}}- | |||
}} | |||
| style="vertical-align: top" {{!}} [[Template:Extension#license|'''License''']] | | style="vertical-align: top" {{!}} [[Template:Extension#license|'''License''']] | ||
| {{#if:{{{license|}}}|{{{license}}}|No license specified[[Category:Extensions with no license specified]]}} | | {{#if:{{{license|}}}|{{{license}}}|No license specified[[Category:Extensions with no license specified]]}} | ||
Line 103: | Line 89: | ||
-->{{#if:{{{changelog|}}}|<br />{{{changelog}}}<!-- -->}} | -->{{#if:{{{changelog|}}}|<br />{{{changelog}}}<!-- -->}} | ||
|- | |- | ||
{{#if:{{{example|}}}| | |||
{{!}} style="vertical-align: top" {{!}} [[Template:Extension#example|'''Example''']] | |||
{{!}} {{{example}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{parameters|}}}| | |||
{{!}} style="padding: 0pt;" colspan="2" {{!}}<!-- | |||
--> | --> | ||
{{{!}} class="collapsible collapsed" style="border-collapse: collapse; width: 100%;" | {{{!}} class="collapsible collapsed" style="border-collapse: collapse; width: 100%;" | ||
{{! | {{!}}- | ||
! style="vertical-align: top; text-align: left; padding: 0.2em 0.5em;" {{!}} [[Template:Extension#parameters|'''Parameters''']] | ! style="vertical-align: top; text-align: left; padding: 0.2em 0.5em;" {{!}} [[Template:Extension#parameters|'''Parameters''']] | ||
{{! | {{!}}- | ||
{{!}} | |||
{{{parameters}}} | {{{parameters}}} | ||
{{!}}} | |||
{{!}}} | {{!}}- | ||
}} | |||
{{#if:{{{tags|}}}| | |||
{{!}} style="padding: 0pt;" colspan="2" {{!}} | |||
{{{!}} class="collapsible collapsed" style="border-collapse: collapse; width: 100%;" | {{{!}} class="collapsible collapsed" style="border-collapse: collapse; width: 100%;" | ||
{{! | {{!}}- | ||
! style="vertical-align: top; text-align: left; padding: 0.2em 0.5em;" {{!}} [[Template:Extension#tags|'''Tags''']] | ! style="vertical-align: top; text-align: left; padding: 0.2em 0.5em;" {{!}} [[Template:Extension#tags|'''Tags''']] | ||
{{! | {{!}}- | ||
{{!}} {{{tags}}} | |||
{{{tags}}} | {{!}}} | ||
{{!}}- | |||
{{!}}} | }} | ||
{{#if:{{{rights|}}}| | |||
{{!}} style="padding: 0pt;" colspan="2" {{!}} | |||
{{{!}} class="collapsible collapsed" style="border-collapse: collapse; width: 100%;" | {{{!}} class="collapsible collapsed" style="border-collapse: collapse; width: 100%;" | ||
{{! | {{!}}- | ||
! style="vertical-align: top; text-align: left; padding: 0.2em 0.5em;" {{!}} [[Template:Extension#rights|'''Added rights''']] | ! style="vertical-align: top; text-align: left; padding: 0.2em 0.5em;" {{!}} [[Template:Extension#rights|'''Added rights''']] | ||
{{! | {{!}}- | ||
{{!}} | |||
{{{rights}}} | {{{rights}}} | ||
{{!}}} | |||
{{!}}} | {{!}}- | ||
}} | |||
{{#if:{{{hook1|}}}| | |||
{{!}} style="padding: 0pt;" colspan="2" {{!}} | |||
{{{!}} class="collapsible collapsed" style="border-collapse: collapse; width: 100%;" | {{{!}} class="collapsible collapsed" style="border-collapse: collapse; width: 100%;" | ||
{{! | {{!}}- | ||
! style="vertical-align: top; text-align: left; padding: 0.2em 0.5em;" {{!}} [[Template:Extension#hook|'''Hooks used''']] | ! style="vertical-align: top; text-align: left; padding: 0.2em 0.5em;" {{!}} [[Template:Extension#hook|'''Hooks used''']] | ||
{{! | {{!}}- | ||
{{!}}<!-- | |||
<!-- | |||
-->{{#ifeq:{{{templatemode|}}}|nocats|<!-- | -->{{#ifeq:{{{templatemode|}}}|nocats|<!-- | ||
-->{{Foreach|Extension/HookInUseNoCats|delim=<br/>|<!-- | -->{{Foreach|Extension/HookInUseNoCats|delim=<br/>|<!-- | ||
Line 184: | Line 156: | ||
-->}}<!-- | -->}}<!-- | ||
--> | --> | ||
{{!}}} | {{!}}} | ||
{{!}}- | |||
}} | |||
{{#if:{{{compatibility|}}}| | |||
{{!}} colspan="2" {{!}} | |||
{{{compatibility}}} | |||
{{{compatibility}}} | {{!}}- | ||
}}<!-- | |||
<!-- | |||
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|no usage|{{#ifeq:{{NAMESPACE}}|{{ns:102}}|{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}||no usage}}|no usage}}}}}}}|| | -->{{#if:{{{nousage|{{#ifeq:{{{templatemode|}}}|nocats|no usage|{{#ifeq:{{NAMESPACE}}|{{ns:102}}|{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}||no usage}}|no usage}}}}}}}|| | ||
{{!}} colspan="2" style="text-align:center;" {{!}} | |||
[http://s23.org/wikistats/mediawiki_extensions.php?name={{{CheckUsageNameOverride|{{FULLPAGENAMEE}}}}} check usage] ''(experimental)''<!-- | [http://s23.org/wikistats/mediawiki_extensions.php?name={{{CheckUsageNameOverride|{{FULLPAGENAMEE}}}}} check usage] ''(experimental)''<!-- | ||
-->}} | -->}} |
Revision as of 16:26, 5 May 2010
Lua error in Module:TNT at line 158: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab. Template:Languages