Welcome to the Club Penguin Wiki! Log in or Create an account to join the community!

Template:PartyReviewInfobox: Difference between revisions

From the Club Penguin Wiki, the free, editable encyclopedia about Club Penguin
Jump to navigation Jump to search
imported>Perapin
No edit summary
imported>Perapin
User ratings aren't available because the average rating on the party review cards are not passed in a parameter
Line 16: Line 16:
<br/>
<br/>
<hr style="border:1px solid lavender"/>
<hr style="border:1px solid lavender"/>
<span style="display:block;margin-left:auto;margin-right:auto;text-align:center">
''User rating:''
</span>
{{#ifexpr: {{{userrating|-0}}} >= 0 AND {{{userrating|-0}}} <= 49 |{{PartyReviewInfobox/GradeStyle|Not satisfactory}} |<span style="color:#33CCFF"></span>}}
{{#ifexpr: {{{userrating|-0}}} >= 50 AND {{{userrating|-0}}} <= 69 |{{PartyReviewInfobox/GradeStyle|Decent}} |<span style="color:#33CCFF"></span>}}
{{#ifexpr: {{{userrating|-0}}} >= 70 AND {{{userrating|-0}}} <= 89 |{{PartyReviewInfobox/GradeStyle|Prestigious}} |<span style="color:#33CCFF"></span>}}
{{#ifexpr: {{{userrating|-0}}} >= 90 AND {{{userrating|-0}}} <= 100 |{{PartyReviewInfobox/GradeStyle|Critically acclaimed}} |<span style="color:#33CCFF"></span>}}
<span style="display:block;border:1px solid lavender;width:100%;margin-left:-1px;text-align:center">&#160;</span>
<span style="background:#1AE6FF;display:block;border:1px solid lavender;white-space:nowrap;width:{{{userrating|}}}%;margin-left:-1px;text-align:center;margin-top:-21px">{{{userrating|}}}/100</span>
<br/>
<br/>
</div>
</div>
Line 39: Line 30:
|grade =  
|grade =  
|rating =
|rating =
|usergrade =
}}
}}
</pre>
</pre>

Revision as of 22:13, 4 April 2015

 

[[File:|center|]]

Ratings

Author's rating: Not satisfactory   -0/100



Usage

This template is intended for use for party reviews.

Syntax

{{PartyReviewInfobox
|partytitle =
|image = 
|imagesize =
|caption = 
|grade = 
|rating =
}}

Explanation of parameters

  • partytitle: the title of the party being reviewed. Example input: Merry Walrus Party
  • image: image file of the logo of the party being reviewed. Example input: Frozen Party Logo.png
  • imagesize: size (in pixels) of the image being set. Recommended range of 177px to 222px. Example input: 177px.
  • caption: the text set under the image (optional). If not used in a party review, remove the line "|caption =" from the infobox's code on the page of that party review.
  • rating: your personal rating of the party out of 100. Example input: 50, meaning 50 out of 100. Note, grades are defined as follows based on the rating out of 100:
    • Not satisfactory = 0 - 49 out of 100
    • Decent = 50 - 69 out of 100
    • Prestigious = 70 - 89 out of 100
    • Critically acclaimed = 90 - 100 out of 100