Difference between revisions of "Template:Extension"

From WPRDC Wiki
Jump to navigation Jump to search
>Shirayuki
m (typo)
>Tacsipacsi
(i18n for types and licenses)
Line 41: Line 41:
<tr>
<tr>
<td style="vertical-align: top">{{ll|Template:Extension#type|'''<translate><!--T:12--> Implementation</translate>'''}}</td>
<td style="vertical-align: top">{{ll|Template:Extension#type|'''<translate><!--T:12--> Implementation</translate>'''}}</td>
<td>{{#invoke:Extension|getTypes}}<!--
<td>{{#invoke:Extension|getTypes
|ajax            = <translate>[[w:AJAX|Ajax]]</translate>
|api            = <translate>[[API:Action API|API]]</translate>
|beta feature    = <translate>[[Beta Features|Beta Feature]]</translate>
|contenthandler  = <translate>[[Manual:ContentHandler|ContentHandler]]</translate>
|database        = <translate>[[Manual:Database layout|Database]]</translate>
|data extraction = <translate>Data extraction</translate>
|example        = <translate>Example</translate>
|extended syntax = <translate>[[Manual:Extending wiki markup|Extended syntax]]</translate>
|filerepo        = <translate>File repository</translate>
|hook            = <translate>[[Manual:Hooks|Hook]]</translate>
|interface      = <translate>User interface</translate>
|link            = <translate>[[Manual:Extending wiki markup|Link markup]]</translate>
|media          = <translate>Media</translate>
|mywiki          = <translate>[[Manual:Personalization|MyWiki]]</translate>
|notify          = <translate>Notify</translate>
|page action    = <translate>[[Manual:Parameters to index.php#Actions|Page action]]</translate>
|parser          = <translate>[[Manual:Extending wiki markup|Parser extension]]</translate>
|parser function = <translate>[[Manual:Parser functions|Parser function]]</translate>
|php            = <translate>PHP</translate>
|search          = <translate>Search</translate>
|skin            = <translate>[[Manual:Skins|Skin]]</translate>
|special page    = <translate>[[Manual:Special pages|Special page]]</translate>
|locale          = <translate>[[Manual:Localization|Locale]]</translate>
|tag            = <translate>[[Manual:Tag extensions|Tag]]</translate>
|user access    = <translate>[[Manual:Security|User access]]</translate>
|user identity  = <translate>[[Manual:Security|User identity]]</translate>
|user rights    = <translate>[[Manual:Security|User rights]]</translate>
|user activity  = <translate>[[Manual:Security|User activity]]</translate>
|variable        = <translate>[[Manual:Variables|Variable]]</translate>
}}<!--
-->|<!--else--><!--
-->|<!--else--><!--
   -->{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!--
   -->{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!--
Line 148: Line 178:
<tr>
<tr>
<td style="vertical-align: top">{{ll|Template:Extension#license|'''<translate><!--T:21--> License</translate>'''}}</td>
<td style="vertical-align: top">{{ll|Template:Extension#license|'''<translate><!--T:21--> License</translate>'''}}</td>
<td>{{#if:{{{license|}}}|{{#invoke:Extension|getFormattedLicense|{{{license}}}}}|<translate><!--T:22--> No license specified</translate> {{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->[[Category:Extensions with no license specified{{#translation:}}]]}}}}</td>
<td>{{#if:{{{license|}}}|{{#invoke:Extension|getFormattedLicense|{{{license}}}
|GPL-2.0      = <translate>GNU General Public License 2.0</translate>
|GPL-2.0-only = <translate>GNU General Public License 2.0 only</translate>
|GPL-2.0-or-later = <translate>GNU General Public License 2.0 or later</translate>
|GPL-3.0      = <translate>GNU General Public License 3.0</translate>
|GPL-3.0-only = <translate>GNU General Public License 3.0 only</translate>
|GPL-3.0-or-later = <translate>GNU General Public License 3.0 or later</translate>
|AGPL-3.0    = <translate>GNU Affero General Public License 3.0</translate>
|LGPL-2.1    = <translate>GNU Lesser General Public License 2.1</translate>
|LGPL-2.1-only = <translate>GNU Lesser General Public License 2.1 only</translate>
|LGPL-2.1-or-later = <translate>GNU Lesser General Public License 2.1 or later</translate>
|LGPL-3.0    = <translate>GNU Lesser General Public License 3.0</translate>
|LGPL-3.0-only = <translate>GNU Lesser General Public License 3.0 only</translate>
|LGPL-3.0-or-later = <translate>GNU Lesser General Public License 3.0 or later</translate>
|FDL          = <translate>GNU Free Documentation License</translate>
|MIT          = <translate>MIT License</translate>
|ISC          = <translate>ISC License</translate>
|BSD-2-Clause = <translate>BSD 2-clause "Simplified" License</translate>
|BSD-3-Clause = <translate>BSD 3-clause "Modified" License</translate>
|BSD-4-Clause = <translate>BSD 4-clause "Original" License</translate>
|MPL-1.0      = <translate>Mozilla Public License 1.0</translate>
|MPL-2.0      = <translate>Mozilla Public License 2.0</translate>
|WTFPL        = <translate>WTFPL 2.0</translate>
|Apache-2.0  = <translate>Apache License 2.0</translate>
|Zlib        = <translate>zlib License</translate>
|CC0-1.0      = <translate>Creative Commons Zero v1.0 Universal</translate>
|CC-BY-3.0    = <translate>Creative Commons Attribution 3.0</translate>
|CC-BY-SA-2.0 = <translate>Creative Commons Attribution Share Alike 2.0</translate>
|CC-BY-SA-2.5 = <translate>Creative Commons Attribution Share Alike 2.5</translate>
|CC-BY-NC-SA-2.5 = <translate>Creative Commons Attribution NonCommercial Share Alike 2.5</translate>
|CC-BY-NC-SA-3.0 = <translate>Creative Commons Attribution NonCommercial Share Alike 3.0</translate>
|CC-BY-NC-3.0 = <translate>Creative Commons Attribution NonCommercial 3.0</translate>
|CC-BY-SA-3.0 = <translate>Creative Commons Attribution Share Alike 3.0</translate>
|CC-BY-SA-4.0 = <translate>Creative Commons Attribution Share Alike 4.0</translate>
|ECL-2.0      = <translate>[[wikipedia:Educational Community License|Educational Community License 2.0]]</translate>
|PD          = <translate>[[wikipedia:Public domain|Public domain]]</translate>
|+            = <translate>&#32;or later</translate>
}}|<translate><!--T:22--> No license specified</translate> {{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->[[Category:Extensions with no license specified{{#translation:}}]]}}}}</td>
</tr><tr>
</tr><tr>
<td style="vertical-align: top">'''<translate><!--T:23--> Download</translate>'''</td>
<td style="vertical-align: top">'''<translate><!--T:23--> Download</translate>'''</td>

Revision as of 14:59, 21 June 2019

<languages/> Lua error in Module:TNT at line 158: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.[[Category:Template documentation pages{{#translation:}}]] Maintenance: vulnerabilities, archived

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