Template:DailyForecast: Difference between revisions
From Ephinea PSO Wiki
m (Adjusting header padding for mobile) |
m (adding color for futureproofing purposes) |
||
(21 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude><table style="clear:right; float:right"> | <noinclude><table style="clear:right; float:right"> | ||
<tr><td></noinclude> | <tr><td></noinclude> | ||
<table style="width:100%; border-spacing:0px; padding:3px 3px 2px 3px;" class="psoBackground psoStyle"> | |||
<table style="width:100%" class="psoBackground psoStyle"> | |||
<tr> | <tr> | ||
<th colspan="12" class="psoHeader psoStyle" style=" | <th colspan="12" class="psoHeader psoStyle" style="padding-bottom:0.25em;">Daily Forecast ([[Daily Forecast log|<span style="color: #77e8ff;">log/update</span>]])</th> | ||
</tr> | </tr> | ||
<tr style="font-size:larger"> | <tr style="font-size:larger"> | ||
<th colspan="12">{{:Daily Forecast log|date}} {{#ifeq:{{#time:j F Y}}|{{:Daily Forecast log|date}}||(<font color=orange>Not Updated</font>)}}</th> | <th colspan="12">{{:Daily Forecast log|date}} {{#ifeq:{{#time:j F Y}}|{{:Daily Forecast log|date}}||(<font color=orange>Not Updated</font>)}}</th> | ||
</tr> | </tr> | ||
<tr | <tr align="center"> | ||
< | <td colspan="4">Profession</td><td colspan="4">Race</td><td colspan="4">Gender</td> | ||
</tr> | </tr> | ||
<tr align="center | <tr align="center" > | ||
< | <th colspan="4">{{:Daily Forecast log|job}}</th><th colspan="4">{{:Daily Forecast log|race}}</th><th colspan="4">{{:Daily Forecast log|sex}}</th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
{{DailyForecastClassHead|HUmr|topLeft}} | |||
{{DailyForecastClassHead|HUnl}} | |||
{{DailyForecastClassHead|HUct}} | |||
{{DailyForecastClassHead|HUcl|topRight}} | |||
</tr> | </tr> | ||
<tr> | <tr style="height:25px; vertical-align: top;"> | ||
<!--HUmr--> | <!--HUmr--> | ||
{{DailyForecastNumberColor| | {{DailyForecastNumberColor| | ||
{{ | {{DailyForecastCalc|HUmr}} | ||
}} | |||
<!--HUnl--> | <!--HUnl--> | ||
{{DailyForecastNumberColor| | {{DailyForecastNumberColor| | ||
{{ | {{DailyForecastCalc|HUnl}} | ||
}} | |||
<!--HUct--> | <!--HUct--> | ||
{{DailyForecastNumberColor| | {{DailyForecastNumberColor| | ||
{{ | {{DailyForecastCalc|HUct}} | ||
}} | |||
<!--HUcl--> | <!--HUcl--> | ||
{{DailyForecastNumberColor| | {{DailyForecastNumberColor| | ||
{{ | {{DailyForecastCalc|HUcl}} | ||
}} | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
{{DailyForecastClassHead|RAmr}} | |||
{{DailyForecastClassHead|RAml}} | |||
{{DailyForecastClassHead|RAct}} | |||
{{DailyForecastClassHead|RAcl}} | |||
</tr> | </tr> | ||
<tr> | <tr style="height:25px; vertical-align:top;"> | ||
<!--RAmr--> | <!--RAmr--> | ||
{{DailyForecastNumberColor| | {{DailyForecastNumberColor| | ||
{{ | {{DailyForecastCalc|RAmr}} | ||
}} | |||
<!--RAml--> | <!--RAml--> | ||
{{DailyForecastNumberColor| | {{DailyForecastNumberColor| | ||
{{ | {{DailyForecastCalc|RAml}} | ||
}} | |||
<!--RAct--> | <!--RAct--> | ||
{{DailyForecastNumberColor| | {{DailyForecastNumberColor| | ||
{{ | {{DailyForecastCalc|RAct}} | ||
}} | |||
<!--RAcl--> | <!--RAcl--> | ||
{{DailyForecastNumberColor| | {{DailyForecastNumberColor| | ||
{{ | {{DailyForecastCalc|RAcl}} | ||
}} | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
{{DailyForecastClassHead|FOmr}} | |||
{{DailyForecastClassHead|FOml}} | |||
{{DailyForecastClassHead|FOnm}} | |||
{{DailyForecastClassHead|FOnl}} | |||
</tr> | </tr> | ||
<tr> | <tr style="height:25px; vertical-align:top;"> | ||
<!--FOmr--> | <!--FOmr--> | ||
{{DailyForecastNumberColor| | {{DailyForecastNumberColor| | ||
{{ | {{DailyForecastCalc|FOmr}} | ||
}} | |||
<!--FOml--> | <!--FOml--> | ||
{{DailyForecastNumberColor| | {{DailyForecastNumberColor| | ||
{{ | {{DailyForecastCalc|FOml}} | ||
}} | |||
<!--FOnm--> | <!--FOnm--> | ||
{{DailyForecastNumberColor| | {{DailyForecastNumberColor| | ||
{{ | {{DailyForecastCalc|FOnm}} | ||
}} | |||
<!--FOnl--> | <!--FOnl--> | ||
{{DailyForecastNumberColor| | {{DailyForecastNumberColor| | ||
{{ | {{DailyForecastCalc|FOnl}} | ||
}} | |||
</tr> | </tr> | ||
<tr class="noPadding"> <!-- Hack to force 1/12 colspans --> | <tr class="noPadding"> <!-- Hack to force 1/12 colspans --> |
Latest revision as of 13:30, 28 November 2022
|
Usage[edit source]
This template is currently semi-automatic, as it does not query the game server, and is meant to be updated daily after midnight UTC.
Currently, said updating is to be done indirectly through the Daily Forecast log transclusion.
Simply transclude the infobox onto the desired destination page by typing {{DailyForecast}}
, for example at the Main Page.
Should the Daily Forecast read "(Not Updated)", please click "(log/update)" just above it for adjusting the day's forecast.