Difference between revisions of "Template:Blog"

From Organic Design wiki
(hide next/prev for now)
m
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|{{#show:{{FULLPAGENAME}}|?Category:Blog items}}}}{{#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" 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>{{{1}}}{{#if:{{#var:item}}|<br />{{{2}}}<br /><br />
 
</div>{{{1}}}{{#if:{{#var:item}}|<br />{{{2}}}<br /><br />
 
}}</includeonly>
 
}}</includeonly>

Revision as of 18:21, 9 September 2015

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