Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:EntryHead: Difference between revisions

Template page
No edit summary
No edit summary
 
(38 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:{{{desc|}}}|{{SHORTDESC:{{{desc}}}}}}}
{{#if:{{{desc|}}}|{{SHORTDESC:{{{desc}}}}}}}
<div style="display:flex;justify-content:space-between;align-items:center;font-family:'Overpass Mono',monospace;font-size:0.8em;letter-spacing:0.07em;text-transform:uppercase;background-color:#f8f9f9;padding:0.35em 1em 0.25em 1em;margin-bottom:2em;border-radius:4px;color:#666;border-bottom:1px solid #ddd;border-right:1px solid #ddd;">  <div style="color:#999;font-size:0.9em;font-weight:normal;">[[Journal|📓]] {{#if:{{{date|}}}|{{#invoke:DateCategory|prettyDate|{{{date}}}}}|{{MONTHNAME|{{REVISIONMONTH}}}} {{REVISIONDAY}}, {{REVISIONYEAR}}}} {{#ifeq:{{{update|}}}|1| • Updated: {{MONTHNAME|{{REVISIONMONTH}}}} {{REVISIONDAY}}, {{REVISIONYEAR}}}}</div>
{{#if:{{{link|}}}|<div style="color:#666; text-transform:none; font-size:0.75em; letter-spacing:0em; text-decoration:none;">🔗 [{{{link}}} {{{link}}}]</div>}}</div>


<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;">
{{#if:{{{date|}}}|{{#invoke:DateCategory|monthYear|{{{date}}}}}|[[Category:{{REVISIONMONTH}}/{{REVISIONYEAR}}]]}}
<div style="color: #999; font-size: 0.9em; letter-spacing: 0.05em; font-weight: normal;">
{{#if:{{{link|}}}|[[Category:Permalink]]}}
[[Journal|📝]]
{{#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:{{GetMonth|{{#expr:{{{date}}} mod 10000 div 100}}}}/{{#expr:{{{date}}} div 10000}}]]
|
  [[Category:{{#padleft:{{REVISIONMONTH}}|2|0}}/{{REVISIONYEAR}}]]
}}

Latest revision as of 16:59, 3 April 2025

📓 April 3, 2025