Template:TodayLetter
From NovaRoma
(Difference between revisions)
(make it return correctly on leap year) |
m (remv broken leap year system) |
||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{#switch: {{ #expr: {{ #time: z }} mod 8 }} | 0=A | 1=B | 2=C | 3=D | 4=E | 5=F | 6=G | 7=H }}<noinclude> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | {{#switch: {{ #expr: {{ #time: z }} mod 8 }} | 0=A | 1=B | 2=C | 3=D | 4=E | 5=F | 6=G | 7=H | + | |
− | }}<noinclude> | + | |
==Usage== | ==Usage== | ||
Line 12: | Line 5: | ||
'''<nowiki>{{TodayLetter}}</nowiki>''' | '''<nowiki>{{TodayLetter}}</nowiki>''' | ||
− | Returns the nundinal letter for today | + | Returns the nundinal letter for today. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</noinclude> | </noinclude> |
Latest revision as of 00:03, 22 November 2008
F
Usage
{{TodayLetter}}
Returns the nundinal letter for today.