Template:Current Frontline map: Difference between revisions

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
No edit summary
Alyko (talk | contribs)
shift timezone to align with JST
Line 1: Line 1:
<includeonly>{{#switch: {{#expr: ( ( {{#time:U|now|Asia/Tokyo}} div 86400 ) - 20405 ) mod 4 }}
<includeonly>{{#switch: {{#expr:
  ( ( ( {{#time:U|now}} - 50400 ) div 86400 ) - 20405 ) mod 4
}}
  | 0 = The Borderland Ruins (Secure)
  | 0 = The Borderland Ruins (Secure)
  | 1 = Seal Rock (Seize)
  | 1 = Seal Rock (Seize)
  | 2 = The Fields of Glory (Shatter)
  | 2 = The Fields of Glory (Shatter)
  | 3 = Onsal Hakair (Danshig Naadam)
  | 3 = Onsal Hakair (Danshig Naadam)
}}[{{fullurl:{{BASEPAGENAME}}|action=purge}} <small><small>(refresh)</small></small>]</includeonly><noinclude>
}}[{{fullurl:{{BASEPAGENAME}}|action=purge}} <small><small>(refresh)</small></small>]</includeonly>
== Description ==
== Description ==
Returns the current map in the Frontline Daily Challenge rotation.
Returns the current map in the Frontline Daily Challenge rotation.

Revision as of 14:04, 22 December 2025

Description

Returns the current map in the Frontline Daily Challenge rotation.

To update this template:

  • Add the new map in the list, following the pattern.
    4 = Cool Map Name
  • Adjust the mod number in the switch statement to be the total number of maps in the rotation
    • If there are four maps in the rotation, use mod 4. If five maps, use mod 5.