Template:WeeklyBoost: Difference between revisions

From Ephinea PSO Wiki
m (Padding for visual bandaid)
(Test weekly table revamp)
Line 1: Line 1:
<table style="clear:right; float:right" class="psoBackground psoStyle">
<table style="clear:right; float:right" class="psoBackground psoStyle" align="center">
 
<tr><td><table align="center" style="width:100%">
<tr>
<th colspan="2" align="center" class="psoHeader psoStyle" style="width: 100%; padding-bottom:3px;">Weekly Boost{{#ifeq:{{{All|}}}|on|s|}}</th>
<th colspan="2" align="center" class="psoHeader psoStyle" style="width: 100%; padding-bottom:3px;">Weekly Boost{{#ifeq:{{{All|}}}|on|s|}}</th>
{{#if:{{{1|}}}|
{{#if:{{{1|}}}|
Line 9: Line 6:
</tr>
</tr>
}}
}}
<tr style="font-size:9px">
<tr>
<td class="{{#ifexpr:(({{CURRENTWEEK}}+{{#ifexpr:{{CURRENTDOW}}=0|1|0}}) mod 4)=0 or {{#ifeq:{{{All|}}}|on|1|0}}=1|classCanUse|classCannotUse}} topLeft">Experience +50%</td>
<td class="{{#ifexpr:(({{CURRENTWEEK}}+{{#ifexpr:{{CURRENTDOW}}=0|1|0}}) mod 4)=0 or {{#ifeq:{{{All|}}}|on|1|0}}=1|classCanUse|classCannotUse}} topLeft">Experience +50%</td>
<td class="{{#ifexpr:(({{CURRENTWEEK}}+{{#ifexpr:{{CURRENTDOW}}=0|1|0}}) mod 4)=2 or {{#ifeq:{{{All|}}}|on|1|0}}=1|classCanUse|classCannotUse}} topRight">Rare Monster +50%</td>
<td class="{{#ifexpr:(({{CURRENTWEEK}}+{{#ifexpr:{{CURRENTDOW}}=0|1|0}}) mod 4)=2 or {{#ifeq:{{{All|}}}|on|1|0}}=1|classCanUse|classCannotUse}} topRight">Rare Monster +50%</td>
</tr>
</tr>
<tr style="font-size:9px">
<tr>
<th class="{{#ifexpr:(({{CURRENTWEEK}}+{{#ifexpr:{{CURRENTDOW}}=0|1|0}}) mod 4)=1 or {{#ifeq:{{{All|}}}|on|1|0}}=1|classCanUse|classCannotUse}} bottomLeft">Drop All Rate +25%</th>
<td class="{{#ifexpr:(({{CURRENTWEEK}}+{{#ifexpr:{{CURRENTDOW}}=0|1|0}}) mod 4)=1 or {{#ifeq:{{{All|}}}|on|1|0}}=1|classCanUse|classCannotUse}} bottomLeft">Drop All Rate +25%</td>
<th class="{{#ifexpr:(({{CURRENTWEEK}}+{{#ifexpr:{{CURRENTDOW}}=0|1|0}}) mod 4)=3 or {{#ifeq:{{{All|}}}|on|1|0}}=1|classCanUse|classCannotUse}} bottomRight">Rare Drop Rate +25%</th>
<td class="{{#ifexpr:(({{CURRENTWEEK}}+{{#ifexpr:{{CURRENTDOW}}=0|1|0}}) mod 4)=3 or {{#ifeq:{{{All|}}}|on|1|0}}=1|classCanUse|classCannotUse}} bottomRight">Rare Drop Rate +25%</td>
{{#if:{{{2|}}}|
{{#if:{{{2|}}}|
<tr>
<tr>
Line 35: Line 32:
}}</th></tr>
}}</th></tr>
}}
}}
</table></table><noinclude>
</table><noinclude>
==Usage==
==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.
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.

Revision as of 16:44, 12 January 2022

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

Weekly Boost
Experience +50% Rare Monster +50%
Drop All Rate +25% Rare Drop Rate +25%
Changes Sunday 00:00 UTC
Next Boost: Rare Drop Rate
{{WeeklyBoost
|All=off
<!-- |All=on-->

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

<!-- Holiday Texts -->
<!-- |Christmas Eve/Day (All) -->
<!-- |New Year's Eve/Day (All) -->
}}
Weekly Boosts
Christmas Event (Doubled)
Experience +50% Rare Monster +50%
Drop All Rate +25% Rare Drop Rate +25%
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)
}}