Template:Event/loc: Difference between revisions

no edit summary
mNo edit summary
No edit summary
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 }} and {{#time: U }} < {{#iferror:{{#time: U |{{{8|}}}-{{{6|}}}-{{{7|}}}}}|{{#time: U |+1 day}}}}|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" |  
Line 6: Line 6:
|}
|}
| '''{{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|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}}}}}}}}'''
| {{#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" | {{#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}}}
|- {{#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 }} and {{#time: U }} < {{#iferror:{{#time: U |{{{8|}}}-{{{6|}}}-{{{7|}}}}}|{{#time: U |+1 day}}}}|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|Sun and Moon}}}|Sun|Moon={{pkmn|Sun and Moon|{{{9|}}}}} only|{{pkmn|{{{9|Sun and Moon}}}}}}}
|- {{#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 }} and {{#time: U }} < {{#iferror:{{#time: U |{{{8|}}}-{{{6|}}}-{{{7|}}}}}|{{#time: U |+1 day}}}}|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|Nintendo Network}}}<noinclude>
|}[[Category:Front page components]]</noinclude>
|}[[Category:Front page components]]</noinclude>