Difference between revisions of "Template:Blog"

From Organic Design wiki
(hide next/prev for now)
(Undo revision 123914 by Nad (talk))
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{info|This is an internally used template, please create news items via the [[Post a blog item]] page.}}[[Category:Bliki]]</noinclude><includeonly>{{#vardefine:item|{{#show:{{FULLPAGENAME}}|?Category:Blog items}}}}{{#if:{{#var:item}}|
+
<noinclude>{{info|This is an internally used template, please create news items via the [[Post a blog item]] page.}}[[Category:Bliki]]</noinclude><includeonly>{{#vardefine:item|{{#ifcat:Blog items|x}}}}{{#if:{{#var:item}}|
<div class="next-post" style-"display:none">{{#vardefine:list|{{#ask:[[Category:Posts by {{REVISIONUSER}}]]|sort=Creation date|sep=#|link=none|limit=1000}}}}{{#vardefine:prev|{{#prev:{{#var:list}}}}}}{{#vardefine:next|{{#next:{{#var:list}}}}}}<div>More posts by {{REVISIONUSER}}: {{#if:{{#var:prev}}|[[{{#var:prev}}|&lt; Prev]]|<span class="no-more">&lt; Prev</span>}}&nbsp;&#124;&nbsp;{{#if:{{#var:next}}|[[{{#var:next}}|Next &gt;]]|<span class="no-more">Next &gt;</span>}}</div>
+
<div class="next-post">{{#vardefine:list|{{#ask:[[Category:Posts by {{REVISIONUSER}}]]|sort=Creation date|sep=#|link=none|limit=1000}}}}{{#vardefine:prev|{{#prev:{{#var:list}}}}}}{{#vardefine:next|{{#next:{{#var:list}}}}}}More posts by {{REVISIONUSER}}: {{#if:{{#var:prev}}|[[{{#var:prev}}|&lt; Prev]]|<span class="no-more">&lt; Prev</span>}}&nbsp;&#124;&nbsp;{{#if:{{#var:next}}|[[{{#var:next}}|Next &gt;]]|<span class="no-more">Next &gt;</span>}}
</div>{{{1}}}{{#if:{{#var:item}}|<br />{{{2}}}<br /><br />
+
</div><div class="blog-sig">{{BlogSig|{{REVISIONUSER}}|{{#show:{{FULLPAGENAME}}|?Creation date}}}}</div>
 +
{{TagList|{{FULLPAGENAME}}}}<br />}}{{{1}}}{{#if:{{#var:item}}|<br />{{{2}}}<br /><br />
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 00:22, 3 May 2018

Info.svg This is an internally used template, please create news items via the Post a blog item page.