Difference between revisions of "Template:Extension"
Jump to navigation
Jump to search
>NicDumZ (adding imagesize parameter) |
>Ans (w:refactoring using <!-- --> to make K&R style viable, while no extra whitespace rendered in document) |
||
Line 3: | Line 3: | ||
|- class="ext-header" | |- class="ext-header" | ||
! 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 /> | ! 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}} | Release status: {{#switch: {{lc: {{{status|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}}]]}} | -->unstable|experimental|beta|stable={{{status}}}|<!-- | ||
-->#default=unknown<!-- | |||
-->}} | |||
<!-- | |||
-->{{#ifeq:{{{templatemode|}}}|nocats|<!-- | |||
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<!-- | |||
-->}}<!-- -->]]<!-- | |||
-->}} | |||
|- | |- | ||
{{#if:{{{image|}}}| | <!-- | ||
<!-- -->{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{image}}}|{{{imagesize|220}}}px]] | -->{{#if:{{{image|}}}|<!-- | ||
}} | -->{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{image}}}|{{{imagesize|220}}}px]]<!-- | ||
-->}} | |||
|- | |- | ||
{{#if:{{{type|}}}{{{type1|}}}| | <!-- | ||
<!-- -->{{!}} style="vertical-align: top" {{!}} [[Template:Extension#type|'''Implementation''']] | -->{{#if:{{{type|}}}{{{type1|}}}|<!-- | ||
<!-- -->{{!}}{{#ifeq:{{{templatemode|}}}|nocats | -->{{!}} style="vertical-align: top" {{!}} [[Template:Extension#type|'''Implementation''']]<!-- | ||
-->{{!}}<!-- -->{{#ifeq:{{{templatemode|}}}|nocats|<!-- | |||
|{{Foreach|Extension/TypeSwitch|delim=, |{{{type1|{{{type|missing}}}}}}|{{{type2|}}}|{{{type3|}}}|{{{type4|}}}|{{{type5|}}}|{{{type6|}}}}} }} | -->{{Foreach|Extension/TypeSwitchNoCats|<!-- -->delim=, |<!-- | ||
|{{#ifeq:{{{templatemode|}}}|nocats||{{Extension/TypeSwitch|_missing_}}}} | -->{{{type1|{{{type|missing}}}<!-- -->}}}|<!-- | ||
}} | -->{{{type2|}}}|<!-- -->{{{type3|}}}|<!-- -->{{{type4|}}}|<!-- -->{{{type5|}}}|<!-- -->{{{type6|}}}<!-- | ||
-->}}<!-- | |||
-->|<!--else--><!-- | |||
-->{{Foreach|Extension/TypeSwitch|<!-- -->delim=, |<!-- | |||
-->{{{type1|{{{type|missing}}}<!-- -->}}}|<!-- | |||
-->{{{type2|}}}|<!-- -->{{{type3|}}}|<!-- -->{{{type4|}}}|<!-- -->{{{type5|}}}|<!-- -->{{{type6|}}}<!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
-->|<!--else--><!-- | |||
-->{{#ifeq:{{{templatemode|}}}|nocats|<!-- | |||
nothing | |||
-->|<!--else--><!-- | |||
-->{{Extension/TypeSwitch|_missing_}}<!-- | |||
-->}}<!-- | |||
-->}} | |||
|- | |- | ||
| style="vertical-align: top" | [[Template:Extension#description|'''Description''']] || {{{description}}} | | style="vertical-align: top" | [[Template:Extension#description|'''Description''']] || {{{description}}} |
Revision as of 06:55, 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.