Difference between revisions of "Template:Blog"
From Organic Design wiki
(hide next/prev for now) |
|||
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">{{#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}}|< Prev]]|<span class="no-more">< Prev</span>}} | {{#if:{{#var:next}}|[[{{#var:next}}|Next >]]|<span class="no-more">Next ></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}}|< Prev]]|<span class="no-more">< Prev</span>}} | {{#if:{{#var:next}}|[[{{#var:next}}|Next >]]|<span class="no-more">Next ></span>}}</div> |
</div>{{{1}}}{{#if:{{#var:item}}|<br />{{{2}}}<br /><br /> | </div>{{{1}}}{{#if:{{#var:item}}|<br />{{{2}}}<br /><br /> | ||
}}</includeonly> | }}</includeonly> |