Difference between revisions of "Template:Star"

From YTMND
Jump to: navigation, search
(rating)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>http://66.254.99.158/assets/images/new_stars/stars_red_{{{1}}}.gif</includeonly>
+
<includeonly>[[Image:Stars_red_{{{1|0}}}.gif]]</includeonly><noinclude>Here's how you do it... you take the score and multiply it by 10 and round off so there's no decimals.
  
<noinclude>Here's how you do it... you take the score and multiply it by 10 and round off so there's no decimals.
+
Example: The score is 3.27. You multiply it by 10, making it 32.7. Then you round it, making it 33. You format it to {{tlp|Star|33}} and here's what you get: {{Star|33}}
  
Example: The score is 3.27. You multiply it by 10, making it 32.7. Then you round it, making it 33. You format it to <nowiki>{{Star|33}}</nowiki> and here's what you get: {{Star|33}}
+
[[Category:Voting templates|Star]]
 
+
[[Category:Rating templates|Wikipedia]]
+
 
</noinclude>
 
</noinclude>

Latest revision as of 19:52, August 18, 2007

Here's how you do it... you take the score and multiply it by 10 and round off so there's no decimals.

Example: The score is 3.27. You multiply it by 10, making it 32.7. Then you round it, making it 33. You format it to {{Star|33}} and here's what you get: Stars red 33.gif