Difference between revisions of "Template:Comments"
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
view = {{{view|}} | <noinclude> | ||
<!-- | == <nowiki>{{comments}}</nowiki> == | ||
-->{{#ifeq: {{{view|}}}|public only | {{comments}} | ||
== <nowiki>{{comments|view = Public comments also}}</nowiki> == | |||
<!--{{comments|view = Public comments also}}--> | |||
== <nowiki>{{comments|view=Public comments only}}</nowiki> == | |||
<!--{{comments|view=Public comments only}}--> | |||
</noinclude><includeonly><!-- | |||
-->{{#ifeq: {{{view|}}}|public comments only| | |||
<div id='wikiComments' class='publicComments'>{{#widget:DISQUS | |||
|id=bestpracticeswiki | |id=bestpracticeswiki | ||
|uniqid={{PAGENAME}} | |uniqid={{PAGENAME}} | ||
Line 8: | Line 17: | ||
}}</div><!-- | }}</div><!-- | ||
-->|{{#ifeq: {{{view|}}}|public also|{{#!: | else-->|{{#ifeq: {{{view|}}}|public comments also|{{#!: | ||
{| | {| id='wikiComments' class='allComments' rules='cols' | ||
| {{ShowComments|show=True}} | |||
| '''''Blogosphere Comments'''''{{#widget:DISQUS | |||
|id=bestpracticeswiki | |id=bestpracticeswiki | ||
|uniqid={{PAGENAME}} | |uniqid={{PAGENAME}} | ||
Line 18: | Line 27: | ||
|}}}<!-- | |}}}<!-- | ||
else-->|<div | else-->|<div id='wikiComments' class='userComments'>{{ShowComments|show=True}}</div><!-- | ||
-->}}}} | -->}}}} | ||
</includeonly> |
Latest revision as of 20:54, 20 January 2013
{{comments}}
{{#set: |Article has average rating={{#averagerating:}} }} {{#showcommentform:}}
{{#ask: Belongs to article::Template:Comments
| ?Has comment person | ?Has comment date | ?Has comment text | ?Has comment rating | ?Belongs to comment | ?Comment was deleted#true,false | ?Has comment editor | ?Modification date | ?Has attached article | format=template | template=CommentResult | sort=Has comment date | order=asc | link=none | limit=100
}}