Template:DailyForecastNumberColor: Difference between revisions

From Ephinea PSO Wiki
(Reduce on code duplication with this span)
 
(use th instead, use table tr for example displat)
Line 1: Line 1:
{{#switch: {{{1|}}}
{{#switch: {{{1|}}}
|3 = <span style="color:#FDCB0A;">3
|3 = <th colspan="3" style="color:#FDCB0A;">3
|2 = <span style="color:#FAFD00;">2
|2 = <th colspan="3" style="color:#FAFD00;">2
|1 = <span style="color:#FFFFCB;">1
|1 = <th colspan="3" style="color:#FFFFCB;">1
|0 = <span style="color:#FFFFFF;">0
|0 = <th colspan="3" style="color:#FFFFFF;">0
|<span style="color:#FFFFFF;">0
|<th style="color:#FFFFFF;">0
}}</span><noinclude>
}}</th><noinclude>
<table><tr>
{{DailyForecastNumberColor|3}}
{{DailyForecastNumberColor|3}}
</tr></table>
<pre>
<pre>
{{DailyForecastNumberColor|3}}
{{DailyForecastNumberColor|3}}
</pre>
</pre>
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 18:24, 12 January 2022

3
{{DailyForecastNumberColor|3}}