Template:MW version/layout: Difference between revisions
Jump to navigation
Jump to search
Remove <br> that causes white gap to show up. This issue was introduced by Special:Diff/4094911 (and Special:Diff/4045415) which wrapped the first segment in a <div>, thus already creating a line break. |
mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<templatestyles src="MW version/styles.css" /> | |||
<table class="mw-version mw-version-ltr | |||
<table class="mw-version mw-version- | |||
{{#if:{{{version|}}}|mw-version-version mw-version-version-{{MW version/status|{{{version}}} }} }} | {{#if:{{{version|}}}|mw-version-version mw-version-version-{{MW version/status|{{{version}}} }} }} | ||
{{#if:{{{version2|}}}|mw-version-version2 mw-version-version2-{{MW version/status|{{{version2}}} }} }} | {{#if:{{{version2|}}}|mw-version-version2 mw-version-version2-{{MW version/status|{{{version2}}} }} }} | ||
Line 15: | Line 13: | ||
|#default= | |#default= | ||
{{#switch:{{MW version/status|{{#if:{{{version2|}}}|{{{version2}}}|{{{version|X.XX}}}}}}} | {{#switch:{{MW version/status|{{#if:{{{version2|}}}|{{{version2}}}|{{{version|X.XX}}}}}}} | ||
|unsupported= | |unsupported= MediaWiki {{#if:{{{version2|}}}|{{{version2}}}|{{#if:{{{version|}}}|{{{version}}}|X.XX}}}} is unsupported version | ||
|legacy= | |legacy= MediaWiki {{#if:{{{version2|}}}|{{{version2}}}|{{#if:{{{version|}}}|{{{version}}}|X.XX}}}} is legacy version | ||
|stable= | |stable= MediaWiki {{#if:{{{version2|}}}|{{{version2}}}|{{#if:{{{version|}}}|{{{version}}}|X.XX}}}} is stable version | ||
|future= | |future= MediaWiki {{#if:{{{version2|}}}|{{{version2}}}|{{#if:{{{version|}}}|{{{version}}}|X.XX}}}} is future version | ||
|unknown= | |unknown= MediaWiki {{#if:{{{version2|}}}|{{{version2}}}|{{#if:{{{version|}}}|{{{version}}}|X.XX}}}} is unknown version | ||
}} | }} | ||
}}"><div class="mw-version-versionnumber">{{#switch: {{{comment|}}} | }}"><div class="mw-version-versionnumber">{{#switch: {{{comment|}}} | ||
|and before|and earlier|-=<small | |and before|and earlier|-=<small> ≤</small> | ||
|and after|and later|+=<small | |and after|and later|+=<small> ≥</small> | ||
}} {{#if: {{{version|}}} | {{{version}}} | X.X }}{{#if: {{{version2|}}} |  – {{{version2}}} }}</div> | }} {{#if: {{{version|}}} | {{{version}}} | X.X }}{{#if: {{{version2|}}} |  – {{{version2}}} }}</div></td> | ||
{{#switch: {{{comment|}}} | {{#switch: {{{comment|}}} | ||
|and before|and after|and earlier|and later|-|+|= | |and before|and after|and earlier|and later|-|+|= |
Latest revision as of 03:10, 15 February 2022
{{{msg-mw-version}}} | X.X |