Template:WeeklyBoost: Difference between revisions
From Ephinea PSO Wiki
mNo edit summary |
m (made the bottom text a lil smoler) |
||
| Line 25: | Line 25: | ||
}} | }} | ||
</tr> | </tr> | ||
{{#ifeq: {{{All|}}}|off|<tr><th colspan="2">Changes: Sunday, 00:00 (UTC)</th></tr><tr><th colspan="2"> | {{#ifeq: {{{All|}}}|off|<tr><th colspan="2"><small>Changes: ''Sunday, 00:00 (UTC)''</small></th></tr><tr><th colspan="2"> | ||
{{#switch: {{#expr:(({{CURRENTWEEK}}+{{#ifexpr:{{CURRENTDOW}}=0|1|0}}+1) mod 4)}} | {{#switch: {{#expr:(({{CURRENTWEEK}}+{{#ifexpr:{{CURRENTDOW}}=0|1|0}}+1) mod 4)}} | ||
|0 = Next | |0 = Next boost: ''Experience'' | ||
|1 = Next | |1 = Next boost: ''Drop All Rate'' | ||
|2 = Next | |2 = <small>Next boost: ''Rare Monster''</small> | ||
|3 = Next | |3 = Next boost: ''Rare Drop Rate'' | ||
}}</th></tr>}}</table> | }}</th></tr>}}</table> | ||
<noinclude> | <noinclude> | ||
Latest revision as of 00:41, 31 December 2025
| Weekly Boost | |
|---|---|
| Experience +50% |
Drop All Rate +25% |
| Rare Monster +50% |
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
Default usage
| ||||||||||||
<table style="clear:right; float:right; width:295px">
<tr><td>
{{WeeklyBoost
|All=off
<!-- |All=on-->
<!-- Event Texts -->
<!-- |[[Anniversary event]] (All active) -->
<!-- |[[Halloween event]] -->
<!-- |[[Christmas event]] (Doubled) -->
<!-- Holiday Texts -->
<!-- |Christmas Eve/Day (Presents doubled) -->
<!-- |New Year's Eve/Day (Presents doubled) -->
}}
</table>
Christmas usage
- Including "Holiday text"
| ||||||||||||||
<table style="clear:right; float:right; width:295px">
<tr><td>
{{WeeklyBoost
|All=off
<!-- |All=on -->
<!-- Event Texts -->
<!-- |[[Anniversary event]] (All active) -->
<!-- |[[Halloween event]] -->
|[[Christmas event]] (Doubled)
<!-- Holiday Texts -->
<!-- |Christmas Eve/Day (Presents doubled) -->
|New Year's Eve/Day (Presents doubled)
}}
</table>
Anniversary usage
| ||||||||
<table style="clear:right; float:right; width:290px">
<tr><td>
{{WeeklyBoost
<!-- |All=off -->
|All=on
<!-- Event Texts -->
|[[Anniversary event]] (All active)
<!-- |[[Halloween event]] -->
<!-- |[[Christmas event]] (Doubled) -->
<!-- Holiday Texts -->
<!-- |Christmas Eve/Day (Presents doubled) -->
<!-- |New Year's Eve/Day (Presents doubled) -->
}}
</table>