Template:WeeklyBoost: Difference between revisions

From Ephinea PSO Wiki
No edit summary
(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)
Line 1: Line 1:
<table style="width:100%; border-spacing: 0; padding:3px 3px 2px 3px;" class="psoBackground psoStyle"><th colspan="2" align="center" class="psoHeader psoStyle" style="width: 100%; padding-bottom:0.2em;">[[Weekly boosts|Weekly Boost]]{{#ifeq:{{{All|}}}|on|s (All active)|}}</th>{{#if:{{{1|}}}|<tr><th colspan="2">{{{1}}}</th></tr>|<tr><th colspan="2" style="padding-bottom:0.2em"></th></tr>}}
<table style="width:100%; border-spacing: 0; padding:3px 3px 2px 3px;" class="psoBackground psoStyle"><th colspan="2" align="center" class="psoHeader psoStyle" style="width: 100%; padding-bottom:0.2em;">[[Weekly boosts|Weekly Boost]]{{#ifeq:{{{All|}}}|on|s}}</th>{{#if:{{{1|}}}|<tr><th colspan="2">{{{1}}}</th></tr>|<tr><th colspan="2" style="padding-bottom:0.2em"></th></tr>}}
<tr>
<tr>
<td class="uncoloredClass topLeft" style="width:50%; font-size: 100%; background-color:
<td class="uncoloredClass topLeft" style="width:50%; font-size: 100%; background-color:
Line 41: Line 41:


==Examples==
==Examples==
===Default usage===
<!-- DEFAULT USAGE PAGE TEMPLATE/START -->
<table style="clear:right; float:right; width:295px">
<table style="clear:right; float:right; width:295px">
<tr><td>
<tr><td>
Line 48: Line 50:


<!-- Event Texts -->
<!-- Event Texts -->
<!-- |[[Anniversary event]] (All active) -->
<!-- |[[Halloween event]] -->
<!-- |[[Halloween event]] -->
<!-- |[[Christmas event]] (Doubled) -->
<!-- |[[Christmas event]] (Doubled) -->
Line 56: Line 59:
}}
}}
</table>
</table>
<!-- DEFAULT USAGE PAGE TEMPLATE/END -->
<!-- DEFAULT USAGE PAGE TEXT/START -->
<pre>
<pre>
<table style="clear:right; float:right; width:295px">
<table style="clear:right; float:right; width:295px">
Line 64: Line 70:


<!-- Event Texts -->
<!-- Event Texts -->
<!-- |[[Anniversary event]] (All active) -->
<!-- |[[Halloween event]] -->
<!-- |[[Halloween event]] -->
<!-- |[[Christmas event]] (Doubled) -->
<!-- |[[Christmas event]] (Doubled) -->
Line 73: Line 80:
</table>
</table>
</pre>
</pre>
<!-- DEFAULT USAGE PAGE TEXT/END-->


===Christmas usage===
: ''Including "Holiday text"''
<!-- CHRISTMAS USAGE PAGE TEMPLATE/START -->
<table style="clear:right; float:right; width:290px">
<table style="clear:right; float:right; width:290px">
<tr><td>
<tr><td>
{{WeeklyBoost
{{WeeklyBoost
<!-- |All=off -->
|All=off
|All=on
<!-- |All=on -->


<!-- Event Texts -->
<!-- Event Texts -->
<!-- |[[Anniversary event]] (All active) -->
<!-- |[[Halloween event]] -->
<!-- |[[Halloween event]] -->
|[[Christmas event]] (Doubled)
|[[Christmas event]] (Doubled)
Line 89: Line 101:
}}
}}
</table>
</table>
<!-- CHRISTMAS USAGE PAGE TEMPLATE/END -->
<!-- CHRISTMAS USAGE PAGE TEXT/START -->
<pre>
<pre>
<table style="clear:right; float:right; width:295px">
<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>
</pre>
<!-- CHRISTMAS USAGE PAGE TEXT/END -->
===Anniversary usage===
<!-- ANNIVERSARY USAGE PAGE TEMPLATE/START -->
<table style="clear:right; float:right; width:290px">
<tr><td>
<tr><td>
{{WeeklyBoost
{{WeeklyBoost
Line 97: Line 132:


<!-- Event Texts -->
<!-- Event Texts -->
|[[Anniversary event]] (All active)
<!-- |[[Halloween event]] -->
<!-- |[[Halloween event]] -->
|[[Christmas event]] (Doubled)
<!-- |[[Christmas event]] (Doubled) -->
 
<!-- Holiday Texts -->
<!-- |Christmas Eve/Day (Presents doubled) -->
<!-- |New Year's Eve/Day (Presents doubled) -->
}}
</table>
<!-- ANNIVERSARY USAGE PAGE TEMPLATE/END -->
 
<!-- ANNIVERSARY USAGE PAGE TEXT/START -->
<pre>
<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 -->
<!-- Holiday Texts -->
<!-- |Christmas Eve/Day (Presents doubled) -->
<!-- |Christmas Eve/Day (Presents doubled) -->
|New Year's Eve/Day (Presents doubled)
<!-- |New Year's Eve/Day (Presents doubled) -->
}}
}}
</table>
</table>
</pre>
</pre>
<!-- ANNIVERSARY USAGE PAGE TEXT/END -->
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 23:12, 10 January 2025

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

Default usage

Weekly Boost
Experience
+50%
Rare Monster
+50%
Drop All Rate
+25%
Rare Drop Rate
+25%
Changes: Sunday, 00:00 (UTC)
Next Boost: Drop All Rate
<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"
Weekly Boost
Christmas event (Doubled)
Experience
+100%
Rare Monster
+100%
Drop All Rate
+50%
Rare Drop Rate
+50%
New Year's Eve/Day (Presents doubled)
Changes: Sunday, 00:00 (UTC)
Next Boost: Drop All Rate
<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

Weekly Boosts
Anniversary event (All active)
Experience
+50%
Rare Monster
+50%
Drop All Rate
+25%
Rare Drop Rate
+25%
<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>