Difference between revisions of "Template:DisplayRatings/Output"

From Wikispooks
Jump to navigation Jump to search
(Trim)
(tweak)
 
(10 intermediate revisions by 2 users not shown)
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]] {{GRAY|{{{4|}}}}} {{{2}}}&nbsp;{{#if: {{{5|}}}|&nbsp;'''{{{5}}}'''}}<br/>
+
<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}}}
{{DecodeLinks|{{{6|}}}}}</div></includeonly>
+
|1        = <br/>{{{6|}}}
 +
|2        = <br/>{{{6|}}}
 +
|3        = <br/>{{{6|}}}
 +
|4        = <br/>{{{6|}}}
 +
|5        = <br/>{{{6|}}}
 +
|#default = <br/>{{{6}}}<!-- = Don't show any review text if more than 5 ratings are here. -->
 +
}}</div></includeonly>
 +
<!-- For many ratings, could abbreviate this to show just the first 72 characters+ "..." -->

Latest revision as of 18:49, 6 October 2021

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