Template:DailyForecast: Difference between revisions

From Ephinea PSO Wiki
(Added link to the Daily Forecast log to ease updating)
(Added date field and visual notification if it doesn't match the current date in UTC time; Added instruction in Usage)
Line 3: Line 3:
<td><table align="center" style="width: 100%">
<td><table align="center" style="width: 100%">
<tr>
<tr>
<th colspan="12" align="center" class="psoHeader psoStyle" style="width: 100%;">Daily Forecast ([[Daily Forecast log|log/update]])</th>
<th colspan="12" class="psoHeader psoStyle" style="width: 100%;">Daily Forecast ([[Daily Forecast log|log/update]])</th>
</tr>
<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>
</tr>
</tr>
<tr style="font-size:9px">
<tr style="font-size:9px">
Line 187: Line 190:
==Usage==
==Usage==
This template is currently semi-automatic, as it does not query the game server, and is meant to be updated daily after midnight UTC.
This template is currently semi-automatic, as it does not query the game server, and is meant to be updated daily after midnight UTC.
<br>
<br/>
Currently, said updating is to be done indirectly through the [[Daily Forecast log]] transclusion.
Currently, said updating is to be done indirectly through the [[Daily Forecast log]] transclusion.
<br>
<br/>
Simply transclude the infobox onto the desired destination page by typing <code><nowiki>{{DailyForecast}}</nowiki></code>, for example at the [[Main Page]].
Simply transclude the infobox onto the desired destination page by typing <code><nowiki>{{DailyForecast}}</nowiki></code>, for example at the [[Main Page]].


Should the Daily Forecast read "<span style="font-weight:bold;">(<span style="color:orange;">Not Updated</span>)</span>", please click "<span style="font-weight:bold;">(log/update)</span>" just above it for adjusting the day's forecast.
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 03:36, 11 January 2022

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

Usage

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.