Difference between revisions of "Template:Comments"
Line 1: | Line 1: | ||
view = {{{view|}} | <noinclude> | ||
<!-- | ---- | ||
<pre>{{comments}}</pre> | |||
{{comments}} | |||
---- | |||
<pre>{{comments|view = Public also}}</pre> | |||
{{comments|view = Public also}} | |||
---- | |||
<pre>{{comments|view=Public only}}</pre> | |||
{{comments|view=Public only}} | |||
</noinclude><includeonly><!-- | |||
-->{{#ifeq: {{{view|}}}|public comments only | -->{{#ifeq: {{{view|}}}|public comments only | ||
|1<div style='background-color:transparent;width:100%;position:relative;bottom:0;text-align:center'>{{#widget:DISQUS | |1<div style='background-color:transparent;width:100%;position:relative;bottom:0;text-align:center'>{{#widget:DISQUS | ||
Line 20: | Line 30: | ||
else-->|4<div style='background-color:transparent;width:100%;position:relative;bottom:0;text-align:center'>{{ShowComments|show=True}}</div><!-- | else-->|4<div style='background-color:transparent;width:100%;position:relative;bottom:0;text-align:center'>{{ShowComments|show=True}}</div><!-- | ||
-->}}}} | -->}}}} | ||
</includeonly> |
Revision as of 18:30, 20 January 2013
{{comments}}
24
{{#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}}
24
{{#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}}
24
{{#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
}}