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

提供: ひつじ小屋別館2代目
移動先: 案内検索
(1版)
(Systematize colors and make 'future' stand out more from 'unknown'.)
1行目: 1行目:
 
<includeonly>{{#switch: {{MW version/status| {{#if: {{{1|}}} | {{{1}}} | {{MW stable branch number}} }} }}
 
<includeonly>{{#switch: {{MW version/status| {{#if: {{{1|}}} | {{{1}}} | {{MW stable branch number}} }} }}
|unsupported=FF0000 <!-- FF5050 -->
+
|unsupported=FF4040
|legacy=FF8000
+
|legacy=FF8040
|stable=50A050  <!-- 408040 -->
+
|stable=40C040
|alpha=D8D8D8
+
|future=8080C0
 
|unknown
 
|unknown
|#default = EEEEEE
+
|#default=EEEEEE
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
<span style="border: 5px solid #{{MW version/color|1.24}}; padding:.1em .3em; font-weight:bold">1.24</span>
+
<span style="padding: 0.1em 0.3em; font-weight: bold; border: 5px solid #{{MW version/color|master}};" title="master: {{MW version/status|master}}">master</span>
<span style="border: 5px solid #{{MW version/color| {{MW stable branch number}} }}; padding:.1em .3em; font-weight:bold">{{MW stable branch number}}</span>
+
<span style="padding: 0.1em 0.3em; font-weight: bold; border: 5px solid #{{MW version/color|{{MW stable branch number}}}};" title="stable: {{MW version/status|{{MW stable branch number}}}}">{{MW stable branch number}}</span>
<span style="border: 5px solid #{{MW version/color| {{MW legacy branch number}} }}; padding:.1em .3em; font-weight:bold">{{MW legacy branch number}}</span>
+
<span style="padding: 0.1em 0.3em; font-weight: bold; border: 5px solid #{{MW version/color|{{MW legacy branch number}}}};" title="legacy: {{MW version/status|{{MW legacy branch number}}}}">{{MW legacy branch number}}</span>
<span style="border: 5px solid #{{MW version/color| {{MW ancient branch number}} }}; padding:.1em .3em; font-weight:bold">{{MW ancient branch number}}</span>
+
<span style="padding: 0.1em 0.3em; font-weight: bold; border: 5px solid #{{MW version/color|{{MW legacy lts branch number}}}};" title="legacy lts: {{MW version/status|{{MW legacy lts branch number}}}}">{{MW legacy lts branch number}}</span>
<span style="border: 5px solid #{{MW version/color|X.XX}}; padding:.1em .3em; font-weight:bold">X.XX</span>
+
<span style="padding: 0.1em 0.3em; font-weight: bold; border: 5px solid #{{MW version/color|{{MW ancient branch number}}}};" title="ancient: {{MW version/status|{{MW ancient branch number}}}}">{{MW ancient branch number}}</span>
 +
<span style="padding: 0.1em 0.3em; font-weight: bold; border: 5px solid #{{MW version/color|X.XX}};" title="{{MW version/status|X.XX}}">X.XX</span>
 
</noinclude>
 
</noinclude>

2014年4月2日 (水) 14:06時点における版

master 1.27 1.20 テンプレート:MW legacy lts branch number 1.6 X.XX