Difference between revisions of "Template:DisplayRatings/Output"

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

Revision as of 16:32, 30 January 2015

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