Difference between revisions of "Template:Blog"

From Organic Design wiki
(undo todays changes)
(use #ifcat now #show)
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}}}}{{#if:{{#var:item}}|
 
<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 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><div class="blog-sig">{{BlogSig|{{REVISIONUSER}}|{{#show:{{FULLPAGENAME}}|?Creation date}}}}</div>
 
</div><div class="blog-sig">{{BlogSig|{{REVISIONUSER}}|{{#show:{{FULLPAGENAME}}|?Creation date}}}}</div>
 
{{TagList|{{FULLPAGENAME}}}}<br />}}{{{1}}}{{#if:{{#var:item}}|<br />{{{2}}}<br /><br />
 
{{TagList|{{FULLPAGENAME}}}}<br />}}{{{1}}}{{#if:{{#var:item}}|<br />{{{2}}}<br /><br />
 
}}</includeonly>
 
}}</includeonly>

Revision as of 19:11, 9 September 2015

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