Difference between revisions of "Template:Rosharan date"

From The Coppermind
Jump to navigation Jump to search
m (fix-error, add no-year arg to hide error, tweak docs)
m (no-year only works with named arguments)
Line 1: Line 1:
{{#if:{{{year|}}}|<!--
+
{{#if:{{{year|}}}{{{no-year|}}}|<!--
   
 
--><span title="{{Rosharan numeric date|{{{year}}}{{{month|}}}|{{{week|}}}|{{{day|}}}|}}"><!--
 
--><span title="{{Rosharan numeric date|{{{year}}}{{{month|}}}|{{{week|}}}|{{{day|}}}|}}"><!--
Line 10: Line 10:
   
 
end of {{{year}}}
 
end of {{{year}}}
-->|{{#if:{{{1|}}}{{{no-year|}}}|<!--
+
-->|{{#if:{{{1|}}}|<!--
   
 
--><span title="{{Rosharan numeric date|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|}}"><!--
 
--><span title="{{Rosharan numeric date|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|}}"><!--

Revision as of 12:06, 27 December 2017

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's format is: {{Rosharan date|YYYY|MM|WW|DD}}

Examples

Users