Editing Template:DailyForecast

From Ephinea PSO Wiki
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
<noinclude><table style="clear:right; float:right">
<table style="clear:right; float:right" class="psoBackground psoStyle">
<tr><td></noinclude>
 
<table style="width:100%; border-spacing:0px; padding:3px 3px 2px 3px;" class="psoBackground psoStyle">  
<td><table align="center" style="width: 100%">
<tr>
<tr>
<th colspan="12" class="psoHeader psoStyle" style="padding-bottom:0.25em;">Daily Forecast ([[Daily Forecast log|<span style="color: #77e8ff;">log/update</span>]])</th>
<th colspan="12" align="center" class="psoHeader psoStyle" style="width: 100%;">Daily Forecast ([[Daily Forecast log|log/update]])</th>
</tr>
</tr>
<tr style="font-size:larger">
<tr style="font-size:9px">
<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="4">Profession</th><th colspan="4">Race</th><th colspan="4">Gender</th>
</tr>
</tr>
<tr align="center">
<tr align="center" style="font-weight:bold">
<td colspan="4">Profession</td><td colspan="4">Race</td><td colspan="4">Gender</td>
<td colspan="4">{{:Daily Forecast log|job}}</td><td colspan="4">{{:Daily Forecast log|race}}</td><td colspan="4">{{:Daily Forecast log|sex}}</td>
</tr>
</tr>
<tr align="center" >
<tr>
<th colspan="4">{{:Daily Forecast log|job}}</th><th colspan="4">{{:Daily Forecast log|race}}</th><th colspan="4">{{:Daily Forecast log|sex}}</th>
<td style="padding:1px;"><span style="font-size:9px;">HUmr</span></td>
<td style="padding:1px;"><span style="font-size:9px;">HUnl</span></td>
<td style="padding:1px;"><span style="font-size:9px;">HUct</span></td>
<td style="border-right:solid 1px white; padding:1px;"><span style="font-size:9px;">HUcl&nbsp;</span></td>
<td style="padding:1px;"><span style="font-size:9px;">RAmr</span></td>
<td style="padding:1px;"><span style="font-size:9px;">RAml</span></td>
<td style="padding:1px;"><span style="font-size:9px;">RAct</span></td>
<td style="padding:1px;"><span style="font-size:9px;">RAcl</span></td>
<td style="border-left:solid 1px white; padding:1px;"><span style="font-size:9px;">&nbsp;FOmr</span></td>
<td style="padding:1px;"><span style="font-size:9px;">FOml</span></td>
<td style="padding:1px;"><span style="font-size:9px;">FOnm</span></td>
<td style="padding:1px;"><span style="font-size:9px;">FOnl</span></td>
</tr>
</tr>
<tr>
<tr>
{{DailyForecastClassHead|HUmr|topLeft}}
{{DailyForecastClassHead|HUnl}}
{{DailyForecastClassHead|HUct}}
{{DailyForecastClassHead|HUcl|topRight}}
</tr>
<tr style="height:25px; vertical-align: top;">
<!--HUmr-->
<!--HUmr-->
{{DailyForecastNumberColor|
{{#switch:
{{DailyForecastCalc|HUmr}}
{{#expr:
{{#ifeq:{{:Daily Forecast log|job}}|Hunters|1|0}}
+{{#ifeq:{{:Daily Forecast log|race}}|Humans|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Males|1|0}}
}}
}}
|3 = <th style="color:#FDCB0A;">3
|2 = <th style="color:#FAFD00;">2
|1 = <th style="color:#FFFFCB;">1
|0 = <th style="color:#FFFFFF;">0
|#default=<th style="color:#FFFFFF;">0
}}</th>
<!--HUnl-->
<!--HUnl-->
{{DailyForecastNumberColor|
{{#switch:
{{DailyForecastCalc|HUnl}}
{{#expr:
{{#ifeq:{{:Daily Forecast log|job}}|Hunters|1|0}}
+{{#ifeq:{{:Daily Forecast log|race}}|Newmans|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Females|1|0}}
}}
}}
|3 = <th style="color:#FDCB0A;">3
|2 = <th style="color:#FAFD00;">2
|1 = <th style="color:#FFFFCB;">1
|0 = <th style="color:#FFFFFF;">0
|#default=<th style="color:#FFFFFF;">0
}}</th>
<!--HUct-->
<!--HUct-->
{{DailyForecastNumberColor|
{{#switch:
{{DailyForecastCalc|HUct}}
{{#expr:
{{#ifeq:{{:Daily Forecast log|job}}|Hunters|1|0}}
+{{#ifeq:{{:Daily Forecast log|race}}|Droids|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Males|1|0}}
}}
}}
|3 = <th style="color:#FDCB0A;">3
|2 = <th style="color:#FAFD00;">2
|1 = <th style="color:#FFFFCB;">1
|0 = <th style="color:#FFFFFF;">0
|#default=<th style="color:#FFFFFF;">0
}}</th>
<!--HUcl-->
<!--HUcl-->
{{DailyForecastNumberColor|
{{#switch:
{{DailyForecastCalc|HUcl}}
{{#expr:
{{#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>
|3 = <th style="color:#FDCB0A;">3
<tr>
|2 = <th style="color:#FAFD00;">2
{{DailyForecastClassHead|RAmr}}
|1 = <th style="color:#FFFFCB;">1
{{DailyForecastClassHead|RAml}}
|0 = <th style="color:#FFFFFF;">0
{{DailyForecastClassHead|RAct}}
|#default=<th style="color:#FFFFFF;">0
{{DailyForecastClassHead|RAcl}}
}}</th>
</tr>
<tr style="height:25px; vertical-align:top;">
<!--RAmr-->
<!--RAmr-->
{{DailyForecastNumberColor|
{{#switch:
{{DailyForecastCalc|RAmr}}
{{#expr:
{{#ifeq:{{:Daily Forecast log|job}}|Rangers|1|0}}
+{{#ifeq:{{:Daily Forecast log|race}}|Humans|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Males|1|0}}
}}
}}
|3 = <th style="color:#FDCB0A;">3
|2 = <th style="color:#FAFD00;">2
|1 = <th style="color:#FFFFCB;">1
|0 = <th style="color:#FFFFFF;">0
|#default=<th style="color:#FFFFFF;">0
}}</th>
<!--RAml-->
<!--RAml-->
{{DailyForecastNumberColor|
{{#switch:
{{DailyForecastCalc|RAml}}
{{#expr:
{{#ifeq:{{:Daily Forecast log|job}}|Rangers|1|0}}
+{{#ifeq:{{:Daily Forecast log|race}}|Humans|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Females|1|0}}
}}
}}
|3 = <th style="color:#FDCB0A;">3
|2 = <th style="color:#FAFD00;">2
|1 = <th style="color:#FFFFCB;">1
|0 = <th style="color:#FFFFFF;">0
|#default=<th style="color:#FFFFFF;">0
}}</th>
<!--RAct-->
<!--RAct-->
{{DailyForecastNumberColor|
{{#switch:
{{DailyForecastCalc|RAct}}
{{#expr:
{{#ifeq:{{:Daily Forecast log|job}}|Rangers|1|0}}
+{{#ifeq:{{:Daily Forecast log|race}}|Droids|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Males|1|0}}
}}
}}
|3 = <th style="color:#FDCB0A;">3
|2 = <th style="color:#FAFD00;">2
|1 = <th style="color:#FFFFCB;">1
|0 = <th style="color:#FFFFFF;">0
|#default=<th style="color:#FFFFFF;">0
}}</th>
<!--RAcl-->
<!--RAcl-->
{{DailyForecastNumberColor|
{{#switch:
{{DailyForecastCalc|RAcl}}
{{#expr:
{{#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>
|3 = <th style="color:#FDCB0A;">3
<tr>
|2 = <th style="color:#FAFD00;">2
{{DailyForecastClassHead|FOmr}}
|1 = <th style="color:#FFFFCB;">1
{{DailyForecastClassHead|FOml}}
|0 = <th style="color:#FFFFFF;">0
{{DailyForecastClassHead|FOnm}}
|#default=<th style="color:#FFFFFF;">0
{{DailyForecastClassHead|FOnl}}
}}</th>
</tr>
<tr style="height:25px; vertical-align:top;">
<!--FOmr-->
<!--FOmr-->
{{DailyForecastNumberColor|
{{#switch:
{{DailyForecastCalc|FOmr}}
{{#expr:
{{#ifeq:{{:Daily Forecast log|job}}|Forces|1|0}}
+{{#ifeq:{{:Daily Forecast log|race}}|Humans|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Males|1|0}}
}}
}}
|3 = <th style="color:#FDCB0A;">3
|2 = <th style="color:#FAFD00;">2
|1 = <th style="color:#FFFFCB;">1
|0 = <th style="color:#FFFFFF;">0
|#default=<th style="color:#FFFFFF;">0
}}</th>
<!--FOml-->
<!--FOml-->
{{DailyForecastNumberColor|
{{#switch:
{{DailyForecastCalc|FOml}}
{{#expr:
{{#ifeq:{{:Daily Forecast log|job}}|Forces|1|0}}
+{{#ifeq:{{:Daily Forecast log|race}}|Humans|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Females|1|0}}
}}
}}
|3 = <th style="color:#FDCB0A;">3
|2 = <th style="color:#FAFD00;">2
|1 = <th style="color:#FFFFCB;">1
|0 = <th style="color:#FFFFFF;">0
|#default=<th style="color:#FFFFFF;">0
}}</th>
<!--FOnm-->
<!--FOnm-->
{{DailyForecastNumberColor|
{{#switch:
{{DailyForecastCalc|FOnm}}
{{#expr:
{{#ifeq:{{:Daily Forecast log|job}}|Forces|1|0}}
+{{#ifeq:{{:Daily Forecast log|race}}|Newmans|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Males|1|0}}
}}
}}
|3 = <th style="color:#FDCB0A;">3
|2 = <th style="color:#FAFD00;">2
|1 = <th style="color:#FFFFCB;">1
|0 = <th style="color:#FFFFFF;">0
|#default=<th style="color:#FFFFFF;">0
}}</th>
<!--FOnl-->
<!--FOnl-->
{{DailyForecastNumberColor|
{{#switch:
{{DailyForecastCalc|FOnl}}
{{#expr:
{{#ifeq:{{:Daily Forecast log|job}}|Forces|1|0}}
+{{#ifeq:{{:Daily Forecast log|race}}|Newmans|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Females|1|0}}
}}
}}
|3 = <th style="color:#FDCB0A;">3
|2 = <th style="color:#FAFD00;">2
|1 = <th style="color:#FFFFCB;">1
|0 = <th style="color:#FFFFFF;">0
|#default=<th style="color:#FFFFFF;">0
}}</th>
</tr>
</tr>
<tr class="noPadding"> <!-- Hack to force 1/12 colspans -->
 
<td style="width:8.33%;"></td>
</table></table><noinclude>
<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>
==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>
Please note that all contributions to Ephinea PSO Wiki are considered to be released under the CC BY-NC-SA 4.0 (see Ephinea PSO Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)