Diferencia entre revisiones de «Plantilla:Rosharan date»

De La Coppermind
Ir a la navegación Ir a la búsqueda
m (→‎Users: tweak doc)
(Accounting for irregular date names as seen in the Way of Kings epigraphs)
Línea 4: Línea 4:
   
 
-->{{#switch:{{number|{{{month|}}}|}}|1=Jes|2=Nan|3=Chach|4=Vev|5=Palah|6=Shash|7=Betab|8=Kak|9=Tanat|10=Ish{{#if:{{{week|}}}||i}}<!-- -->}}<!--
 
-->{{#switch:{{number|{{{month|}}}|}}|1=Jes|2=Nan|3=Chach|4=Vev|5=Palah|6=Shash|7=Betab|8=Kak|9=Tanat|10=Ish{{#if:{{{week|}}}||i}}<!-- -->}}<!--
-->{{#switch:{{number|{{{week| }}}|}}| 1=es| 2=an| 3=ach| 4=ev| 5=ah| 6=ash| 7=ab| 8=ak| 9=at|10=ish{{#if:{{{day|}}}||i}}<!-- -->}}<!--
+
-->{{#switch:{{number|{{{week| }}}|}}| 1=es| 2={{#switch:{{number|{{{month|}}}|}}|1=n}}an| 3=ach| 4=ev| 5=ah| 6=ash| 7=ab| 8=ak| 9={{#if:{{{day|}}}|{{#switch:{{number|{{{month|}}}|}}|8=t| #default=at}}|at}}|10=ish{{#if:{{{day|}}}||i}}<!-- -->}}<!--
-->{{#switch:{{number|{{{day| }}}|}}| 1=es| 2=an| 3=ach| 4=ev| 5=ah}}<!--
+
-->{{#switch:{{number|{{{day| }}}|}}| 1=es| 2={{#switch:{{number|{{{week|}}}|}}|1=n}}an| 3=ach| 4=ev| 5=ah}}<!--
   
 
-->{{#if:{{{month|}}}|&#32;}}{{{year|}}}</span><!--
 
-->{{#if:{{{month|}}}|&#32;}}{{{year|}}}</span><!--
Línea 15: Línea 15:
   
 
-->{{#switch:{{number|{{{2|}}}|}}|1=Jes|2=Nan|3=Chach|4=Vev|5=Palah|6=Shash|7=Betab|8=Kak|9=Tanat|10=Ish{{#if:{{{3|}}}||i}}<!-- -->}}<!--
 
-->{{#switch:{{number|{{{2|}}}|}}|1=Jes|2=Nan|3=Chach|4=Vev|5=Palah|6=Shash|7=Betab|8=Kak|9=Tanat|10=Ish{{#if:{{{3|}}}||i}}<!-- -->}}<!--
-->{{#switch:{{number|{{{3|}}}|}}| 1=es| 2=an| 3=ach| 4=ev| 5=ah| 6=ash| 7=ab| 8=ak| 9=at|10=ish{{#if:{{{4|}}}||i}}<!-- -->}}<!--
+
-->{{#switch:{{number|{{{3|}}}|}}| 1=es| 2={{#switch:{{number|{{{2|}}}|}}|1=n}}an| 3=ach| 4=ev| 5=ah| 6=ash| 7=ab| 8=ak| 9={{#if:{{{4|}}}|{{#switch:{{number|{{{2|}}}|}}|8=t| #default=at}}|at}}|10=ish{{#if:{{{4|}}}||i}}<!-- -->}}<!--
-->{{#switch:{{number|{{{4|}}}|}}| 1=es| 2=an| 3=ach| 4=ev| 5=ah}}<!--
+
-->{{#switch:{{number|{{{4|}}}|}}| 1=es| 2={{#switch:{{number|{{{3|}}}|}}|1=n}}an| 3=ach| 4=ev| 5=ah}}<!--
   
 
-->{{#if:{{{2|}}}|&#32;|}}{{#if:{{{missing-date|}}}{{{date-missing|}}}|<span class="error" title="{{date/no-args}}">?</span>&#32;}}{{{1|}}}</span><!--
 
-->{{#if:{{{2|}}}|&#32;|}}{{#if:{{{missing-date|}}}{{{date-missing|}}}|<span class="error" title="{{date/no-args}}">?</span>&#32;}}{{{1|}}}</span><!--

Revisión del 05:39 12 nov 2020

This template outputs dates according to the Vorin format. {{Rosharan date|YYYY|MM|WW|DD}}

This template can take in the arguments year, month, week, and day. You need not use every argument in order for this template to work. If any more than the year parameter is provided the date will be converted into a Vorin textual form, and hovering will show in the {{Rosharan numeric date}} format YYYY.MM.WW.DD. If the missing-date parameter is filled instead of the month/week/day parts, it will show a red question-mark with a hover error message. Similarly if the year is missing the template will show an error question-mark unless the no-year parameter is passed. See {{date/no-args}} for a list of templates which require more detail to be added.

For reference, The Way of Kings is mostly set in 1173 and Oathbringer is set at the end of 1174.

Examples

Articles using Template