Difference between revisions of "Template:Blog post"

From Zero-K
Jump to navigation Jump to search
Line 1: Line 1:
 
{{#ifexist:File:{{#titleparts:{{PAGENAME}}|1|-1}}.jpg|
 
{{#ifexist:File:{{#titleparts:{{PAGENAME}}|1|-1}}.jpg|
<div style="position:relative;overflow:hidden;padding-top:33em">
+
<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;border:thin solid black;border-radius:1em"><!--[[File:{{#titleparts:{{PAGENAME}}|1|-1}}.jpg|1|alt=|link=]]--><img src="{{filepath:{{#titleparts:{{PAGENAME}}|1|-1}}.jpg}}" style="height:auto;width:auto;max-height:100%;max-width:100%"></div>
+
<div style="position:absolute;right:0;top:0;z-index:-1;width:100%;height:100%;overflow:hiddenm"><!--[[File:{{#titleparts:{{PAGENAME}}|1|-1}}.jpg|1|alt=|link=]]--><img src="{{filepath:{{#titleparts:{{PAGENAME}}|1|-1}}.jpg}}" style="height:auto;width:auto;max-height:100%;max-width:100%;border:thin solid black;border-radius:1e"></div>
 
}}
 
}}
 
={{#if:{{{1|}}}|{{{1}}}|{{padright:|{{#expr:{{#invoke:String|len|{{#titleparts:{{PAGENAME}}|1|-2}}}} - 1}}|{{#titleparts:{{PAGENAME}}|1|-2}} }} #{{#titleparts:{{PAGENAME}}|1|-1}} }}=
 
={{#if:{{{1|}}}|{{{1}}}|{{padright:|{{#expr:{{#invoke:String|len|{{#titleparts:{{PAGENAME}}|1|-2}}}} - 1}}|{{#titleparts:{{PAGENAME}}|1|-2}} }} #{{#titleparts:{{PAGENAME}}|1|-1}} }}=

Revision as of 00:35, 2 February 2024

Blog pos #Blog post