Difference between revisions of "Template:Best rated articles"

m (1 revision)
 
Line 3: Line 3:
[[Rationale::Shows an info box of the best rated comments in this wiki.]]
[[Rationale::Shows an info box of the best rated comments in this wiki.]]
[[Category:Template]]
[[Category:Template]]
</noinclude><includeonly>{{#vardefine:query|[[Article has average rating::+]]}} {{#vardefine:resultLimit|5}} {{#vardefine:resultNumber|{{#ask: {{#var:query}} | format=count}}}}
</noinclude><includeonly>{{#vardefine:query|[[Article has average rating::+]]}} {{#vardefine:resultLimit|5}} {{#vardefine:resultNumber|{{#ask: {{#var:query}} | format=count}}}}  


{| cellspacing="0" cellpadding="5" style="border: 1px solid rgb(170, 170, 170); margin: 0pt 0pt 0.5em 1em; background: rgb(255, 255, 255) none repeat scroll 0% 0%; position: relative; border-collapse: collapse; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; float: right; clear: right; width: 35%;"
{| cellspacing="0" cellpadding="5" style="border: 1px solid rgb(170, 170, 170); margin: 0pt 0pt 0.5em 1em; background: rgb(255, 255, 255) none repeat scroll 0% 0%; position: relative; border-collapse: collapse; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; float: right; clear: right; width: 35%;"
|-
|-
! style="background: rgb(237, 244, 252) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; color: black;" colspan="2" | ({{#var:resultNumber}}) best rated articles
! style="background: rgb(237, 244, 252) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; color: black;" colspan="2" | ({{#var:resultNumber}}) best rated articles  
|-
|-
| {{#ask: {{#var:query}}
| {{#ask: {{#var:query}}  
|?Article has average rating
|?Article has average rating
| sort=Article has average rating
| sort=Article has average rating
Line 15: Line 15:
| format=template
| format=template
| template=Article row for comment ratings
| template=Article row for comment ratings
| limit={{#var:resultLimit}}
| limit={{#var:resultLimit}}  
| searchlabel=
| searchlabel=  
| link=none
| link=none  
| default=*''no article commented yet''
| default=*''no article commented yet''
}}
}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
[[Part of bundle::Collaboration| ]]
 
{{Part of bundle|value=Collaboration}}
 
{{Content hash|value=}}
 
</noinclude>
</noinclude>

Latest revision as of 12:57, 21 March 2013