Difference between revisions of "Template:Rosharan numeric date"

From The Coppermind
Jump to navigation Jump to search
m (add positional variant)
m (+cat)
Line 22: Line 22:
 
-->{{{4|}}}<!--
 
-->{{{4|}}}<!--
   
-->}}</includeonly><noinclude>
+
-->}}</includeonly><noinclude>[[category: date templates]]
   
 
This template outputs a [[Rosharan]] numeric date in the format <code>YYYY.MM.DD.HH</code> up to the precision given. Usage is similar to {{t|Rosharan date}}:
 
This template outputs a [[Rosharan]] numeric date in the format <code>YYYY.MM.DD.HH</code> up to the precision given. Usage is similar to {{t|Rosharan date}}:
Line 28: Line 28:
   
 
The <code>YYYY</code> is mandatory, but the <code>MM</code>, <code>WW</code>, or <code>DD</code> are optional up to the precision wanted. <code>{{{sep}}}</code> can be used to exchange the <code>.</code> for a different separator.
 
The <code>YYYY</code> is mandatory, but the <code>MM</code>, <code>WW</code>, or <code>DD</code> are optional up to the precision wanted. <code>{{{sep}}}</code> can be used to exchange the <code>.</code> for a different separator.
 
[[category: templates]]
 

Revision as of 14:15, 9 December 2017


This template outputs a Rosharan numeric date in the format YYYY.MM.DD.HH up to the precision given. Usage is similar to {{Rosharan date}}:

{{Rosharan numeric date|YYYY|MM|WW|DD}}

The YYYY is mandatory, but the MM, WW, or DD are optional up to the precision wanted. {{{sep}}} can be used to exchange the . for a different separator.