Template:Event/loc: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{| width="40%" cellspacing="0"</noinclude>
<noinclude>{| cellspacing="0" style="min-width: 40%"</noinclude>
|- {{#ifexpr:{{#iferror:{{#time: U |{{{5|}}}-{{{3|}}}-{{{4|}}}}}|{{#time: U |+1 day}}}} < {{#time: U }} and {{#time: U }} < {{#iferror:{{#time: U |{{{8|}}}-{{{6|}}}-{{{7|}}}}}|{{#time: U |+1 day}}}}|style="background: #{{{{{type1|news}}} color light}}"}}
|- {{#ifexpr:{{#iferror:{{#time: U |{{{5|}}}-{{{3|}}}-{{{4|}}}}}|{{#time: U |+1 day}}}} < {{#time: U |+1 day}} and {{#time: U |-1 day}} < {{#iferror:{{#time: U |{{{8|}}}-{{{6|}}}-{{{7|}}}}}|{{#time: U }}}}|style="background: #{{{{{type1|news}}} color light}}"}}
| rowspan="3" style="border: solid #{{news color dark}}; border-width: 0 0 2px 0" |  
| rowspan="3" style="border: solid #{{news color dark}}; border-width: 0 0 2px 0" |  
{| style="margin:auto; text-align:center"
{| style="margin:auto; text-align:center"
| style="background: #{{{{{type1|news}}} color light}}; border: 2px solid #{{{{{type2|{{{type1|news}}}}}} color dark}}; width:40px; height:40px; {{roundy|32px}}" | {{#ifeq:{{{type|pokemon}}}|item|[[File:Bag {{{1|Master Ball}}} Sprite.png|{{{1|Master Ball}}}]]|{{MS|{{{1|000}}}}}}}
| style="background: #{{{{{type1|news}}} color light}}; border: 2px solid #{{{{{type2|{{{type1|news}}}}}} color dark}}; width:40px; height:40px; {{roundy|32px}}" | {{#ifeq:{{{type|pokemon}}}|item|[[File:Bag {{{1|Master Ball}}} Sprite.png|{{{1|Master Ball}}}]]|{{MS|{{{1|000}}}}}}}
|}
|}
| '''{{bp|{{{link|List of {{#ifeq:{{{type|pokemon}}}|item|other event|{{#switch:{{{10|Japan}}}|Japanese|American|PAL|Korean|Taiwanese={{{10|Japanese}}} region {{#if:{{{11|}}}|serial code|Nintendo Network}}|local}} event Pokémon}} distributions in Generation {{{gen|VII}}}#{{{2|Unknown}}}}}}|{{{n|{{{2|Unknown}}}}}}}}'''
| '''{{bp|{{{link|{{{page|List of {{#ifeq:{{{type|pokemon}}}|item|other event|{{#ifeq:{{{11|}}}|Internet|internet|serial code}} event Pokémon}} distributions in Generation {{{gen|VIII}}}}}}#{{{2|Unknown}}}}}}|{{{n|{{{2|Unknown}}}}}}}}'''
| {{#switch:{{{flag|{{{10|None}}}}}}|None|Worldwide=|[[File:{{{flag|{{#switch:{{{10|Japan}}}|Japanese=Japan|American|North America=United States|PAL=Europe|Korean=South Korea|Taiwanese=Taiwan|{{{10|Japan}}}}}}}} Flag.png|20px|{{{10|Japanese}}}]]}} {{{10|Unknown}}}
| style="white-space:nowrap" | {{#ifeq:{{{flag|{{{10|None}}}}}}|None||[[File:{{{flag|{{{10|Japan}}}}}} Flag.png|20px|{{{10|Japanese}}}]]}} {{{10|Unknown}}}
|- {{#ifexpr:{{#iferror:{{#time: U |{{{5|}}}-{{{3|}}}-{{{4|}}}}}|{{#time: U |+1 day}}}} < {{#time: U }} and {{#time: U }} < {{#iferror:{{#time: U |{{{8|}}}-{{{6|}}}-{{{7|}}}}}|{{#time: U |+1 day}}}}|style="background: #{{{{{type1|news}}} color light}}"}}
|- {{#ifexpr:{{#iferror:{{#time: U |{{{5|}}}-{{{3|}}}-{{{4|}}}}}|{{#time: U |+1 day}}}} < {{#time: U |+1 day}} and {{#time: U |-1 day}} < {{#iferror:{{#time: U |{{{8|}}}-{{{6|}}}-{{{7|}}}}}|{{#time: U }}}}|style="background: #{{{{{type1|news}}} color light}}"}}
|{{#switch:{{{3|}}}|1=Jan.|2=Feb.|3=March|4=April|5=May|6=June|7=July|8=Aug.|9=Sept.|10=Oct.|11=Nov.|12=Dec.|???}} {{{4|}}}{{#switch:{{{5|}}}|{{#if:{{{8|}}}|{{{8|}}}|{{CURRENTYEAR}}}}|=|, {{{5|}}}}} — {{#switch:{{{6|}}}|1=Jan.|2=Feb.|3=March|4=April|5=May|6=June|7=July|8=Aug.|9=Sept.|10=Oct.|11=Nov.|12=Dec.|???}} {{{7|}}}{{#switch:{{{8|}}}|{{#if:{{{5|}}}|{{{5|}}}|{{CURRENTYEAR}}}}}}|=|, {{{8|}}}}}
|{{#switch:{{{3|}}}|1=Jan.|2=Feb.|3=March|4=April|5=May|6=June|7=July|8=Aug.|9=Sept.|10=Oct.|11=Nov.|12=Dec.|???}} {{{4|}}}{{#switch:{{{5|}}}|{{#if:{{{8|}}}|{{{8|}}}|{{CURRENTYEAR}}}}|=|, {{{5|}}}}} — {{#switch:{{{6|}}}|1=Jan.|2=Feb.|3=March|4=April|5=May|6=June|7=July|8=Aug.|9=Sept.|10=Oct.|11=Nov.|12=Dec.|???}} {{{7|}}}{{#switch:{{{8|}}}|{{#if:{{{5|}}}|{{{5|}}}|{{CURRENTYEAR}}}}|=|, {{{8|}}}}}
| {{#switch:{{{9|Sun and Moon}}}|Sun|Moon={{pkmn|Sun and Moon|{{{9|}}}}} only|{{pkmn|{{{9|Sun and Moon}}}}}}}
| style="white-space:nowrap" | {{#switch:{{{9|Sword and Shield}}}|Sun|Moon={{pkmn|Sun and Moon|{{{9|}}}}} only|Ultra Sun|Ultra Moon={{pkmn|Ultra Sun and Ultra Moon|{{{9|}}}}} only|SMUSUM|Sun, Moon, Ultra Sun, and Ultra Moon={{pkmn|Sun and Moon|Sun, Moon}}, {{pkmn|Ultra Sun and Ultra Moon|Ultra Sun, and Ultra Moon}}|Sword|Shield={{pkmn|Sword and Shield|{{{9|}}}}} only|{{pkmn|{{{9|Sword and Shield}}}}}}}
|- {{#ifexpr:{{#iferror:{{#time: U |{{{5|}}}-{{{3|}}}-{{{4|}}}}}|{{#time: U |+1 day}}}} < {{#time: U }} and {{#time: U }} < {{#iferror:{{#time: U |{{{8|}}}-{{{6|}}}-{{{7|}}}}}|{{#time: U |+1 day}}}}|style="background: #{{{{{type1|news}}} color light}}"}}
|- {{#ifexpr:{{#iferror:{{#time: U |{{{5|}}}-{{{3|}}}-{{{4|}}}}}|{{#time: U |+1 day}}}} < {{#time: U |+1 day}} and {{#time: U |-1 day}} < {{#iferror:{{#time: U |{{{8|}}}-{{{6|}}}-{{{7|}}}}}|{{#time: U }}}}|style="background: #{{{{{type1|news}}} color light}}"}}
| colspan="2" style="border-bottom: 2px solid #{{news color dark}}" |{{{11|Nintendo Network}}}<noinclude>
| colspan="2" style="border-bottom: 2px solid #{{news color dark}}" |{{{11|Unknown}}}<noinclude>
|}[[Category:Front page components]]</noinclude>
|}[[Category:Front page components]]</noinclude>