Template:DailyForecast: Difference between revisions
From Ephinea PSO Wiki
Tag: Rollback |
(more testing?) |
||
Line 2: | Line 2: | ||
<tr><td></noinclude> | <tr><td></noinclude> | ||
<table style="width:100%" class="psoBackground psoStyle"> | <table style="width: 100%;" class="psoBackground psoStyle"> | ||
<tr> | <tr> | ||
<th colspan=" | <th colspan="3" class="psoHeader psoStyle" style="width: 100%; padding-bottom:0.2em;">Daily Forecast ([[Daily Forecast log|log/update]])</th> | ||
</tr> | </tr> | ||
<tr style="font-size:larger"> | <tr style="font-size:larger"> | ||
<th colspan=" | <th colspan="3">{{: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"> | ||
<th | <th>Profession</th><th>Race</th><th>Gender</th> | ||
</tr> | </tr> | ||
<tr align="center" style="font-weight:bold"> | <tr align="center" style="font-weight:bold"> | ||
<td | <td>{{:Daily Forecast log|job}}</td><td>{{:Daily Forecast log|race}}</td><td>{{:Daily Forecast log|sex}}</td> | ||
</tr> | </tr> | ||
<tr> | <tr><td colspan="3"><table style="border-spacing: 0; table-layout: fixed; width: 100%;"> | ||
<td colspan="3" class="classCanUse">HUmr</td> | <td class="classCanUse topLeft">HUmr</td> | ||
<td | <td class="classCanUse">HUnl</td> | ||
<td | <td class="classCanUse">HUct</td> | ||
<td | <td class="classCanUse topRight">HUcl</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 52: | Line 52: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td | <td class="classCanUse">RAmr</td> | ||
<td | <td class="classCanUse">RAml</td> | ||
<td | <td class="classCanUse">RAct</td> | ||
<td | <td class="classCanUse">RAcl</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 88: | Line 88: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td | <td class="classCanUse">FOmr</td> | ||
<td | <td class="classCanUse">FOml</td> | ||
<td | <td class="classCanUse">FOnm</td> | ||
<td | <td class="classCanUse">FOnl</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 122: | Line 122: | ||
+{{#ifeq:{{:Daily Forecast log|sex}}|Females|1|0}} | +{{#ifeq:{{:Daily Forecast log|sex}}|Females|1|0}} | ||
}}}} | }}}} | ||
</ | </td></table></tr> | ||
</tr> | |||
</table><noinclude></table> | </table><noinclude></table> | ||
==Usage== | ==Usage== |
Revision as of 01:39, 14 January 2022
|
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.