Template:WeeklyBoost: Difference between revisions
From Ephinea PSO Wiki
(testing) |
m (test2) |
||
| Line 8: | Line 8: | ||
{{#ifexpr:(({{CURRENTWEEK}}+{{#ifexpr:{{CURRENTDOW}}=0|1|0}}) mod 4)=2 or {{#ifeq:{{{All|}}}|on|1|0}}=1 | {{#ifexpr:(({{CURRENTWEEK}}+{{#ifexpr:{{CURRENTDOW}}=0|1|0}}) mod 4)=2 or {{#ifeq:{{{All|}}}|on|1|0}}=1 | ||
|rgba(221, 255, 83, 0.64);|rgba(255, 158, 77, 0.88); | |rgba(221, 255, 83, 0.64);|rgba(255, 158, 77, 0.88); | ||
}}">Rare Monster<br>'''{{#ifeq:{{{1}}}| | }}">Rare Monster<br>'''{{#ifeq:{{{1}}}|Christmas Event (Doubled)|+100%|+50%}}'''</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Revision as of 18:12, 8 January 2025
| Weekly Boost | |
|---|---|
| Experience +50% |
Rare Monster +50% |
| Drop All Rate +25% |
Rare Drop Rate +25% |
Usage
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
| ||||||||||||
<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>