Template:DungeonPrevNext: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
No edit summary
(Replacing dead section links with links that actually work. However, this entire template is awful and should be rebuilt.)
 
(34 intermediate revisions by 12 users not shown)
Line 1: Line 1:
<div style="border: 1px solid #88a; background: #f8f8ff; text-align: center; margin: 0.5em 0; padding: 0.5em; clear: both;">
{| class="roundy" style="background: #{{#switch: {{{3|1}}}|1=7777FF|2=8b0202|3=2d9560|4B=F08030|4S=6890F0|4L=F8D030|5=6464FF|6=98D8D8}}; width: 100%; margin: 5px;"
'''[[{{{1}}}]]''' | '''{{PAGENAME}}''' | '''[[{{{2}}}]]'''</div>
|-
| {{#if: {{{4|}}}||{{#if: {{{5|}}}|rowspan="2"}}}} width="35%" style="text-align:right; background: #{{#ifeq: {{{1|Anything}}}|None|{{#switch: {{{3|1}}}|1=7777FF|2=8b0202|3={{#if:{{{4|}}}|8b0202|2d9560}}|4B=F08030|4S=6890F0|4L=F8D030}}|{{#switch: {{{3|1}}}|1=FF7777|2=4466CC|3={{#if:{{{4|}}}|4466CC|71c343}}|4B=F9D2B6|4S=9BB8FE|4L=FCEEB6|5=C0C0C0|6=DAA520}}}}; {{roundytl|10px}} {{#if: {{{4|}}}||{{roundybl|10px}}}}" |
{{#ifeq: {{{1|Anything}}}|None|&nbsp;|
{{{!}} style="float:right; background: #{{#switch: {{{3|1}}}|1=FF7777|2=4466CC|3={{#if:{{{4|}}}|4466CC|71c343}}|4B=F9D2B6|4S=9BB8FE|4L=FCEEB6|5=C0C0C0|6=DAA520}}; width:100%; {{roundytl|10px}} {{#if: {{{4|}}}||{{roundybl|10px}}}}"
{{!}} [[{{{1}}} {{{1dab|}}}|{{color|{{#switch: {{{3|1}}}|1|3|4B|4S|4L|5|6=000|2=FFF}}|&larr; {{{1}}}}}]]
{{!}}}
}}
| {{#if: {{{4|}}}|rowspan="2"|{{#if: {{{5|}}}|rowspan="2"}}}} style="text-align:center; background: #{{#switch: {{{3|1}}}|1=FF7777|2=4466CC|3=71c343|4B=F9D2B6|4S=9BB8FE|4L=FCEEB6|5=C0C0C0|6=DAA520}}" |
{| style="margin:auto; background: #{{#switch: {{{3|1}}}|1=FF7777|2=4466CC|3=71c343|4B=F9D2B6|4S=9BB8FE|4L=FCEEB6|5=C0C0C0|6=DAA520}}; width:100%;"
| [[{{#switch: {{{3|1}}}|1=Air Continent|2|3=Grass Continent|4=Pokémon world (Mystery Dungeon)|5=Mist Continent|6=Pokémon world (Mystery Dungeon)}}|{{color|{{#switch: {{{3|1}}}|1|3|4B|4S|4L|5|6=000|2=FFF}}|{{PAGENAME}}}}]]
|}
| {{#if: {{{5|}}}||{{#if: {{{4|}}}|rowspan="2"}}}} width="35%" style="text-align:left; background: #{{#ifeq: {{{2|Anything}}}|None|{{#switch: {{{3|1}}}|1=7777FF|2=8b0202|3={{#if:{{{5|}}}|8b0202|2d9560}}|4B=F08030|4S=6890F0|4L=F8D030|5=6464FF|6=98D8D8}}|{{#switch: {{{3|1}}}|1=FF7777|2=4466CC|3={{#if:{{{5|}}}|4466CC|71c343}}|4B=F9D2B6|4S=9BB8FE|4L=FCEEB6|5=C0C0C0|6=DAA520}}}}; {{roundytr|10px}} {{#if: {{{5|}}}||{{roundybr|10px}}}}" |
{{#ifeq: {{{2|Anything}}}|None|&nbsp;|
{{{!}} style="float:left; background: #{{#switch: {{{3|1}}}|1=FF7777|2=4466CC|3={{#if:{{{5|}}}|4466CC|71c343}}|4B=F9D2B6|4S=9BB8FE|4L=FCEEB6|5=C0C0C0|6=DAA520}}; width:100%; {{roundytr|10px}} {{#if: {{{5|}}}||{{roundybr|10px}}}}"
{{!}} [[{{{2}}} {{{2dab|}}}|{{color|{{#switch: {{{3|1}}}|1|3|4B|4S|4L|5|6=000|2=FFF}}|{{{2}}} &rarr;}}]]
{{!}}}
}}
{{#if:{{{4|}}}|{{!}}-|{{#if:{{{5}}}|{{!}}-}}}}
{{#if: {{{4|}}}|{{!}} width="35%" style="text-align:center; background: #2d9560; {{roundybl|10px}}" {{!}}
{{#ifeq: {{{1|Anything}}}|None|&nbsp;|
{{{!}} style="float:right; background: #71c343; width:100%; {{roundybl|10px}}"
{{!}} style="text-align:right;" {{!}} [[{{{4}}} {{{4dab|}}}|{{color|000|&larr; {{{4}}}}}]]
{{!}}}}}
}}
{{#if: {{{5|}}}|{{!}} width="35%" style="text-align:center; background: #2d9560; {{roundybr|10px}}" {{!}}
{{#ifeq: {{{1|Anything}}}|None|&nbsp;|
{{{!}} style="float:left; background: #71c343; width:100%; {{roundybr|10px}};"
{{!}} style="text-align:left;" {{!}} [[{{{5}}} {{{5dab|}}}|{{color|000|{{{5}}} &rarr;}}]]
{{!}}}}}
}}
|}<noinclude>[[Category:PrevNext templates]]</noinclude>

Latest revision as of 09:32, 14 March 2024

[[{{{1}}} |← {{{1}}}]]
DungeonPrevNext
[[{{{2}}} |{{{2}}} →]]