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