Template:WeeklyBoost: Difference between revisions
From Ephinea PSO Wiki
(Edit the weekly boost template to show double values if Christmas Event is defined) |
m (I noticed the outlines of the boost indicators overlapped with the border of "weekly boosts" and i didn't like that so i fixed it. This will be noticed by nobody and took me maybe two hours to figure out. This is why ryan pays me the big bucks (zero (0))) |
||
Line 1: | Line 1: | ||
<table style="width:100%; border-spacing: 0; padding:3px 3px 2px 3px;" class="psoBackground psoStyle"><th colspan="2" align="center" class="psoHeader psoStyle" style="width: 100%; padding-bottom:0.2em;">Weekly Boost{{#ifeq:{{{All|}}}|on|s|}}</th>{{#if:{{{1|}}}|<tr><th colspan="2">{{{1}}}</th></tr>}} | <table style="width:100%; border-spacing: 0; padding:3px 3px 2px 3px;" class="psoBackground psoStyle"><th colspan="2" align="center" class="psoHeader psoStyle" style="width: 100%; padding-bottom:0.2em;">Weekly Boost{{#ifeq:{{{All|}}}|on|s|}}</th>{{#if:{{{1|}}}|<tr><th colspan="2">{{{1}}}</th></tr>|<tr><th colspan="2" style="padding-bottom:0.2em"></th></tr>}} | ||
<tr> | <tr> | ||
<td class="uncoloredClass topLeft" style="width:50%; font-size: 100%; background-color: | <td class="uncoloredClass topLeft" style="width:50%; font-size: 100%; background-color: |
Latest revision as of 03:32, 30 October 2024
Weekly Boost | |
---|---|
Experience +50% |
Rare Monster +50% |
Drop All Rate +25% |
Rare Drop Rate +25% |
Usage[edit source]
This template is meant to be semi-automatic, only adjusted where it is transcluded (such as the Main Page) on occasions such as events or holidays.
As of this writing, a switch to enable all boosts is offered as well as two optional rows as numbered/unnamed parameters for event/holiday text.
Said occasions should be conveniently commented within the template transclusion to save time and uncommented/recommented as necessary.
Examples[edit source]
|
<table style="clear:right; float:right; width:295px"> <tr><td> {{WeeklyBoost |All=off <!-- |All=on--> <!-- Event Texts --> <!-- |Halloween Event --> <!-- |Christmas Event (Doubled) --> <!-- Holiday Texts --> <!-- |Christmas Eve/Day (Presents Doubled) --> <!-- |New Year's Eve/Day (Presents Doubled) --> }} </table>
|
<table style="clear:right; float:right; width:295px"> <tr><td> {{WeeklyBoost <!-- |All=off --> |All=on <!-- Event Texts --> <!-- |Halloween Event --> |Christmas Event (Doubled) <!-- Holiday Texts --> <!-- |Christmas Eve/Day (Presents Doubled) --> |New Year's Eve/Day (Presents Doubled) }} </table>