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
 
(40 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- EntryHeader template
Usage:
{{EntryHeader | date = March 29, 2025 | desc = Description text. | update = 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="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>
<div style="color: #999; font-size: 0.9em; letter-spacing: 0.05em; font-weight: normal;">
{{#if:{{{link|}}}|<div style="color:#666; text-transform:none; font-size:0.75em; letter-spacing:0em; text-decoration:none;">🔗 [{{{link}}} {{{link}}}]</div>}}</div>
[[Journal|📝]] // {{#if:{{{date|}}}|{{{date}}}|{{MONTHNAME|{{REVISIONMONTH}}}} {{REVISIONDAY}}, {{REVISIONYEAR}}}}
 
{{#ifeq:{{{update|}}}|1|// Last updated: {{MONTHNAME|{{REVISIONMONTH}}}} {{REVISIONDAY}}, {{REVISIONYEAR}} }}
{{#if:{{{date|}}}|{{#invoke:DateCategory|monthYear|{{{date}}}}}|[[Category:{{REVISIONMONTH}}/{{REVISIONYEAR}}]]}}
</div></div>
{{#if:{{{link|}}}|[[Category:Permalink]]}}
<!-- Auto Category (safe fallback version) -->
{{#if:{{{date|}}}|
  {{#switch:{{lc:{{#explode:{{{date}}}| |0}}}}
    |january=[[Category:01/{{#explode:{{{date}}}| |2}}]]
    |february=[[Category:02/{{#explode:{{{date}}}| |2}}]]
    |march=[[Category:03/{{#explode:{{{date}}}| |2}}]]
    |april=[[Category:04/{{#explode:{{{date}}}| |2}}]]
    |may=[[Category:05/{{#explode:{{{date}}}| |2}}]]
    |june=[[Category:06/{{#explode:{{{date}}}| |2}}]]
    |july=[[Category:07/{{#explode:{{{date}}}| |2}}]]
    |august=[[Category:08/{{#explode:{{{date}}}| |2}}]]
    |september=[[Category:09/{{#explode:{{{date}}}| |2}}]]
    |october=[[Category:10/{{#explode:{{{date}}}| |2}}]]
    |november=[[Category:11/{{#explode:{{{date}}}| |2}}]]
    |december=[[Category:12/{{#explode:{{{date}}}| |2}}]]
    |#default=[[Category:00/Unknown]]
  }}
|
[[Category:{{#padleft:{{REVISIONMONTH}}|2|0}}/{{REVISIONYEAR}}]]
}}

Latest revision as of 16:59, 3 April 2025

📓 April 3, 2025