Difference between revisions of "Template:Blog post"

From Zero-K
Jump to navigation Jump to search
(Auto navs... probably will need to be reverted; very rough draft.)
(Undo revision 9995 by RandomX (talk) reverted; needs work.)
Tag: Undo
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}}
 
|♥
 
|♥
 
}}
 
}}
 
{{#ifexist:File:{{#titleparts:{{PAGENAME}}|1|-1}}.jpg|
 
{{#ifexist:File:{{#titleparts:{{PAGENAME}}|1|-1}}.jpg|
 
<div style="visibility:hidden;padding:0;margin:0;border:0;position:absolute;top:0;left:0;z-index:-2">[[File:{{#invoke:String|replace|{{#titleparts:{{PAGENAME}}|1|-1}}|%2C|,}}.jpg|1px|alt=|link=]]</div></div>
 
<div style="visibility:hidden;padding:0;margin:0;border:0;position:absolute;top:0;left:0;z-index:-2">[[File:{{#invoke:String|replace|{{#titleparts:{{PAGENAME}}|1|-1}}|%2C|,}}.jpg|1px|alt=|link=]]</div></div>
}}</div><!--
+
}}</div>
Experimental nav links.
 
--><div style="float:right;font-size:smaller;border:gold thin solid">
 
{{#if:{{#expr:{{#invoke:String|match|{{#titleparts:{{PAGENAME}}|1|2}}|%d+|plain=false|ignore_errors=true}}}}>0|
 
{{#ifexist:{{PAGENAME}}/{{#expr:{{#invoke:String|match|{{#titleparts:{{PAGENAME}}|1|2}}|%d+|plain=false|ignore_errors=true}}-1}}|1}}|[[{{PAGENAME}}/{{#expr:{{#invoke:String|match|{{#titleparts:{{PAGENAME}}|1|2}}|%d+|plain=false|ignore_errors=true}}-1}}|{{#invoke:String|sub|{{BASEPAGENAME}}|1|-1}} #{{#expr:{{#invoke:String|match|{{#titleparts:{{PAGENAME}}|1|2}}|%d+|plain=false|ignore_errors=true}}-1}}]]
 
{{#ifexist:{{PAGENAME}}/{{#expr:{{#invoke:String|match|{{#titleparts:{{PAGENAME}}|1|2}}|%d+|plain=false|ignore_errors=true}}+1}}|{{!}}|}}{{#ifexist:{{PAGENAME}}/{{#expr:{{#invoke:String|match|{{#titleparts:{{PAGENAME}}|1|2}}|%d+|plain=false|ignore_errors=true}}+1}}|[[{{PAGENAME}}/{{#expr:{{#invoke:String|match|{{#titleparts:{{PAGENAME}}|1|2}}|%d+|plain=false|ignore_errors=true}}+1}}|{{#invoke:String|sub|{{BASEPAGENAME}}|1|-1}} #{{#expr:{{#invoke:String|match|{{#titleparts:{{PAGENAME}}|1|2}}|%d+|plain=false|ignore_errors=true}}+1}}]]|}}|[[{{BASEPAGENAME}}]]}}<div>
 
<!-- End of experimental nav links. -->
 
  
  

Revision as of 15:33, 29 September 2024

Blog pos #Blog post