Difference between revisions of "Template:Rosharan date"

From The Coppermind
Jump to navigation Jump to search
m (fix)
m (tweak before move)
Line 7: Line 7:
 
--> {{{year|}}}</span>}}}<noinclude>
 
--> {{{year|}}}</span>}}}<noinclude>
   
This template's format is: <nowiki>{{date/sa|year=YYYY|month=MM|week=WW|day=DD}}</nowiki>
+
This template's format is: {{t|Rosharan date|2=year=YYYY|3=month=MM|4=week=WW|5=day=DD}}
   
 
This template outputs dates according to the [[Vorin]] format. This template takes in the arguments ''year'', ''month'', ''week'', and ''day''. You need not use every argument in order for this template to work.
 
This template outputs dates according to the [[Vorin]] format. This template takes in the arguments ''year'', ''month'', ''week'', and ''day''. You need not use every argument in order for this template to work.
Line 13: Line 13:
 
Examples:
 
Examples:
   
* The input <nowiki>{{date/sa|year=1174}}</nowiki> would yield '''{{date/sa|year=1174}}'''.
+
* The input <code>{{t|Rosharan date|2=year=1174}}</code> would yield '''{{Rosharan date|year=1174}}'''.
 
* The input <code>{{t|Rosharan date|2=year=1174|3=month=1|4=week=1|5=day=1}}</code> yields '''{{Rosharan date|year=1174|month=1|week=1|day=1}}'''.
 
* The input <nowiki>{{date/sa|year=1174|month=1|week=1|day=1}}</nowiki> yields '''{{date/sa|year=1174|month=1|week=1|day=1}}'''.
+
* The input <code>{{t|Rosharan numeric date|2=year=1174|3=month=1|4=week=1|5=day=1}}</code> yields '''{{Rosharan numeric date|year=1174|month=1|week=1|day=1}}'''.
 
* The input <nowiki>{{date/sa|year=1174|month=1|week=1|day=1|.}}</nowiki> yields '''{{date/sa|year=1174|month=1|week=1|day=1|-}}'''.
 
   
 
[[Category: Templates]]
 
[[Category: Templates]]

Revision as of 19:14, 8 December 2017

This template's format is: {{Rosharan date|year=YYYY|month=MM|week=WW|day=DD}}

This template outputs dates according to the Vorin format. This template takes in the arguments year, month, week, and day. You need not use every argument in order for this template to work.

Examples:

Users