Difference between revisions of "Template:Comments"
Line 1: | Line 1: | ||
view = {{{view|}}} | view = {{{view|}}} | ||
<!-- | <!-- | ||
-->{{#ifeq: {{{view|}}}|public only | -->{{#ifeq: {{{view|}}}|public comments only | ||
|<div style='background-color:transparent;width:100%;position:relative;bottom:0;text-align:center'>{{#widget:DISQUS | |<div style='background-color:transparent;width:100%;position:relative;bottom:0;text-align:center'>{{#widget:DISQUS | ||
|id=bestpracticeswiki | |id=bestpracticeswiki | ||
Line 8: | Line 8: | ||
}}</div><!-- | }}</div><!-- | ||
-->|{{#ifeq: {{{view|}}}|public also|{{#!: | -->|{{#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}} |
Revision as of 18:15, 20 January 2013
view =
{{#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
}}