Template:DailyForecastClassHead: Difference between revisions

From Ephinea PSO Wiki
(Template to color the character class headers in DailyForecast, similar to DailyForecastNumberColor)
 
m (Added more DailyForecast color information in comments)
 
Line 1: Line 1:
<th colspan="3" class="uncoloredClass {{{2}}}"  
<th colspan="3" class="uncoloredClass {{{2}}}"  
{{#switch: {{DailyForecastCalc|{{{1|}}} }}
{{#switch: {{DailyForecastCalc|{{{1|}}} }}
<!--#FDCB0A-->
<!--#FDCB0A RGB: 253, 203, 10-->
|3 = style="background-color: rgba(253, 203, 10, 1.00);">
|3 = style="background-color: rgba(253, 203, 10, 1.00);">
<!--#FAFD00-->
<!--#FAFD00 RGB: 250, 253, 0-->
|2 = style="background-color: rgba(250, 253, 0, 1.00);">
|2 = style="background-color: rgba(250, 253, 0, 1.00);">
<!--#FFFFCB-->
<!--#FFFFCB RGB: 255, 255, 203-->
|1 = style="background-color: rgba(255, 255, 203, 1.00);">
|1 = style="background-color: rgba(255, 255, 203, 1.00);">
<!--#FFFFFF-->
<!--#FFFFFF RGB: 255, 255, 255-->
|0 = style="background-color: rgba(255, 255, 255, 1.00);">
|0 = style="background-color: rgba(255, 255, 255, 1.00);">
}}{{{1}}}</th><noinclude>
}}{{{1}}}</th><noinclude>

Latest revision as of 03:02, 18 January 2022

<th colspan="3" class="uncoloredClass {{{2}}}"

{{{1}}}

Usage & DailyForecast Preview[edit source]

Daily Forecast (log/update)
12 November 2024 (Not Updated)
ProfessionRaceGender
HuntersHumansFemales
HUmr HUnl HUct HUcl
3% / 2% 3% / 2% 1% 3% / 2%
RAmr RAml RAct RAcl
1% 3% / 2% 0% 1%
FOmr FOml FOnm FOnl
1% 3% / 2% 0% 1%

Template to color the character class headers in Template:DailyForecast, similar to Template:DailyForecastNumberColor.

The first parameter is intended for the character class, while the second is an optional parameter in case one of the following Common.css classes is required:

topLeft | topRight | bottomLeft | bottomRight

Notes[edit source]

CSS class background-color
uncoloredClass background-color: #eee;
classCannotUse background-color: rgba(255, 158, 77, 0.88);
classCanUse background-color: rgba(221, 255, 83, 0.64);