Difference between revisions of "Template:DisplayRatings/Output"

From Wikispooks
Jump to navigation Jump to search
(Tweak syntax)
Line 1: Line 1:
 
<noinclude>[[category:Semantic Output Templates]]'''This template is used by [[Template:DisplayRatings]] to format the output.'''</noinclude><includeonly><div style="background:#e0e0e0; border:black; border-collapse:collapse; border-color:black; border-width:3px; border-style:groove;">[[Image:{{{3|}}}star.png|100px|link=Template:Rate]] {{GRAY|{{{4|}}}}} {{{2}}}&nbsp;{{#if: {{{5|}}}|&nbsp;'''{{{5}}}'''}}{{#switch: {{{userparam}}}
 
<noinclude>[[category:Semantic Output Templates]]'''This template is used by [[Template:DisplayRatings]] to format the output.'''</noinclude><includeonly><div style="background:#e0e0e0; border:black; border-collapse:collapse; border-color:black; border-width:3px; border-style:groove;">[[Image:{{{3|}}}star.png|100px|link=Template:Rate]] {{GRAY|{{{4|}}}}} {{{2}}}&nbsp;{{#if: {{{5|}}}|&nbsp;'''{{{5}}}'''}}{{#switch: {{{userparam}}}
|1
+
|1=<br/>{{{6|}}}
 
|2=<br/>{{{6|}}}
 
|2=<br/>{{{6|}}}
|3
+
|3=<br/>{{{6|}}}
|4 <!-- For many ratings, could abbreviate this to show just the first 72 characters+ "..." -->
+
|4=<br/>{{{6|}}}
 
|5=<br/>{{{6|}}}
 
|5=<br/>{{{6|}}}
|#default: <!-- = Don't show any review text if more than 5 ratings are here. -->
+
|#default:<!-- = Don't show any review text if more than 5 ratings are here. -->
 
}}</div></includeonly>
 
}}</div></includeonly>
 +
<!-- For many ratings, could abbreviate this to show just the first 72 characters+ "..." -->

Revision as of 17:24, 4 July 2019

This template is used by Template:DisplayRatings to format the output.