Difference between revisions of "Template:Extension"

From WPRDC Wiki
Jump to navigation Jump to search
>Ricordisamoa
(getFormattedLicense)
>Nemo bis
m (Revert, breaks the table entirely in some cases like extension:ConventionExtension)
Line 10: Line 10:
|unmaintained|archive|milestone|unstable|experimental|beta|stable|magic={{{status}}}
|unmaintained|archive|milestone|unstable|experimental|beta|stable|magic={{{status}}}
|#default=unknown
|#default=unknown
}}<!-- Category logic -->{{#if:{{{license|}}}|{{#ifeq:{{{templatemode|}}}|nocats|<!-- do nothing -->|<!--else-->{{#invoke:Extension|getLicenseCategory|{{{license}}}}}}}}}<!--
}}<!-- Category logic -->{{#if:{{{license|}}}|{{#ifeq:{{{templatemode|}}}|nocats|<!-- do nothing -->|<!--else-->[[Category:{{#switch: {{lc:{{{license|}}} }}
|gpl|gplv2|gplv2 or later|gpl v2|gpl v2 or later|gplv2+|gplv3+|gplv3|gpl v3|gpl v3 or later|GPL 2.0|gpl v2+|gpl v3+ = GPL licensed extensions
|lgpl|lgplv2|lgplv3 = LGPL licensed extensions
|agpl|agplv2|agplv3 = AGPL licensed extensions
|mit|expat|expat (mit)|x11|The MIT License|Mit License = MIT licensed extensions
|bsd|new bsd|revised bsd|modified bsd|freebsd = BSD licensed extensions
|mpl|mplv2|mpl v2 = MPL licensed extensions
|wtfpl|wtfpl 2|wtfpl 2.0 = WTFPL licensed extensions
|apache|apache license = Apache licensed extensions
|public domain|none (public domain)|none|pd = Public domain licensed extensions
|#default = Extensions with unknown license
}}{{translation}}]]}}}}<!--
-->{{#ifeq:{{{templatemode|}}}|nocats|<!-- do nothing -->|<!--else-->[[Category:{{#switch: {{lc:{{{status|}}} }}
-->{{#ifeq:{{{templatemode|}}}|nocats|<!-- do nothing -->|<!--else-->[[Category:{{#switch: {{lc:{{{status|}}} }}
|unstable|experimental|stable = {{{status}}} extensions
|unstable|experimental|stable = {{{status}}} extensions
Line 109: Line 120:
|-
|-
| style="vertical-align: top" {{!}} [[Template:Extension#license|'''License''']]
| style="vertical-align: top" {{!}} [[Template:Extension#license|'''License''']]
| {{#if:{{{license|}}}|{{#invoke:Extension|getFormattedLicense|{{{license}}}}}|No license specified{{#if:{{{nocats|}}}||[[Category:Extensions with no license specified{{translation}}]]}}}}
| {{#if:{{{license|}}}|{{{license}}}|No license specified{{#if:{{{nocats|}}}||[[Category:Extensions with no license specified{{translation}}]]}}}}
|-
|-
| style="vertical-align: top" | [[Template:Extension#download|'''Download''']]  
| style="vertical-align: top" | [[Template:Extension#download|'''Download''']]  

Revision as of 09:22, 3 January 2015

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]] Template:Languages