Template:DailyForecastClassHead: Difference between revisions
From Ephinea PSO Wiki
(Template to color the character class headers in DailyForecast, similar to DailyForecastNumberColor) |
m (clickable class names sko) |
||
(One intermediate revision by one other user 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> | }}[[{{{1}}}|<span style="color:Black;">{{{1}}}</span>]]</th><noinclude> | ||
==Usage & DailyForecast Preview== | ==Usage & DailyForecast Preview== |
Latest revision as of 02:32, 29 November 2024
<th colspan="3" class="uncoloredClass {{{2}}}"
[[{{{1}}}|{{{1}}}]]
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); |