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
New!
 
imported>Perapin
No edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| cellspacing="0" cellpadding="0" style="float:right; clear:right; margin:0 0 .5em 1em; width:250px; color:black; background:#ffffff; border-collapse:collapse; border:1px solid #D1D1FF; font-size:12px; line-height:1.5"
<div style="float:right; width:250px; background:white; border:1px solid #cccccc; font-size:12px; border-radius: 7px; -webkit-border-radius: 7px; margin:10px">
|-
 
|<div id="infoboxinternal">
<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/>
{| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:{{{3|#FFFFFF}}}; border-collapse:collapse; vertical-align:middle; font-size:12px;"
 
|-
<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>
! colspan="2" style="text-align:center; color:black; background:#1FE0FF; font-size:15px; padding:2px" | {{{partytitle|}}}
 
|-
<span style="text-align:center;margin-left:auto;margin-right:auto;display:block">''Author's rating:''</span>
| colspan="2" style="text-align:center; padding:10px 0; background:{{{imageBG|#FFFFFF}}};"| [[Image:{{{image|}}}|{{{imagesize|}}}]]<br/>''{{{caption|<span style="color:white"></span>}}}''
{{#ifexpr: {{{rating|-0}}} >= 0 AND {{{rating|-0}}} <= 49 |{{PartyReviewInfobox/GradeStyle|Not satisfactory}} |<span style="color:#33CCFF"></span>}}
|-
{{#ifexpr: {{{rating|-0}}} >= 50 AND {{{rating|-0}}} <= 69 |{{PartyReviewInfobox/GradeStyle|Decent}} |<span style="color:#33CCFF"></span>}}
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:black; background:#D1D1FF; font-size:13px; border-top-right-radius:7px; border-top-left-radius:7px; padding:2px" | '''Ratings'''
{{#ifexpr: {{{rating|-0}}} >= 70 AND {{{rating|-0}}} <= 89 |{{PartyReviewInfobox/GradeStyle|Prestigious}} |<span style="color:#33CCFF"></span>}}
|-
{{#ifexpr: {{{rating|-0}}} >= 90 AND {{{rating|-0}}} <= 100 |{{PartyReviewInfobox/GradeStyle|Critically acclaimed}} |<span style="color:#33CCFF"></span>}}
|'''Author's Rating'''
<span style="display:block;border:1px solid lavender;width:100%;margin-left:-1px;text-align:center">&#160;</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>
{{#ifexpr: {{{rating|}}} >= 0 AND {{{rating|}}} <= 49 |{{PartyReviewInfobox/GradeStyle|Not satisfactory}} |<span style="color:#33CCFF"></span>}}
<br/>
{{#ifexpr: {{{rating|}}} >= 50 AND {{{rating|}}} <= 69 |{{PartyReviewInfobox/GradeStyle|Decent}} |<span style="color:#33CCFF"></span>}}
{{#ifexpr: {{{rating|}}} >= 70 AND {{{rating|}}} <= 89 |{{PartyReviewInfobox/GradeStyle|Prestigious}} |<span style="color:#33CCFF"></span>}}
{{#ifexpr: {{{rating|}}} >= 90 AND {{{rating|}}} <= 100 |{{PartyReviewInfobox/GradeStyle|Critically acclaimed}} |<span style="color:#33CCFF"></span>}}
<div style="width:177px; background:white; display:block; border:1px solid skyblue"><br/></div>
<div style="width:{{{rating|}}}%; background:#00E0FF; display:block; white-space:nowrap; margin-top:-19px; padding-left:2px; box-shadow:0 0 7px #00C2FF inset; text-shadow: 0 0 2px royalblue">{{{rating|}}}/100</div>
|-
|}
</div>
</div>
|-
|}
<noinclude>
<noinclude>
==Usage==
==Usage==
This template is intended for use on user blogs for party reviews.  
This template is intended for use for [[Club_Penguin_Wiki:Party_Ratings|party reviews]].  
==Syntax==
==Syntax==
<pre>
<pre style="display:flex">
{{PartyReviewInfobox
{{PartyReviewInfobox
|partytitle =
|image =  
|image =  
|imagesize =
|imagesize =
|caption =  
|caption =  
|partytitle =
|grade =  
|grade =  
|rating =
|rating =
|usergrade =
}}
}}
</pre>
</pre>


==Explanation of parameters==
==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'''
*'''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'''.
*'''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.
*'''caption''': the text set under the image (optional). If not used in a party review, remove the line <code>"'''|caption ='''"</code> from the infobox's code on the page of that party review.
*'''partytitle''': the title of the party being reviewed. Example input: '''Merry Walrus Party'''
*'''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:
*'''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
**Not satisfactory = 0 - 49 out of 100

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