Site News
Warning: This wiki contains spoilers. Read at your own risk!

Social media: If you would like, please join our Discord server, and/or follow us on Twitter (X) or Tumblr!

Module:GhbRotation/doc: Difference between revisions

From Fire Emblem Wiki, your source on Fire Emblem information. By fans, for fans.
(Created page with "For use on Grand Hero Battle and possibly other locations later on. This module can be used to output Grand Hero Battle data, including the next rerun date, total number o...")
 
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
For use on [[Grand Hero Battle]] and possibly other locations later on. This module can be used to output Grand Hero Battle data, including the next rerun date, total number of reruns, and the current active Grand Hero Battle. Currently relevant only to the seven Grand Hero Battles in rotation: Lloyd, Michalis, Xander, Narcian, Navarre, Robin (female), and Ursula.
For use on [[Grand Hero Battle]] and possibly other locations later on. This module can be used to output Grand Hero Battle data, including the first rerun date, the next rerun date, total number of reruns, and the current active Grand Hero Battle.


Only one parameter is used, the name of the relevant Grand Hero Battle:
The only function, <code>main</code>, takes three parameters, each of them corresponding to a year, a month number, and a day of a month, where the full date represents the first rerun date of a Grand Hero Battle.
<pre>{{#invoke:HeroBattle|Michalis}}</pre>
<pre>{{#invoke:GhbRotation|main|2018|02|10}}</pre>
This outputs:
This outputs:


{{#invoke:HeroBattle|Michalis}}
{{#invoke:GhbRotation|main|2018|02|10}}
 
<includeonly>[[Category:Modules]]</includeonly>
<noinclude>[[Category:Module documentation]]</noinclude>

Latest revision as of 03:28, 3 February 2024

For use on Grand Hero Battle and possibly other locations later on. This module can be used to output Grand Hero Battle data, including the first rerun date, the next rerun date, total number of reruns, and the current active Grand Hero Battle.

The only function, main, takes three parameters, each of them corresponding to a year, a month number, and a day of a month, where the full date represents the first rerun date of a Grand Hero Battle.

{{#invoke:GhbRotation|main|2018|02|10}}

This outputs:

In rotation since February 10, 2018
Rerun in rotation 325 times to date
Next rerun: May 4, 2024