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
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="float:right; width:250px; background:white; border:1px solid #EDEDFF; font-size:12px; border-radius: 7px; -webkit-border-radius: 7px; margin:10px">
<div style="float:right; width:250px; background:white; border:1px solid #cccccc; font-size:12px; border-radius: 7px; -webkit-border-radius: 7px; margin:10px">


<span style="display:block; color:black; font-style:italic; font-size:19px; font-family:Calibri Light,Calibri,Arial; padding:2px; text-align:center;">'''{{{partytitle|&#160;}}}'''</span><br/>
<span style="display:block; color:black; font-style:italic; font-size:19px; font-family:Calibri Light,Calibri,Arial; padding:2px; text-align:center;">'''{{{partytitle|&#160;}}}'''</span><br/>


<span style="text-align:center;display:block;margin-left:auto;margin-right:auto;padding:7px 0;"> [[File:{{{image|}}}|center|{{{imagesize|}}}]] <br/>''{{{caption|<span style="color:white"></span>}}}''</span>
<span style="text-align:center;display:block;margin-left:auto;margin-right:auto;padding:7px 0;"> [[File:{{{image|}}}|center|{{{imagesize|}}}]] <br/>''{{{caption|<span style="color:white"></span>}}}''</span>
<span style="display:block; background-image:linear-gradient(to bottom, #B2B2FF, #7D7DFF); background-color:#D1D1FF; border-top-right-radius:7px; border-top-left-radius:7px; font-size:16px; font-family:Calibri Light,Calibri,Arial; letter-spacing: 1px; text-align:center; margin-left:7px; margin-right:7px;"><span style="background:white;display:block;width:70px;margin-left:auto;margin-right:auto;">'''Ratings'''</span></span>


<span style="text-align:center;margin-left:auto;margin-right:auto;display:block">''Author's rating:''</span>
<span style="text-align:center;margin-left:auto;margin-right:auto;display:block">''Author's rating:''</span>
Line 13: Line 11:
{{#ifexpr: {{{rating|-0}}} >= 90 AND {{{rating|-0}}} <= 100 |{{PartyReviewInfobox/GradeStyle|Critically acclaimed}} |<span style="color:#33CCFF"></span>}}
{{#ifexpr: {{{rating|-0}}} >= 90 AND {{{rating|-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="display:block;border:1px solid lavender;width:100%;margin-left:-1px;text-align:center">&#160;</span>
<span style="background:#33FFAD;display:block;border:1px solid lavender;white-space:nowrap;width:{{{rating|-0}}}%;margin-left:-1px;text-align:center;margin-top:-21px">{{{rating|-0}}}/100</span>
<span style="background:#3393FF;display:block;border:1px solid lavender;white-space:nowrap;width:{{{rating|-0}}}%;margin-left:-1px;text-align:center;margin-top:-21px">{{{rating|-0}}}/100</span>
<br/>
<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 26:
|grade =  
|grade =  
|rating =
|rating =
|usergrade =
}}
}}
</pre>
</pre>

Latest revision as of 02:30, 12 April 2015

 

[[File:|center|]]

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