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 | <tr style="font-size:9px"> | ||
| | <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> | ||
}}">Experience | <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> | ||
<td class=" | |||
{{#ifexpr:(({{CURRENTWEEK}}+{{#ifexpr:{{CURRENTDOW}}=0|1|0}}) mod 4)=2 or {{#ifeq:{{{All|}}}|on|1|0}}=1 | |||
| | |||
}}">Rare | |||
</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> | |||
<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> | |||
</tr> | |||
{{#if:{{{1|}}}| | |||
<tr> | <tr> | ||
< | <th colspan="2">{{{1}}}</th> | ||
</tr> | |||
}} | |||
< | |||
{{#if:{{{2|}}}| | {{#if:{{{2|}}}| | ||
<tr> | <tr> | ||
Line 24: | Line 22: | ||
</tr> | </tr> | ||
}} | }} | ||
</ | </table></table><noinclude> | ||
<noinclude> | |||
==Usage== | ==Usage== | ||
This template is meant to be semi-automatic, only adjusted where it is transcluded | This template is meant to be semi-automatic, only needing to be adjusted where it is transcluded 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== | |||
{{ | |||
}} | |||
{{WeeklyBoost | {{WeeklyBoost | ||
<!-- |All=off --> | <!-- |All=off --> | ||
Line 85: | Line 41: | ||
<!-- 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 54: | ||
<!-- 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> |