Difference between revisions of "Template:DisplayRatings/Output"

From Wikispooks
Jump to navigation Jump to search
(link to the ratings scale from stars)
(Trim link encoding)
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
| 2=<br/>{{DecodeLinks|{{{6|}}}}}
+
| 2=<br/>{{{6|}}}
 
| 3
 
| 3
 
| 4 <!-- For many ratings, could abbreviate this to show just the first 72 characters+ "..." -->
 
| 4 <!-- For many ratings, could abbreviate this to show just the first 72 characters+ "..." -->
| 5=<br/>{{DecodeLinks|{{{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>

Revision as of 15:41, 15 June 2019

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