Template:Event/loc: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 5: Line 5:
| 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|Oceanian|Worldwide={{{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|}}}|Nintendo Network|Nintendo Network|serial code}} event Pokémon}} distributions in Generation {{{gen|VIII}}}}}}#{{{2|Unknown}}}}}}|{{{n|{{{2|Unknown}}}}}}}}'''
| style="white-space:nowrap" | {{#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|Oceanian=Australia|Worldwide=United Nations{{{10|Japan}}}}}}}} Flag.png|20px|{{{10|Japanese}}}]]}} {{{10|Unknown}}}
| style="white-space:nowrap" | {{#if:{{{flag|}}}|[[File:{{{flag|{{{10|Japan}}}}}} Flag.png|20px|{{{10|Japanese}}}]]}} {{{10|Unknown}}}
|- {{#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}}"}}
|- {{#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|}}}}}
| style="white-space:nowrap" | {{#switch:{{{9|SMUSUM}}}|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}}|{{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 |+1 day}} and {{#time: U |-1 day}} < {{#iferror:{{#time: U |{{{8|}}}-{{{6|}}}-{{{7|}}}}}|{{#time: U }}}}|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>