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;...") |
(cleanup of userspace references) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| class="roundy" style="background: #{{{bordercolor|{{cute color light}}}}}; border: 2px solid #{{{bordercolor|{{cute color light}}}}}; width: 100%; margin: 5px;" | <includeonly>{| class="roundy" style="background: #{{{bordercolor|{{cute color light}}}}}; border: 2px solid #{{{bordercolor|{{cute color light}}}}}; width: 100%; margin: 5px; border-collapse:separate;" | ||
|- | |- | ||
| width="35%" style="background: #{{#if:{{{prev|}}}|{{{cellcolor|{{beauty color light}}}}}|{{{bordercolor|{{cute color light}}}}}}}; {{roundyleft|10px}}" | | | width="35%" style="background: #{{#if:{{{prev|}}}|{{{cellcolor|{{beauty color light}}}}}|{{{bordercolor|{{cute color light}}}}}}}; {{roundyleft|10px}}" | | ||
{{#if: {{{prev|}}}| | {{#if: {{{prev|}}}| | ||
{{{!}} style="text-align: right; width: 100%" | {{{!}} style="text-align: right; width: 100%" | ||
{{!}} '''{{color2|000|{{{prevlink| | {{!}} '''{{color2|000|{{{prevlink|Pokémon Shuffle event cycle/Week {{{prev}}}}}}|←}}''' | ||
{{!}} '''{{color2|000|{{{prevlink| | {{!}} '''{{color2|000|{{{prevlink|Pokémon Shuffle event cycle/Week {{{prev}}}}}}|Week {{{prev}}}}}''' | ||
{{!}}} | {{!}}} | ||
}} | }} | ||
| style="text-align: center; background: #{{{cellcolor|{{beauty color light}}}}}" | '''{{color2|000| | | style="text-align: center; background: #{{{cellcolor|{{beauty color light}}}}}" | '''{{color2|000|Pokémon Shuffle event cycle}}<br>({{color2|000|{{{currlink|Pokémon 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|}}}| | ||
{{{!}} style="width: 100%" | {{{!}} style="width: 100%" | ||
{{!}} '''{{color2|000|{{{nextlink| | {{!}} '''{{color2|000|{{{nextlink|Pokémon Shuffle event cycle/Week {{{next}}}}}}|Week {{{next}}}}}''' | ||
{{!}} '''{{color2|000|{{{nextlink| | {{!}} '''{{color2|000|{{{nextlink|Pokémon Shuffle event cycle/Week {{{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>{{ | <pre>{{ShuffleWeekPrevNext|prev=24|curr=1|next=2}}</pre> | ||
{{ | {{ShuffleWeekPrevNext|prev=24|curr=1|next=2}} | ||
===Week 12=== | ===Week 12=== | ||
<pre>{{ | <pre>{{ShuffleWeekPrevNext|prev=11|curr=12|next=13}}</pre> | ||
{{ | {{ShuffleWeekPrevNext|prev=11|curr=12|next=13}} | ||
===Week 24=== | ===Week 24=== | ||
<pre>{{ | <pre>{{ShuffleWeekPrevNext|prev=23|curr=24|next=1}}</pre> | ||
{{ | {{ShuffleWeekPrevNext|prev=23|curr=24|next=1}} | ||
[[Category:PrevNext templates]][[Category:Shuffle templates]]</noinclude> |
Latest revision as of 01:21, 13 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
{{ShuffleWeekPrevNext|prev=24|curr=1|next=2}}
|
Pokémon Shuffle event cycle (Week 1) |
|
Week 12
{{ShuffleWeekPrevNext|prev=11|curr=12|next=13}}
|
Pokémon Shuffle event cycle (Week 12) |
|
Week 24
{{ShuffleWeekPrevNext|prev=23|curr=24|next=1}}
|
Pokémon Shuffle event cycle (Week 24) |
|