Difference between revisions of "Template:Blog"

From Organic Design wiki
(change to info template)
(for Bliki 2.0)
Line 1: Line 1:
<noinclude>
+
<noinclude>{{info|This is an internally used template, please create news items via the [[Post a news item]] page.}}</noinclude><includeonly>{{#vardefine:item|{{#show:{{FULLPAGENAME}}|?Category:News}}}}{{#if:{{#var:item}}|
{{info|This is a template defines the layout and formatting of posted comments created using [[Template:BlogComments]] which allows dynamic blog comments to be posted to the article's talk page. Go to [[Blog example]] to for more details and to see this template in action.}}
+
<div class="next-post">{{#vardefine:list|{{#ask:[[Category:Posts by {{REVISIONUSER}}]]|sort=Creation date|order=DESC|sep=#|link=none}}}}{{#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>}}
</noinclude>
+
</div>
==== {{{1}}} ====
+
== {{FULLPAGENAME}} - a blog post by [[User:{{REVISIONUSER}}|{{REVISIONUSER}}]] ==
{{{3}}}
+
<div class="news-sig">Posted by [[User:{{REVISIONUSER}}|{{REVISIONUSER}}]] on {{#time:d F Y \a\t H:i|{{#show:{{FULLPAGENAME}}|?Creation date}}}}</div>
:''{{{2}}}''
+
{{TagList|{{FULLPAGENAME}}}}<br />}}{{{1}}}{{#if:{{#var:item}}|<br />{{{2}}}<br /><br />
 +
{{#widget:DISQUS|id=childrenarewelcome|uniqid={{FULLPAGENAME}}|url={{fullurl:{{FULLPAGENAME}}}}}}{{#set:BlogSummary={{{1}}}|Blogtext={{{2}}}}}
 +
}}</includeonly>

Revision as of 19:28, 27 July 2013

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