Difference between revisions of "Template:Blog post"

From Zero-K
Jump to navigation Jump to search
(Another shadow for better visibility.)
(Added purge tempate. Temporarily, hopefully.)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifexist:File:{{#titleparts:{{PAGENAME}}|1|-1}}.jpg|
+
{{Purge}}{{#ifexist:File:{{#titleparts:{{PAGENAME}}|1|-1}}.jpg|
 
<div style="position:relative;overflow:hidden;padding-top:24vw">
 
<div style="position:relative;overflow:hidden;padding-top:24vw">
 
<div style="position:absolute;right:0;top:0;z-index:-1;width:100%;height:100%;overflow:hidden"><img alt="" src="{{filepath:{{#titleparts:{{PAGENAME}}|1|-1}}.jpg}}" style="height:auto;width:auto;max-height:100%;max-width:100%;border:thin solid transparent;border-radius:1em"></div>
 
<div style="position:absolute;right:0;top:0;z-index:-1;width:100%;height:100%;overflow:hidden"><img alt="" src="{{filepath:{{#titleparts:{{PAGENAME}}|1|-1}}.jpg}}" style="height:auto;width:auto;max-height:100%;max-width:100%;border:thin solid transparent;border-radius:1em"></div>
Line 6: Line 6:
 
{{DISPLAYTITLE:<span style="position:absolute;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px)">{{FULLPAGENAME}}</span>}}
 
{{DISPLAYTITLE:<span style="position:absolute;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px)">{{FULLPAGENAME}}</span>}}
 
{{#if:{{{2|}}}|
 
{{#if:{{{2|}}}|
Posted {{#formatdate:{{{2|{{#timel:d M Y|now}}}}}|dmy}}
+
Posted {{#formatdate:{{{2|{{#timel:d M Y|now}}}}}|mdy}}
 
|♥
 
|♥
 
}}
 
}}
Line 16: Line 16:
 
{{clear}}
 
{{clear}}
 
__NOEDITSECTION__
 
__NOEDITSECTION__
[[Category:{{{3|{{#titleparts:{{PAGENAME}}|1|-2}}}}}]]
+
[[Category:{{{3|{{#titleparts:{{PAGENAME}}|1|-2}}}}}|C{{padleft:{{#invoke:String|len|{{#invoke:String|match|{{#titleparts:{{PAGENAME}}|1|-1}}|%d+|plain=false|nomatch=0|ignore_errors=true}}}}|3}}]]

Latest revision as of 21:56, 14 October 2024

Blog pos #Blog post