Template:WeeklyBoost: Difference between revisions
From Ephinea PSO Wiki
(Updated to include event text variable for anniversary event (with link to event page and indicator that all boosts active), added and improved usage examples on this page, annotated them for my own sanity, please copy/paste the "default" template (or text, either works) onto main page when the Christmas event ends kthxbye) |
(swapped dar and rer (reads left to right horizontally now, not left to right vertically)) |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
|rgba(221, 255, 83, 0.64);|rgba(255, 158, 77, 0.88); | |rgba(221, 255, 83, 0.64);|rgba(255, 158, 77, 0.88); | ||
}}">Experience<br>'''{{#ifeq:{{{1}}}|[[Christmas event]] (Doubled)|+100%|+50%}}'''</td> | }}">Experience<br>'''{{#ifeq:{{{1}}}|[[Christmas event]] (Doubled)|+100%|+50%}}'''</td> | ||
<td class="uncoloredClass topRight" style=" | <td class="uncoloredClass topRight" style="font-size: 100%; background-color: | ||
{{#ifexpr:(({{CURRENTWEEK}}+{{#ifexpr:{{CURRENTDOW}}=0|1|0}}) mod 4)= | {{#ifexpr:(({{CURRENTWEEK}}+{{#ifexpr:{{CURRENTDOW}}=0|1|0}}) mod 4)=1 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); | ||
}}"> | }}">[[Drop charts#Drop anything rate|<span style="color:Black>Drop All Rate</span>]]<br>'''{{#ifeq:{{{1}}}|[[Christmas event]] (Doubled)|+50%|+25%}}'''</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td class="uncoloredClass bottomLeft" style="font-size: 100%; background-color: | <td class="uncoloredClass bottomLeft" style="width:50%; font-size: 100%; background-color: | ||
{{#ifexpr:(({{CURRENTWEEK}}+{{#ifexpr:{{CURRENTDOW}}=0|1|0}}) mod 4)= | {{#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); | ||
}}"> | }}">[[Monsters#Rare Monsters|<span style="color:Black;">Rare Monster</span>]]<br>'''{{#ifeq:{{{1}}}|[[Christmas event]] (Doubled)|+100%|+50%}}'''</td> | ||
<td class="uncoloredClass bottomRight" style="font-size: 100%; background-color: | <td class="uncoloredClass bottomRight" style="font-size: 100%; background-color: | ||
{{#ifexpr:(({{CURRENTWEEK}}+{{#ifexpr:{{CURRENTDOW}}=0|1|0}}) mod 4)=3 or {{#ifeq:{{{All|}}}|on|1|0}}=1 | {{#ifexpr:(({{CURRENTWEEK}}+{{#ifexpr:{{CURRENTDOW}}=0|1|0}}) mod 4)=3 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 Drop Rate<br>'''{{#ifeq:{{{1}}}|[[Christmas event]] (Doubled)|+50%|+25%}}'''</td> | }}">[[Drop charts#Rare drop rate|<span style="color:Black>Rare Drop Rate</span>]]<br>'''{{#ifeq:{{{1}}}|[[Christmas event]] (Doubled)|+50%|+25%}}'''</td> | ||
{{#if:{{{2|}}}| | {{#if:{{{2|}}}| | ||
<tr> | <tr> |
Latest revision as of 00:11, 16 March 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>