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

提供: ひつじ小屋別館2代目
移動先: 案内検索
(1版)
(half-baked effort. Still looks like border color needs to be fixed)
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}}}
 
}}
 
}}
 
|}
 
|}

2015年5月18日 (月) 19:12時点における版

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