Template:ShuffleWeekPrevNext: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(Created page with "<includeonly>{| class="roundy" style="background: #{{{bordercolor|{{cute color light}}}}}; border: 2px solid #{{{bordercolor|{{cute color light}}}}}; width: 100%; margin: 5px;...") |
(curr fields) |
||
Line 8: | Line 8: | ||
{{!}}} | {{!}}} | ||
}} | }} | ||
| style="text-align: center; background: #{{{cellcolor|{{beauty color light}}}}}" | '''{{color2|000|User:Boblers/Shuffle Event Cycle|Pokémon Shuffle event cycle}}''' | | style="text-align: center; background: #{{{cellcolor|{{beauty color light}}}}}" | '''{{color2|000|User:Boblers/Shuffle Event Cycle|Pokémon Shuffle event cycle}}<br>({{color2|000|{{{currlink|User:Boblers/Shuffle Event Cycle/Week {{{curr|}}}}}}|Week {{{curr|X}}}}})''' | ||
| width="35%" style="background: #{{#if:{{{next|}}}|{{{cellcolor|{{beauty color light}}}}}|{{{bordercolor|{{cute color light}}}}}}}; {{roundyright|10px}}" | | | width="35%" style="background: #{{#if:{{{next|}}}|{{{cellcolor|{{beauty color light}}}}}|{{{bordercolor|{{cute color light}}}}}}}; {{roundyright|10px}}" | | ||
{{#if: {{{next|}}}| | {{#if: {{{next|}}}| | ||
Line 22: | Line 22: | ||
* '''prev''' - The number of the previous week. | * '''prev''' - The number of the previous week. | ||
** '''prevlink''' (optional) - Custom link, in case the prev name does not go to the desired page. | ** '''prevlink''' (optional) - Custom link, in case the prev name does not go to the desired page. | ||
* '''curr''' - The number of the current week. | |||
** '''currlink''' (optional) - Custom link, in case the curr name does not go to the desired page. | |||
* '''next''' - The number of the previous week. | * '''next''' - The number of the previous week. | ||
** '''nextlink''' (optional) - Custom link, in case the next name does not go to the desired page. | ** '''nextlink''' (optional) - Custom link, in case the next name does not go to the desired page. | ||
Line 31: | Line 33: | ||
==Examples== | ==Examples== | ||
===Week 1=== | ===Week 1=== | ||
<pre>{{User:Boblers/ShuffleWeekPrevNext|prev=24|next=2}}</pre> | <pre>{{User:Boblers/ShuffleWeekPrevNext|prev=24|curr=1|next=2}}</pre> | ||
{{User:Boblers/ShuffleWeekPrevNext|prev=24|next=2}} | {{User:Boblers/ShuffleWeekPrevNext|prev=24|curr=1|next=2}} | ||
===Week 12=== | ===Week 12=== | ||
<pre>{{User:Boblers/ShuffleWeekPrevNext|prev=11|next=13}}</pre> | <pre>{{User:Boblers/ShuffleWeekPrevNext|prev=11|curr=12|next=13}}</pre> | ||
{{User:Boblers/ShuffleWeekPrevNext|prev=11|next=13}} | {{User:Boblers/ShuffleWeekPrevNext|prev=11|curr=12|next=13}} | ||
===Week 24=== | ===Week 24=== | ||
<pre>{{User:Boblers/ShuffleWeekPrevNext|prev=23|next=1}}</pre> | <pre>{{User:Boblers/ShuffleWeekPrevNext|prev=23|curr=24|next=1}}</pre> | ||
{{User:Boblers/ShuffleWeekPrevNext|prev=23|next=1}} | {{User:Boblers/ShuffleWeekPrevNext|prev=23|curr=24|next=1}} | ||
<!--[[Category:PrevNext templates]]--></noinclude> | <!--[[Category:PrevNext templates]]--></noinclude> |
Revision as of 05:02, 6 November 2023
This template is to be used for navigating between weekly event pages in Pokémon Shuffle's event rotation.
Template fields
- prev - The number of the previous week.
- prevlink (optional) - Custom link, in case the prev name does not go to the desired page.
- curr - The number of the current week.
- currlink (optional) - Custom link, in case the curr name does not go to the desired page.
- next - The number of the previous week.
- nextlink (optional) - Custom link, in case the next name does not go to the desired page.
Colors
- bordercolor - The color to be used for the box borders. Defaults to {{cute color light}}.
- cellcolor - The color to be used for cells. Defaults to {{beauty color light}}.
Examples
Week 1
{{User:Boblers/ShuffleWeekPrevNext|prev=24|curr=1|next=2}}
User:Boblers/ShuffleWeekPrevNext
Week 12
{{User:Boblers/ShuffleWeekPrevNext|prev=11|curr=12|next=13}}
User:Boblers/ShuffleWeekPrevNext
Week 24
{{User:Boblers/ShuffleWeekPrevNext|prev=23|curr=24|next=1}}
User:Boblers/ShuffleWeekPrevNext