Difference between revisions of "Template:Extension"
fetch minimum version of mediawiki needed from Module:ExtensionJson via Module:Extension
>Shirayuki (to fix layout of Japanese translation if ".tpl-infobox" is too narrow) |
>DannyS712 (fetch minimum version of mediawiki needed from Module:ExtensionJson via Module:Extension) |
||
Line 134: | Line 134: | ||
|{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->{{#if:{{#translation:}}||[[Category:Extensions without a compatibility policy]]}}}} | |{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->{{#if:{{#translation:}}||[[Category:Extensions without a compatibility policy]]}}}} | ||
}} | }} | ||
{{#if:{{{mediawiki|}}}| | {{#if:{{#invoke:extension|getMinimumMWVersion|{{{mediawiki|}}}}}}}| | ||
<tr> | <tr> | ||
<td>{{ll|Template:Extension#mediawiki|'''MediaWiki'''}}</td> | <td>{{ll|Template:Extension#mediawiki|'''MediaWiki'''}}</td> | ||
<td>{{{mediawiki}}}</td> | <td>{{#if:{{#invoke:extension|getMinimumMWVersion|{{{mediawiki|}}}}}}}</td> | ||
</tr> | </tr> | ||
}} | }} |