Difference between revisions of "Template:Extension"
Jump to navigation
Jump to search
>Ans (w:refactoring using <!-- --> to make K&R style viable, while no extra whitespace rendered in document) |
>Jack Phoenix (revert, those edits broke the template (categorization, link/s to Manual:Hooks/<hook name> and author field)) |
||
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}}}|unknown}}" style="float: right; background-color: white; min-width:20%;" | ||
|+ '''[[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;" | [[Image:{{#ifeq: {{{status|}}}|unstable| | ! colspan="2" style="padding-top: 0.5em;" | [[Image:{{#ifeq: {{{status|}}}|unstable|Crystal Clear app error.png|Crystal Clear action run.png}}|left|40px]] <span style="font-size: 130%;">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}</span><br /> | ||
Release status: {{#switch: {{lc: {{{status|unknown}}}}}|unstable|experimental|beta|stable={{{status}}}|#default=unknown}} | |||
{{#ifeq:{{{templatemode|}}}|nocats||[[Category:{{#switch: {{lc:{{{status|}}}}}|unstable|experimental|stable={{{status}}} extensions|beta=beta status extensions|unknown|=extensions with unknown status|#default=extensions with invalid status}}]]}} | |||
Release status: {{#switch: {{lc: {{{status|unknown}}} | |||
|- | |- | ||
{{#if:{{{image|}}}| | |||
<!-- -->{{!}} 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=, |{{{type1|{{{type|missing}}}}}}|{{{type2|}}}|{{{type3|}}}|{{{type4|}}}|{{{type5|}}}|{{{type6|}}}}} | |||
|{{Foreach|Extension/TypeSwitch|delim=, |{{{type1|{{{type|missing}}}}}}|{{{type2|}}}|{{{type3|}}}|{{{type4|}}}|{{{type5|}}}|{{{type6|}}}}} }} | |||
|{{#ifeq:{{{templatemode|}}}|nocats||{{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}}}}}}||{{{author}}} (}}[[User:{{{username}}}|{{{username}}}]] <sup><small>[[User talk:{{{username}}}|{{int:talkpagelinktext}}]]</small></sup>{{#ifeq: {{{username}}}|{{{author|{{{username}}}}}}||)}} | {{{author}}} }} | |||
}} | |||
|- | |- | ||
{{#if:{{{version|}}}| | |||
<!-- | <!-- -->{{!}} style="vertical-align: top" {{!}} [[Template:Extension#version|'''Version''']] | ||
<!-- | <!-- -->{{!}} {{{version}}}{{#if:{{{update|}}}| ({{{update}}})}} | ||
}} | |||
|- | |- | ||
{{#if:{{{mediawiki|}}}| | |||
<!-- | <!-- -->{{!}} style="vertical-align: top" {{!}} [[Template:Extension#mediawiki|'''MediaWiki''']] | ||
<!-- | <!-- -->{{!}} {{{mediawiki}}} | ||
}} | |||
|- | |- | ||
{{#if:{{{license|}}}| | |||
<!-- | <!-- -->{{!}} style="vertical-align: top" {{!}} [[Template:Extension#license|'''License''']] | ||
<!-- | <!-- -->{{!}} {{{license}}} | ||
}} | |||
|- | |- | ||
| style="vertical-align: top" | [[Template:Extension#download|'''Download''']] | | style="vertical-align: top" | [[Template:Extension#download|'''Download''']] | ||
| | | {{#if:{{{download|}}}|{{{download}}}|''no link''}}{{#if:{{{readme|}}}|<br />{{{readme}}}}}{{#if:{{{changelog|}}}|<br />{{{changelog}}}}} | ||
|- | |- | ||
{{#if:{{{parameters|}}}| | |||
<!-- | <!-- -->{{!}} style="vertical-align: top" {{!}} [[Template:Extension#parameters|'''Parameters''']] | ||
<!-- | <!-- -->{{!}} {{{parameters}}} | ||
}} | |||
|- | |- | ||
{{#if:{{{rights|}}}| | |||
<!-- | <!-- -->{{!}} style="vertical-align: top" {{!}} [[Template:Extension#rights|'''Added rights''']] | ||
<!-- | <!-- -->{{!}} {{{rights}}} | ||
}} | |||
|- | |- | ||
{{#if:{{{example|}}}| | |||
<!-- | <!-- -->{{!}} style="vertical-align: top" {{!}} [[Template:Extension#example|'''Example''']] | ||
<!-- | <!-- -->{{!}} {{{example}}} | ||
}} | |||
|- | |- | ||
{{#if:{{{hook1|}}}| | |||
<!-- | <!-- -->{{!}} style="vertical-align: top" {{!}} [[Template:Extension#hook|'''Hooks used''']] | ||
<!-- | <!-- -->{{!}} | ||
{{#ifeq:{{{templatemode|}}}|nocats | |||
|{{Foreach|Extension/HookInUseNoCats|delim=<br/>|{{{hook1}}}|{{{hook2|}}}|{{{hook3|}}}|{{{hook4|}}}|{{{hook5|}}}|{{{hook6|}}}|{{{hook7|}}}|{{{hook8|}}}|{{{hook9|}}}|{{{hook10|}}}|{{{hook11|}}}|{{{hook12|}}}|{{{hook13|}}}|{{{hook14|}}}|{{{hook15|}}}|{{{hook16|}}}|{{{hook17|}}}|{{{hook18|}}}|{{{hook19|}}}|{{{hook20|}}}|{{{hook21|}}}|{{{hook22|}}}|{{{hook23|}}}|{{{hook24|}}}|{{{hook25|}}}|{{{hook26|}}}|{{{hook27|}}}|{{{hook28|}}}|{{{hook29|}}}|{{{hook30|}}}|{{{hook31|}}}|{{{hook32|}}}|{{{hook33|}}}|{{{hook34|}}}|{{{hook35|}}}|{{{hook36|}}}|{{{hook37|}}}|{{{hook38|}}}|{{{hook39|}}}|{{{hook40|}}}}} | |||
|{{Foreach|Extension/HookInUse|delim=<br/>|{{{hook1}}}|{{{hook2|}}}|{{{hook3|}}}|{{{hook4|}}}|{{{hook5|}}}|{{{hook6|}}}|{{{hook7|}}}|{{{hook8|}}}|{{{hook9|}}}|{{{hook10|}}}|{{{hook11|}}}|{{{hook12|}}}|{{{hook13|}}}|{{{hook14|}}}|{{{hook15|}}}|{{{hook16|}}}|{{{hook17|}}}|{{{hook18|}}}|{{{hook19|}}}|{{{hook20|}}}|{{{hook21|}}}|{{{hook22|}}}|{{{hook23|}}}|{{{hook24|}}}|{{{hook25|}}}|{{{hook26|}}}|{{{hook27|}}}|{{{hook28|}}}|{{{hook29|}}}|{{{hook30|}}}|{{{hook31|}}}|{{{hook32|}}}|{{{hook33|}}}|{{{hook34|}}}|{{{hook35|}}}|{{{hook36|}}}|{{{hook37|}}}|{{{hook38|}}}|{{{hook39|}}}|{{{hook40|}}}}} | |||
}} | |||
}} | |||
|} | |} | ||
{{#ifeq:{{{templatemode|}}}|nocats||{{DEFAULTSORT:{{#if:{{{name|}}}|{{uc:{{PAGENAME}}}}|{{uc:{{{name}}}}}}}}}[[Category:All extensions]]}}</includeonly><noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
[[Category:Info templates|{{PAGENAME}}]] | [[Category:Info templates|{{PAGENAME}}]] |
Revision as of 12:19, 23 June 2008
Lua error in Module:TNT at line 158: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.