Template:WeeklyBoost: Difference between revisions
From Ephinea PSO Wiki
(split into two lines) |
(Edited Example wrapping width for mobile 320x480 use) |
||
| Line 43: | Line 43: | ||
==Examples== | ==Examples== | ||
<table style="clear:right; float:right; width: | <table style="clear:right; float:right; width:295px"> | ||
<tr><td> | <tr><td> | ||
{{WeeklyBoost | {{WeeklyBoost | ||
| Line 59: | Line 59: | ||
</table> | </table> | ||
<pre> | <pre> | ||
<table style="clear:right; float:right; width: | <table style="clear:right; float:right; width:295px"> | ||
<tr><td> | <tr><td> | ||
{{WeeklyBoost | {{WeeklyBoost | ||
| Line 73: | Line 73: | ||
<!-- |New Year's Eve/Day (All) --> | <!-- |New Year's Eve/Day (All) --> | ||
}} | }} | ||
</table> | |||
</pre> | </pre> | ||
<table style="clear:right; float:right; width: | <table style="clear:right; float:right; width:290px"> | ||
<tr><td> | <tr><td> | ||
{{WeeklyBoost | {{WeeklyBoost | ||
| Line 91: | Line 92: | ||
</table> | </table> | ||
<pre> | <pre> | ||
<table style="clear:right; float:right; width:295px"> | |||
{{WeeklyBoost | {{WeeklyBoost | ||
<!-- |All=off --> | <!-- |All=off --> | ||
| Line 102: | Line 104: | ||
<!-- |Christmas Eve/Day (All) --> | <!-- |Christmas Eve/Day (All) --> | ||
|New Year's Eve/Day (All) | |New Year's Eve/Day (All) | ||
}}</pre> | }}</table></pre> | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> | ||
Revision as of 14:01, 14 January 2022
| Weekly Boost | |||||
|---|---|---|---|---|---|
| |||||
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
| ||||||||||||
<table style="clear:right; float:right; width:295px">
<tr><td>
{{WeeklyBoost
|All=off
<!-- |All=on-->
<!-- Event Texts -->
<!-- |Halloween Event -->
<!-- |Christmas Event (Doubled) -->
<!-- Holiday Texts -->
<!-- |Christmas Eve/Day (All) -->
<!-- |New Year's Eve/Day (All) -->
}}
</table>
| ||||||||||||
<table style="clear:right; float:right; width:295px">
{{WeeklyBoost
<!-- |All=off -->
|All=on
<!-- Event Texts -->
<!-- |Halloween Event -->
|Christmas Event (Doubled)
<!-- Holiday Texts -->
<!-- |Christmas Eve/Day (All) -->
|New Year's Eve/Day (All)
}}</table>