「テンプレート:MW version/layout」の版間の差分

提供: ひつじ小屋別館2代目
移動先: 案内検索
(When providing "and after" or "and later", don't include a bottom border for the low version that has a bad color (red/orange). And later is positive, it doesn't matter how old it is (if anything, long term stability should be extra positive))
(1版 をインポートしました)
 
(2人の利用者による、間の4版が非表示)
2行目: 2行目:
 
{{#if: {{{compact|}}} ||{{!}} style="padding: .1em .3em;" {{!}} {{{msg-mw-version}}} }}
 
{{#if: {{{compact|}}} ||{{!}} style="padding: .1em .3em;" {{!}} {{{msg-mw-version}}} }}
 
| {{#switch: {{{comment|}}}
 
| {{#switch: {{{comment|}}}
  |and after|and later=
+
  |and after|and later|+=
 
   title="{{{msg-latest-tooltip}}}" style="border-color: #{{MW version/color}};
 
   title="{{{msg-latest-tooltip}}}" style="border-color: #{{MW version/color}};
 
  |#default=
 
  |#default=
8行目: 8行目:
 
}} border-width: 5px; border-style: {{#switch: {{MW version/status|{{{version|}}}}} |alpha = dotted |#default =  solid }}; text-align: center; padding: .1em .3em;" | <abbr style="font-weight: bold; font-size: 180%;">{{#switch: {{{comment|}}}
 
}} border-width: 5px; border-style: {{#switch: {{MW version/status|{{{version|}}}}} |alpha = dotted |#default =  solid }}; text-align: center; padding: .1em .3em;" | <abbr style="font-weight: bold; font-size: 180%;">{{#switch: {{{comment|}}}
 
  |and before|and earlier=<small>&le;</small>
 
  |and before|and earlier=<small>&le;</small>
  |and after|and later=<small>&ge;</small>
+
  |and after|and later|+=<small>&ge;</small>
 
}} {{#if: {{{version|}}} | {{{version}}} | X.X }}{{#if: {{{version2|}}} | &#32;&ndash; {{{version2}}} }}</abbr>{{#if: {{{r|}}} |
 
}} {{#if: {{{version|}}} | {{{version}}} | X.X }}{{#if: {{{version2|}}} | &#32;&ndash; {{{version2}}} }}</abbr>{{#if: {{{r|}}} |
 
<br><small>{{Rev|{{{r}}}}}</small>}}{{#if: {{{gerrit change|}}} |
 
<br><small>{{Rev|{{{r}}}}}</small>}}{{#if: {{{gerrit change|}}} |
 
<br><small>{{Gerrit search|{{{gerrit change}}}}}</small>}}
 
<br><small>{{Gerrit search|{{{gerrit change}}}}}</small>}}
 
{{#switch: {{{comment|}}}
 
{{#switch: {{{comment|}}}
|and before|and after|and earlier|and later|=
+
|and before|and after|and earlier|and later|+|=
 
|#default=<nowiki /><span style="display: none;">[[Template:MW version/list1]]</span>
 
|#default=<nowiki /><span style="display: none;">[[Template:MW version/list1]]</span>
 
{{!}} style="padding: .1em .3em;" {{!}} {{{comment}}}
 
{{!}} style="padding: .1em .3em;" {{!}} {{{comment}}}
 
}}
 
}}
 
|}
 
|}

2016年7月24日 (日) 00:26時点における最新版

{{{msg-mw-version}}} X.X