Template:DailyForecast: Difference between revisions

From Ephinea PSO Wiki
m (Reverted edits by Ryan (talk) to last revision by Twilight)
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="12" class="psoHeader psoStyle" style="width: 100%; padding-bottom:0.2em;">Daily Forecast ([[Daily Forecast log|log/update]])</th>
<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="12">{{:Daily Forecast log|date}} {{#ifeq:{{#time:j F Y}}|{{:Daily Forecast log|date}}||(<font color=orange>Not Updated</font>)}}</th>
<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 colspan="4">Profession</th><th colspan="4">Race</th><th colspan="4">Gender</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 colspan="4">{{:Daily Forecast log|job}}</td><td colspan="4">{{:Daily Forecast log|race}}</td><td colspan="4">{{:Daily Forecast log|sex}}</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 colspan="3" class="classCanUse">HUnl</td>
<td class="classCanUse">HUnl</td>
<td colspan="3" class="classCanUse">HUct</td>
<td class="classCanUse">HUct</td>
<td colspan="3" class="classCanUse">HUcl</td>
<td class="classCanUse topRight">HUcl</td>
</tr>
</tr>
<tr>
<tr>
Line 52: Line 52:
</tr>
</tr>
<tr>
<tr>
<td colspan="3" class="classCanUse">RAmr</td>
<td class="classCanUse">RAmr</td>
<td colspan="3" class="classCanUse">RAml</td>
<td class="classCanUse">RAml</td>
<td colspan="3" class="classCanUse">RAct</td>
<td class="classCanUse">RAct</td>
<td colspan="3" class="classCanUse">RAcl</td>
<td class="classCanUse">RAcl</td>
</tr>
</tr>
<tr>
<tr>
Line 88: Line 88:
</tr>
</tr>
<tr>
<tr>
<td colspan="3" class="classCanUse">FOmr</td>
<td class="classCanUse">FOmr</td>
<td colspan="3" class="classCanUse">FOml</td>
<td class="classCanUse">FOml</td>
<td colspan="3" class="classCanUse">FOnm</td>
<td class="classCanUse">FOnm</td>
<td colspan="3" class="classCanUse">FOnl</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}}
}}}}
}}}}
</tr>
</td></table></tr>
<tr class="noPadding"> <!-- Hack to force 1/12 colspans -->
<td style="width:8.33%;"></td>
<td style="width:8.33%;"></td>
<td style="width:8.33%;"></td>
<td style="width:8.33%;"></td>
<td style="width:8.33%;"></td>
<td style="width:8.33%;"></td>
<td style="width:8.33%;"></td>
<td style="width:8.33%;"></td>
<td style="width:8.33%;"></td>
<td style="width:8.33%;"></td>
<td style="width:8.33%;"></td>
<td style="width:8.33%;"></td>
</tr>
</table><noinclude></table>
</table><noinclude></table>
==Usage==
==Usage==

Revision as of 01:39, 14 January 2022

Daily Forecast (log/update)
12 November 2024 (Not Updated)
ProfessionRaceGender
HuntersHumansFemales
HUmr HUnl HUct HUcl
3% / 2% 3% / 2% 1% 3% / 2%
RAmr RAml RAct RAcl
1% 3% / 2% 0% 1%
FOmr FOml FOnm FOnl
1% 3% / 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.