Template:Loredate/doc: Difference between revisions
Created documentation |
m Tidying up |
||
(One intermediate revision by the same user not shown) | |||
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> | ||
Line 20: | Line 20: | ||
* '''<nowiki>{{Loredate|date=August 5, 2025|nod=yes}}</nowiki>''' →→ '''{{Loredate|date=August 5, 2025|nod=yes}}'''<br> | * '''<nowiki>{{Loredate|date=August 5, 2025|nod=yes}}</nowiki>''' →→ '''{{Loredate|date=August 5, 2025|nod=yes}}'''<br> | ||
* '''<nowiki>{{Loredate|date=October 5, 2025|noy=yes}}</nowiki>''' →→ '''{{Loredate|date=October 5, 2025|noy=yes}}'''<br> | * '''<nowiki>{{Loredate|date=October 5, 2025|noy=yes}}</nowiki>''' →→ '''{{Loredate|date=October 5, 2025|noy=yes}}'''<br> | ||
* '''<nowiki>{{Loredate}}</nowiki>''' →→ '''{{Loredate}}'''<br> |
Latest 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: