Difference between revisions of "Template:Rosharan date"

Changing template to add a space between year and month/week/day. Currently the output is broken; hope I don't break anything more
m
(Changing template to add a space between year and month/week/day. Currently the output is broken; hope I don't break anything more)
{{{text|{{{year|}}}{{#switch:{{lc:{{{month|}}}|}}
|jes|1=Jes
|nan|2=Nan
|vev|4=ev
|palah|5=ah
}}|}}} {{{year|}}}<noinclude>
 
This template's format is: <nowiki>{{date/sa|year=YYYY|month=MM|week=WW|day=DD}}</nowiki>
Vorin dates are in Vorin dates
 
This template outputs dates in Rosharan 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:
 
* The input <nowiki>{{date/sa|year=1174|month=1|week=1|day=1}}</nowiki> would yield '''{{date/sa|year=1174|month=1|week=1|day=1}}'''.
 
* The input <nowiki>{{date/sa|year=1174}}</nowiki> would yield '''{{date/sa|year=1174}}'''.
 
[[Category: Templates]]
214

edits