Editing Template:WeeklyBoost
From Ephinea PSO Wiki
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
<table style=" | <table style="clear:right; float:right" class="psoBackground psoStyle"> | ||
<tr><td><table align="center" style="width:100%"> | |||
<tr> | <tr> | ||
< | <th colspan="2" align="center" class="psoHeader psoStyle" style="width: 100%;">Weekly Boost{{#ifeq:{{{All|}}}|on|s|}}</th> | ||
{{#ifexpr:(({{CURRENTWEEK}}+{{#ifexpr:{{CURRENTDOW}}=0|1|0}}) mod 4)=0 or {{#ifeq:{{{All|}}}|on|1|0}}=1 | {{#if:{{{1|}}}| | ||
| | <tr> | ||
}}">Experience | <th colspan="2">{{{1}}}</th> | ||
<td class=" | </tr> | ||
{{#ifexpr:(({{CURRENTWEEK}}+{{#ifexpr:{{CURRENTDOW}}=0|1|0}}) mod 4)=2 or {{#ifeq:{{{All|}}}|on|1|0}}=1 | }} | ||
| | <tr style="font-size:9px"> | ||
}}">Rare | <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 Spawn +50%</td> | |||
</tr> | </tr> | ||
<tr | <tr style="font-size:9px"> | ||
<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> | |||
{{#ifexpr:(({{CURRENTWEEK}}+{{#ifexpr:{{CURRENTDOW}}=0|1|0}}) mod 4)=1 or {{#ifeq:{{{All|}}}|on|1|0}}=1 | <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> | ||
| | |||
}}">Drop All Rate | |||
< | |||
{{#ifexpr:(({{CURRENTWEEK}}+{{#ifexpr:{{CURRENTDOW}}=0|1|0}}) mod 4)=3 or {{#ifeq:{{{All|}}}|on|1|0}}=1 | |||
| | |||
}}">Rare Drop Rate | |||
{{#if:{{{2|}}}| | {{#if:{{{2|}}}| | ||
<tr> | <tr> | ||
Line 25: | Line 22: | ||
}} | }} | ||
</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">Changes Sunday 00:00 UTC</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 Boost: Experience | |0 = Next Boost: Experience | ||
|1 = Next Boost: Drop All Rate | |1 = Next Boost: Drop All Rate | ||
|2 = Next Boost: Rare | |2 = Next Boost: Rare Spawn | ||
|3 = Next Boost: Rare Drop Rate | |3 = Next Boost: Rare Drop Rate | ||
}}</th></tr>}}</table> | }}</th></tr> | ||
<noinclude> | }} | ||
</table></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. | ||
Line 41: | Line 44: | ||
==Examples== | ==Examples== | ||
{{WeeklyBoost | {{WeeklyBoost | ||
|All=off | |All=off | ||
Line 52: | Line 53: | ||
<!-- Holiday Texts --> | <!-- Holiday Texts --> | ||
<!-- |Christmas Eve/Day ( | <!-- |Christmas Eve/Day (All) --> | ||
<!-- |New Year's Eve/Day ( | <!-- |New Year's Eve/Day (All) --> | ||
}} | }} | ||
<pre> | <pre> | ||
{{WeeklyBoost | {{WeeklyBoost | ||
|All=off | |All=off | ||
Line 68: | Line 66: | ||
<!-- Holiday Texts --> | <!-- Holiday Texts --> | ||
<!-- |Christmas Eve/Day ( | <!-- |Christmas Eve/Day (All) --> | ||
<!-- |New Year's Eve/Day ( | <!-- |New Year's Eve/Day (All) --> | ||
}} | }} | ||
</pre> | </pre> | ||
{{WeeklyBoost | {{WeeklyBoost | ||
<!-- |All=off --> | <!-- |All=off --> | ||
Line 85: | Line 79: | ||
<!-- Holiday Texts --> | <!-- Holiday Texts --> | ||
<!-- |Christmas Eve/Day ( | <!-- |Christmas Eve/Day (All) --> | ||
|New Year's Eve/Day ( | |New Year's Eve/Day (All) | ||
}} | }} | ||
<pre> | <pre> | ||
{{WeeklyBoost | {{WeeklyBoost | ||
<!-- |All=off --> | <!-- |All=off --> | ||
Line 101: | Line 92: | ||
<!-- Holiday Texts --> | <!-- Holiday Texts --> | ||
<!-- |Christmas Eve/Day ( | <!-- |Christmas Eve/Day (All) --> | ||
|New Year's Eve/Day ( | |New Year's Eve/Day (All) | ||
}} | }}</pre> | ||
</pre> | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |