Difference between revisions of "Template:DisplayRatings/Output"

From Wikispooks
Jump to navigation Jump to search
(tweak)
 
(7 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}}}'''}}{{#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/>{{DecodeLinks|{{{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/>{{DecodeLinks|{{{6|}}}}}
+
|5       = <br/>{{{6|}}}
|#default: <!-- = Don't show any review text if more than 5 ratings are here. -->
+
|#default = <br/>{{{6}}}<!-- = 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+ "..." -->

Latest revision as of 18:49, 6 October 2021

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