More actions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{#if:{{{desc|}}}|{{SHORTDESC:{{{desc}}}}}}} | {{#if:{{{desc|}}}|{{SHORTDESC:{{{desc}}}}}}} | ||
<div style="font-family: 'Alegreya Sans SC', sans-serif; background-color: #f9f9fc; padding: 0.1em 0.75em; margin-bottom: 0.5em; border-radius: 4px; border-bottom: 1px solid #ddd;"> | <div style="font-family: 'Alegreya Sans SC', sans-serif; background-color: #f9f9fc; padding: 0.1em 0.75em; margin-bottom: 0.5em; border-radius: 4px; border-bottom: 1px solid #ddd;"> | ||
<div style="color: #999; font-size: 0.9em; letter-spacing: 0.05em; font-weight: normal;"> | <div style="color: #999; font-size: 0.9em; letter-spacing: 0.05em; font-weight: normal;"> | ||
[[Journal|📝]] | [[Journal|📝]] | ||
{{#if:{{{date|}}}| | {{#if:{{{date|}}}| | ||
<!-- Manual date parsing --> | |||
{{#switch:{{substr:{{{date}}}|4|2}} | |||
|01=January | |||
|02=February | |||
|03=March | |||
|04=April | |||
|05=May | |||
|06=June | |||
|07=July | |||
|08=August | |||
|09=September | |||
|10=October | |||
|11=November | |||
|12=December | |||
}} {{#expr:{{substr:{{{date}}}|6|2}}}}, {{substr:{{{date}}}|0|4}} | |||
| | |||
<!-- Fallback to revision --> | |||
{{MONTHNAME|{{REVISIONMONTH}}}} {{REVISIONDAY}}, {{REVISIONYEAR}} | |||
}} | |||
{{#ifeq:{{{update|}}}|1|<br />Last updated: {{MONTHNAME|{{REVISIONMONTH}}}} {{REVISIONDAY}}, {{REVISIONYEAR}} }}</div></div> | |||
<!-- Auto Category --> | |||
{{#if:{{{date|}}}| | |||
[[Category:{{substr:{{{date}}}|4|2}}/{{substr:{{{date}}}|0|4}}]] | |||
| | | | ||
[[Category:{{#padleft:{{REVISIONMONTH}}|2|0}}/{{REVISIONYEAR}}]] | [[Category:{{#padleft:{{REVISIONMONTH}}|2|0}}/{{REVISIONYEAR}}]] | ||
}} | }} |