Template:DailyForecast: Difference between revisions

From Ephinea PSO Wiki
m (a word)
m (#ifexpr was redundant)
Line 29: Line 29:
{{#switch:
{{#switch:
{{#expr:
{{#expr:
{{#ifexpr:{{#ifeq:{{:Daily Forecast log|job}}|Hunters|1|0}}|1|0}}
{{#ifeq:{{:Daily Forecast log|job}}|Hunters|1|0}}
+{{#ifexpr:{{#ifeq:{{:Daily Forecast log|race}}|Humans|1|0}}|1|0}}
+{{#ifeq:{{:Daily Forecast log|race}}|Humans|1|0}}
+{{#ifexpr:{{#ifeq:{{:Daily Forecast log|sex}}|Males|1|0}}|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Males|1|0}}
}}
}}
|3 = <th style="color:#FDCB0A;">3
|3 = <th style="color:#FDCB0A;">3
Line 42: Line 42:
{{#switch:
{{#switch:
{{#expr:
{{#expr:
{{#ifexpr:{{#ifeq:{{:Daily Forecast log|job}}|Hunters|1|0}}|1|0}}
{{#ifeq:{{:Daily Forecast log|job}}|Hunters|1|0}}
+{{#ifexpr:{{#ifeq:{{:Daily Forecast log|race}}|Newmans|1|0}}|1|0}}
+{{#ifeq:{{:Daily Forecast log|race}}|Newmans|1|0}}
+{{#ifexpr:{{#ifeq:{{:Daily Forecast log|sex}}|Females|1|0}}|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Females|1|0}}
}}
}}
|3 = <th style="color:#FDCB0A;">3
|3 = <th style="color:#FDCB0A;">3
Line 55: Line 55:
{{#switch:
{{#switch:
{{#expr:
{{#expr:
{{#ifexpr:{{#ifeq:{{:Daily Forecast log|job}}|Hunters|1|0}}|1|0}}
{{#ifeq:{{:Daily Forecast log|job}}|Hunters|1|0}}
+{{#ifexpr:{{#ifeq:{{:Daily Forecast log|race}}|Droids|1|0}}|1|0}}
+{{#ifeq:{{:Daily Forecast log|race}}|Droids|1|0}}
+{{#ifexpr:{{#ifeq:{{:Daily Forecast log|sex}}|Males|1|0}}|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Males|1|0}}
}}
}}
|3 = <th style="color:#FDCB0A;">3
|3 = <th style="color:#FDCB0A;">3
Line 68: Line 68:
{{#switch:
{{#switch:
{{#expr:
{{#expr:
{{#ifexpr:{{#ifeq:{{:Daily Forecast log|job}}|Hunters|1|0}}|1|0}}
{{#ifeq:{{:Daily Forecast log|job}}|Hunters|1|0}}
+{{#ifexpr:{{#ifeq:{{:Daily Forecast log|race}}|Droids|1|0}}|1|0}}
+{{#ifeq:{{:Daily Forecast log|race}}|Droids|1|0}}
+{{#ifexpr:{{#ifeq:{{:Daily Forecast log|sex}}|Females|1|0}}|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Females|1|0}}
}}
}}
|3 = <th style="color:#FDCB0A;">3
|3 = <th style="color:#FDCB0A;">3
Line 81: Line 81:
{{#switch:
{{#switch:
{{#expr:
{{#expr:
{{#ifexpr:{{#ifeq:{{:Daily Forecast log|job}}|Rangers|1|0}}|1|0}}
{{#ifeq:{{:Daily Forecast log|job}}|Rangers|1|0}}
+{{#ifexpr:{{#ifeq:{{:Daily Forecast log|race}}|Humans|1|0}}|1|0}}
+{{#ifeq:{{:Daily Forecast log|race}}|Humans|1|0}}
+{{#ifexpr:{{#ifeq:{{:Daily Forecast log|sex}}|Males|1|0}}|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Males|1|0}}
}}
}}
|3 = <th style="color:#FDCB0A;">3
|3 = <th style="color:#FDCB0A;">3
Line 94: Line 94:
{{#switch:
{{#switch:
{{#expr:
{{#expr:
{{#ifexpr:{{#ifeq:{{:Daily Forecast log|job}}|Rangers|1|0}}|1|0}}
{{#ifeq:{{:Daily Forecast log|job}}|Rangers|1|0}}
+{{#ifexpr:{{#ifeq:{{:Daily Forecast log|race}}|Humans|1|0}}|1|0}}
+{{#ifeq:{{:Daily Forecast log|race}}|Humans|1|0}}
+{{#ifexpr:{{#ifeq:{{:Daily Forecast log|sex}}|Females|1|0}}|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Females|1|0}}
}}
}}
|3 = <th style="color:#FDCB0A;">3
|3 = <th style="color:#FDCB0A;">3
Line 107: Line 107:
{{#switch:
{{#switch:
{{#expr:
{{#expr:
{{#ifexpr:{{#ifeq:{{:Daily Forecast log|job}}|Rangers|1|0}}|1|0}}
{{#ifeq:{{:Daily Forecast log|job}}|Rangers|1|0}}
+{{#ifexpr:{{#ifeq:{{:Daily Forecast log|race}}|Droids|1|0}}|1|0}}
+{{#ifeq:{{:Daily Forecast log|race}}|Droids|1|0}}
+{{#ifexpr:{{#ifeq:{{:Daily Forecast log|sex}}|Males|1|0}}|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Males|1|0}}
}}
}}
|3 = <th style="color:#FDCB0A;">3
|3 = <th style="color:#FDCB0A;">3
Line 120: Line 120:
{{#switch:
{{#switch:
{{#expr:
{{#expr:
{{#ifexpr:{{#ifeq:{{:Daily Forecast log|job}}|Rangers|1|0}}|1|0}}
{{#ifeq:{{:Daily Forecast log|job}}|Rangers|1|0}}
+{{#ifexpr:{{#ifeq:{{:Daily Forecast log|race}}|Droids|1|0}}|1|0}}
+{{#ifeq:{{:Daily Forecast log|race}}|Droids|1|0}}
+{{#ifexpr:{{#ifeq:{{:Daily Forecast log|sex}}|Females|1|0}}|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Females|1|0}}
}}
}}
|3 = <th style="color:#FDCB0A;">3
|3 = <th style="color:#FDCB0A;">3
Line 133: Line 133:
{{#switch:
{{#switch:
{{#expr:
{{#expr:
{{#ifexpr:{{#ifeq:{{:Daily Forecast log|job}}|Forces|1|0}}|1|0}}
{{#ifeq:{{:Daily Forecast log|job}}|Forces|1|0}}
+{{#ifexpr:{{#ifeq:{{:Daily Forecast log|race}}|Humans|1|0}}|1|0}}
+{{#ifeq:{{:Daily Forecast log|race}}|Humans|1|0}}
+{{#ifexpr:{{#ifeq:{{:Daily Forecast log|sex}}|Males|1|0}}|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Males|1|0}}
}}
}}
|3 = <th style="color:#FDCB0A;">3
|3 = <th style="color:#FDCB0A;">3
Line 146: Line 146:
{{#switch:
{{#switch:
{{#expr:
{{#expr:
{{#ifexpr:{{#ifeq:{{:Daily Forecast log|job}}|Forces|1|0}}|1|0}}
{{#ifeq:{{:Daily Forecast log|job}}|Forces|1|0}}
+{{#ifexpr:{{#ifeq:{{:Daily Forecast log|race}}|Humans|1|0}}|1|0}}
+{{#ifeq:{{:Daily Forecast log|race}}|Humans|1|0}}
+{{#ifexpr:{{#ifeq:{{:Daily Forecast log|sex}}|Females|1|0}}|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Females|1|0}}
}}
}}
|3 = <th style="color:#FDCB0A;">3
|3 = <th style="color:#FDCB0A;">3
Line 159: Line 159:
{{#switch:
{{#switch:
{{#expr:
{{#expr:
{{#ifexpr:{{#ifeq:{{:Daily Forecast log|job}}|Forces|1|0}}|1|0}}
{{#ifeq:{{:Daily Forecast log|job}}|Forces|1|0}}
+{{#ifexpr:{{#ifeq:{{:Daily Forecast log|race}}|Newmans|1|0}}|1|0}}
+{{#ifeq:{{:Daily Forecast log|race}}|Newmans|1|0}}
+{{#ifexpr:{{#ifeq:{{:Daily Forecast log|sex}}|Males|1|0}}|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Males|1|0}}
}}
}}
|3 = <th style="color:#FDCB0A;">3
|3 = <th style="color:#FDCB0A;">3
Line 172: Line 172:
{{#switch:
{{#switch:
{{#expr:
{{#expr:
{{#ifexpr:{{#ifeq:{{:Daily Forecast log|job}}|Forces|1|0}}|1|0}}
{{#ifeq:{{:Daily Forecast log|job}}|Forces|1|0}}
+{{#ifexpr:{{#ifeq:{{:Daily Forecast log|race}}|Newmans|1|0}}|1|0}}
+{{#ifeq:{{:Daily Forecast log|race}}|Newmans|1|0}}
+{{#ifexpr:{{#ifeq:{{:Daily Forecast log|sex}}|Females|1|0}}|1|0}}
+{{#ifeq:{{:Daily Forecast log|sex}}|Females|1|0}}
}}
}}
|3 = <th style="color:#FDCB0A;">3
|3 = <th style="color:#FDCB0A;">3

Revision as of 12:36, 2 January 2022

Daily Forecast
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.