Difference between revisions of "Template:Comments"
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
== <nowiki>{{comments}}</nowiki> == | |||
< | |||
{{comments}} | {{comments}} | ||
< | == <nowiki>{{comments|view = Public also}}</nowiki> == | ||
{{comments|view = Public also}} | {{comments|view = Public also}} | ||
< | == <nowiki>{{comments|view=Public only}}</nowiki> == | ||
{{comments|view=Public only}} | {{comments|view=Public only}} | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
-->{{#ifeq: {{{view|}}}|public comments only | -->{{#ifeq: {{{view|}}}|public comments only | ||
| | |<div style='background-color:transparent;width:100%;position:relative;bottom:0;text-align:center'>{{#widget:DISQUS | ||
|id=bestpracticeswiki | |id=bestpracticeswiki | ||
|uniqid={{PAGENAME}} | |uniqid={{PAGENAME}} | ||
Line 18: | Line 17: | ||
}}</div><!-- | }}</div><!-- | ||
-->| | -->|{{#ifeq: {{{view|}}}|public comments also|{{#!: | ||
{| rules='cols' style='margin:0 auto 0 auto' | {| rules='cols' style='margin:0 auto 0 auto' | ||
| valign=top style='padding:.75em'|'''''User Comments'''''{{ShowComments|show=True}} | | valign=top style='padding:.75em'|'''''User Comments'''''{{ShowComments|show=True}} | ||
Line 28: | Line 27: | ||
|}}}<!-- | |}}}<!-- | ||
else-->| | else-->|<div style='background-color:transparent;width:100%;position:relative;bottom:0;text-align:center'>{{ShowComments|show=True}}</div><!-- | ||
-->}}}} | -->}}}} | ||
</includeonly> | </includeonly> |
Revision as of 18:33, 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
}}
{{comments|view = Public also}}
{{#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
}}
{{comments|view=Public only}}
{{#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
}}