Template:WeeklyBoost: Difference between revisions

From Ephinea PSO Wiki
(Resolved wrong boosts on Sundays)
(Cleanup)
Line 25: Line 25:


==Usage==
==Usage==
This template is meant to be semi-automatic, only needing to be adjusted where it is transcluded on occasions such as events or holidays.
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.
<br>
<br>
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.
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.
<br>
<br>
Said occasions should be conveniently commented within the template transclusion to save time and uncommented/recommented as necessary.
Said occasions should be conveniently commented within the template transclusion to save time and uncommented/recommented as necessary.
{{#ifexpr:{{CURRENTWEEK}}+1=53|1|0}}
 
==Example==
==Example==
{{WeeklyBoost
{{WeeklyBoost

Revision as of 01:39, 2 January 2022

Weekly Boost
Experience +50% Rare Spawn +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.

Example

Weekly Boosts
Experience +50% Rare Spawn +50%
Drop All Rate +25% Rare Drop Rate +25%
Christmas Event (Doubled)
New Year's Eve/Day (All)
{{WeeklyBoost
<!-- |All=off -->
|All=on

<!-- Event Texts -->
<!-- |Halloween Event -->
|Christmas Event (Doubled)

<!-- Holiday Texts -->
<!-- |Christmas Eve/Day (All) -->
|New Year's Eve/Day (All)
}}