Difference between revisions of "Template:Blog post"

From Zero-K
Jump to navigation Jump to search
(Gave up trying to make File: work for the image.)
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:7em">
 
<div style="position:relative;overflow:hidden;padding-top:7em">
<div style="position:absolute;right:0;top:0;z-index:-1;width:70%">[[File:{{#titleparts:{{PAGENAME}}|1|-1}}.jpg|center|class=center|alt=|link=]]</div>
+
<div style="position:absolute;right:0;top:0;z-index:-1;width:70%">[[File:{{#titleparts:{{PAGENAME}}|1|-1}}.jpg|0|alt=|link=]]<img src="{{filepath:{{PAGENAME:File:{{#titleparts:{{PAGENAME}}|1|-1}}.jpg}}}}"></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:01, 2 February 2024

Blog pos #Blog post