Difference between revisions of "Test:Ratings"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
==Average Rating:== | ==Average Rating:== | ||
− | {{#ifeq: {{#ask: [[Constitutes::Rating]][[Has target::{{FULLPAGENAME}}]]|format=count}}| | + | {{#ifeq: {{#ask: [[Constitutes::Rating]][[Has target::{{FULLPAGENAME}}]]|format=count}}|2||[[Has averageRating::{{#ask:[[Constitutes::Rating]][[Has target::{{FULLPAGENAME}}]]| ?Has value| format=average}}]]}} |
{{#if: [[Has averageRating::{{FULLPAGENAME}}]]|Average rating=[[Has averageRating::{{FULLPAGENAME}}]}} | {{#if: [[Has averageRating::{{FULLPAGENAME}}]]|Average rating=[[Has averageRating::{{FULLPAGENAME}}]}} |
Revision as of 16:27, 9 April 2016
For testing Template:Rate & Template:DisplayRatings
Display Ratings
Ratings
Average Rating:
0
{{#if: Test:Ratings"Test:Ratings" is not a number.|Average rating=[[Has averageRating::Test:Ratings]}}