Template:DailyForecastClassHead: Difference between revisions
From Ephinea PSO Wiki
(Template to color the character class headers in DailyForecast, similar to DailyForecastNumberColor) |
(clickable class links but now with proper links instead of redirects, the latest entry in a long list of "things only sundark will notice or ever care about") |
||
| (2 intermediate revisions by 2 users not shown) | |||
| 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> | }}{{#switch: {{{1}}} | ||
|HUmr = [[HUmar|<span style="color:Black;">{{{1}}}</span>]] | |||
|HUnl = [[HUnewearl|<span style="color:Black;">{{{1}}}</span>]] | |||
|HUct = [[HUcast|<span style="color:Black;">{{{1}}}</span>]] | |||
|HUcl = [[HUcaseal|<span style="color:Black;">{{{1}}}</span>]] | |||
|RAmr = [[RAmar|<span style="color:Black;">{{{1}}}</span>]] | |||
|RAml = [[RAmarl|<span style="color:Black;">{{{1}}}</span>]] | |||
|RAct = [[RAcast|<span style="color:Black;">{{{1}}}</span>]] | |||
|RAcl = [[RAcaseal|<span style="color:Black;">{{{1}}}</span>]] | |||
|FOmr = [[FOmar|<span style="color:Black;">{{{1}}}</span>]] | |||
|FOml = [[FOmarl|<span style="color:Black;">{{{1}}}</span>]] | |||
|FOnm = [[FOnewm|<span style="color:Black;">{{{1}}}</span>]] | |||
|FOnl = [[FOnewearl|<span style="color:Black;">{{{1}}}</span>]] | |||
}}</th><noinclude> | |||
==Usage & DailyForecast Preview== | ==Usage & DailyForecast Preview== | ||
Latest revision as of 20:03, 10 September 2025
<th colspan="3" class="uncoloredClass {{{2}}}"
Usage & DailyForecast Preview
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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
| 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); |