Template:DailyForecast: Difference between revisions

From Ephinea PSO Wiki
(Adjusted colspans)
No edit summary
 
(15 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="3" class="psoHeader psoStyle" style="width: 100%; padding-bottom:0.2em;">Daily Forecast ([[Daily Forecast log|log/update]])</th>
<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="3">{{: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 style="font-size:9px">
<tr align="center">
<th>Profession</th><th>Race</th><th>Gender</th>
<td colspan="4">Profession</td><td colspan="4">Race</td><td colspan="4">Gender</td>
</tr>
</tr>
<tr align="center" style="font-weight:bold">
<tr align="center" >
<td>{{:Daily Forecast log|job}}</td><td>{{:Daily Forecast log|race}}</td><td>{{:Daily Forecast log|sex}}</td>
<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><td colspan="3"><table style="border-spacing: 0; table-layout: fixed; margin: auto;">
<tr>
<td colspan="4" style="width: 25%;" class="classCanUse topLeft">HUmr</td>
{{DailyForecastClassHead|HUmr|topLeft}}
<td colspan="4" style="width: 25%;" class="classCanUse">HUnl</td>
{{DailyForecastClassHead|HUnl}}
<td colspan="4" style="width: 25%;" class="classCanUse">HUct</td>
{{DailyForecastClassHead|HUct}}
<td colspan="4" style="width: 25%;" class="classCanUse topRight">HUcl</td>
{{DailyForecastClassHead|HUcl|topRight}}
</tr>
</tr>
<tr>
<tr style="height:25px; vertical-align: top;">
<!--HUmr-->
<!--HUmr-->
{{DailyForecastNumberColor|
{{DailyForecastNumberColor|
{{#expr:
{{DailyForecastCalc|HUmr}}
{{#ifeq:{{:Daily Forecast log|job}}|Hunters|1|0}}
}}
+{{#ifeq:{{:Daily Forecast log|race}}|Humans|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Males|1|0}}
}}}}
<!--HUnl-->
<!--HUnl-->
{{DailyForecastNumberColor|
{{DailyForecastNumberColor|
{{#expr:
{{DailyForecastCalc|HUnl}}
{{#ifeq:{{:Daily Forecast log|job}}|Hunters|1|0}}
}}
+{{#ifeq:{{:Daily Forecast log|race}}|Newmans|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Females|1|0}}
}}}}
<!--HUct-->
<!--HUct-->
{{DailyForecastNumberColor|
{{DailyForecastNumberColor|
{{#expr:
{{DailyForecastCalc|HUct}}
{{#ifeq:{{:Daily Forecast log|job}}|Hunters|1|0}}
}}
+{{#ifeq:{{:Daily Forecast log|race}}|Droids|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Males|1|0}}
}}}}
<!--HUcl-->
<!--HUcl-->
{{DailyForecastNumberColor|
{{DailyForecastNumberColor|
{{#expr:
{{DailyForecastCalc|HUcl}}
{{#ifeq:{{:Daily Forecast log|job}}|Hunters|1|0}}
}}
+{{#ifeq:{{:Daily Forecast log|race}}|Droids|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Females|1|0}}
}}}}
</tr>
</tr>
<tr>
<tr>
<td colspan="4" class="classCanUse">RAmr</td>
{{DailyForecastClassHead|RAmr}}
<td colspan="4" class="classCanUse">RAml</td>
{{DailyForecastClassHead|RAml}}
<td colspan="4" class="classCanUse">RAct</td>
{{DailyForecastClassHead|RAct}}
<td colspan="4" class="classCanUse">RAcl</td>
{{DailyForecastClassHead|RAcl}}
</tr>
</tr>
<tr>
<tr style="height:25px; vertical-align:top;">
<!--RAmr-->
<!--RAmr-->
{{DailyForecastNumberColor|
{{DailyForecastNumberColor|
{{#expr:
{{DailyForecastCalc|RAmr}}
{{#ifeq:{{:Daily Forecast log|job}}|Rangers|1|0}}
}}
+{{#ifeq:{{:Daily Forecast log|race}}|Humans|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Males|1|0}}
}}}}
<!--RAml-->
<!--RAml-->
{{DailyForecastNumberColor|
{{DailyForecastNumberColor|
{{#expr:
{{DailyForecastCalc|RAml}}
{{#ifeq:{{:Daily Forecast log|job}}|Rangers|1|0}}
}}
+{{#ifeq:{{:Daily Forecast log|race}}|Humans|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Females|1|0}}
}}}}
<!--RAct-->
<!--RAct-->
{{DailyForecastNumberColor|
{{DailyForecastNumberColor|
{{#expr:
{{DailyForecastCalc|RAct}}
{{#ifeq:{{:Daily Forecast log|job}}|Rangers|1|0}}
}}
+{{#ifeq:{{:Daily Forecast log|race}}|Droids|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Males|1|0}}
}}}}
<!--RAcl-->
<!--RAcl-->
{{DailyForecastNumberColor|
{{DailyForecastNumberColor|
{{#expr:
{{DailyForecastCalc|RAcl}}
{{#ifeq:{{:Daily Forecast log|job}}|Rangers|1|0}}
}}
+{{#ifeq:{{:Daily Forecast log|race}}|Droids|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Females|1|0}}
}}}}
</tr>
</tr>
<tr>
<tr>
<td colspan="4" class="classCanUse">FOmr</td>
{{DailyForecastClassHead|FOmr}}
<td colspan="4" class="classCanUse">FOml</td>
{{DailyForecastClassHead|FOml}}
<td colspan="4" class="classCanUse">FOnm</td>
{{DailyForecastClassHead|FOnm}}
<td colspan="4" class="classCanUse">FOnl</td>
{{DailyForecastClassHead|FOnl}}
</tr>
</tr>
<tr>
<tr style="height:25px; vertical-align:top;">
<!--FOmr-->
<!--FOmr-->
{{DailyForecastNumberColor|
{{DailyForecastNumberColor|
{{#expr:
{{DailyForecastCalc|FOmr}}
{{#ifeq:{{:Daily Forecast log|job}}|Forces|1|0}}
}}
+{{#ifeq:{{:Daily Forecast log|race}}|Humans|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Males|1|0}}
}}}}
<!--FOml-->
<!--FOml-->
{{DailyForecastNumberColor|
{{DailyForecastNumberColor|
{{#expr:
{{DailyForecastCalc|FOml}}
{{#ifeq:{{:Daily Forecast log|job}}|Forces|1|0}}
}}
+{{#ifeq:{{:Daily Forecast log|race}}|Humans|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Females|1|0}}
}}}}
<!--FOnm-->
<!--FOnm-->
{{DailyForecastNumberColor|
{{DailyForecastNumberColor|
{{#expr:
{{DailyForecastCalc|FOnm}}
{{#ifeq:{{:Daily Forecast log|job}}|Forces|1|0}}
}}
+{{#ifeq:{{:Daily Forecast log|race}}|Newmans|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Males|1|0}}
}}}}
<!--FOnl-->
<!--FOnl-->
{{DailyForecastNumberColor|
{{DailyForecastNumberColor|
{{#expr:
{{DailyForecastCalc|FOnl}}
{{#ifeq:{{:Daily Forecast log|job}}|Forces|1|0}}
}}
+{{#ifeq:{{:Daily Forecast log|race}}|Newmans|1|0}}
</tr>
+{{#ifeq:{{:Daily Forecast log|sex}}|Females|1|0}}
<tr class="noPadding"> <!-- Hack to force 1/12 colspans -->
}}}}
<td style="width:8.33%;"></td>
</td></table></tr>
<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==

Latest revision as of 18:01, 7 November 2024

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

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.