Jump to content

Template:Loredate/doc: Difference between revisions

Created documentation
 
m Tidying up
Line 13: Line 13:
</pre>
</pre>


Dates can be inserted in formats like <code>July 21, 2025</code> or <code>Jul 21 2025</code> or <code>2025-07-21</code>. By default, the conversion is done to the [[Sevoan system]] noted by an era number, but users can set the "academical" parameter to any value to force the academical system's notation. Here are some examples of use:
Dates can be inserted in formats like <code>July 21, 2025</code> or <code>Jul 21 2025</code> or <code>2025-07-21</code>. Not setting a date means that the conversion will be done continuously on the current date of any day. By default, the conversion is done to the [[Sevoan system]] noted by an era number, but users can set the "academical" parameter to any value to force the academical system's notation. Here are some examples of use:


* '''<nowiki>{{Loredate|date=Dec 21 2025}}</nowiki>''' →→ '''{{Loredate|date=Dec 21 2025}}'''<br>
* '''<nowiki>{{Loredate|date=Dec 21 2025}}</nowiki>''' →→ '''{{Loredate|date=Dec 21 2025}}'''<br>

Revision as of 05:37, 21 July 2025

This template is used to convert real time (Gregorian calendar) to the in-game Shine calendar.
For an auto-updating age calculator, see {{Template:Loreage}}

Its full syntax is:

{{Loredate
|date       = <-- insert known IRL date here to convert it to a lore date -->
|long       = <-- set to "yes" if you want to display long-format date -->
|academical = <-- set to "yes" if you want to force the academical system dating -->
|noy        = <-- set to "yes" to remove year value -->
|nod        = <-- set to "yes" to remove date value -->
}}

Dates can be inserted in formats like July 21, 2025 or Jul 21 2025 or 2025-07-21. Not setting a date means that the conversion will be done continuously on the current date of any day. By default, the conversion is done to the Sevoan system noted by an era number, but users can set the "academical" parameter to any value to force the academical system's notation. Here are some examples of use:

  • {{Loredate|date=Dec 21 2025}} →→ Ruve 51, 51 3E
  • {{Loredate|date=Dec 21 2025|academical=yes}} →→ Ruve 51, 1342 AE
  • {{Loredate|date=2024-07-14}} →→ Vale 14, 726 2E
  • {{Loredate|date=August 5, 2025|nod=yes}} →→ 31 3E
  • {{Loredate|date=October 5, 2025|noy=yes}} →→ Surmich 35