5,426
edits
(awks) |
(for one day events. Also fixed potential greater than/less than issue) |
||
Line 1: | Line 1: | ||
<noinclude>{| width="40%" cellspacing="0" </noinclude> | <noinclude>{| width="40%" cellspacing="0" </noinclude> | ||
|- | |- | ||
| rowspan="3" width="40px" style="{{#ifexpr: {{#time: z}} < {{#time: z|{{{5|Dec.}}} {{{6|14}}}}}|{{#if:{{{year|}}}|{{#ifexpr:{{CURRENTYEAR}} > {{{year|2010}}}|background: #{{{{{type1|grass}}} color}}}}|{{#ifexpr: {{#time: z}} > {{#time: z|{{{3|Feb.}}} {{{4|14}}}}}|background: #{{{{{type1|grass}}} color}}}}}}}}; border: 1px #{{{{{type1|grass}}} color dark}} solid; border-left: 0px; border-right: 0px; " | | | rowspan="3" width="40px" style="{{#ifexpr: {{#time: z}} <= {{#time: z|{{{5|Dec.}}} {{{6|14}}}}}|{{#if:{{{year|}}}|{{#ifexpr:{{CURRENTYEAR}} > {{{year|2010}}}|background: #{{{{{type1|grass}}} color}}}}|{{#ifexpr: {{#time: z}} >= {{#time: z|{{{3|Feb.}}} {{{4|14}}}}}|background: #{{{{{type1|grass}}} color}}}}}}}}; border: 1px #{{{{{type1|grass}}} color dark}} solid; border-left: 0px; border-right: 0px; " | | ||
{| style="background: #{{{{{type1|grass}}} color light}}; border: 1px solid #{{#ifexpr: {{{typen|1}}} = 4|{{{{{type1|grass}}} color dark}}|{{#if: {{{type2|}}}|{{{{{type2|poison}}} color}}|{{{{{type1|grass}}} color dark}}}}}}; {{roundy|32px}}; width:35px; height:35px" align="center" | {| style="background: #{{{{{type1|grass}}} color light}}; border: 1px solid #{{#ifexpr: {{{typen|1}}} = 4|{{{{{type1|grass}}} color dark}}|{{#if: {{{type2|}}}|{{{{{type2|poison}}} color}}|{{{{{type1|grass}}} color dark}}}}}}; {{roundy|32px}}; width:35px; height:35px" align="center" | ||
| align="center" | {{#switch:{{{type|pokemon}}}|pokemon|Pokémon|pokémon|Pokemon={{ms|{{{1|001}}}}}|item|items=[[File:Bag {{{1|Liberty Pass}}} Sprite.png|{{{1|Liberty Pass}}}]]}} | | align="center" | {{#switch:{{{type|pokemon}}}|pokemon|Pokémon|pokémon|Pokemon={{ms|{{{1|001}}}}}|item|items=[[File:Bag {{{1|Liberty Pass}}} Sprite.png|{{{1|Liberty Pass}}}]]}} | ||
|} | |} | ||
| style="{{#ifexpr: {{#time: z}} < {{#time: z|{{{5|Dec.}}} {{{6|14}}}}}|{{#if:{{{year|}}}|{{#ifexpr:{{CURRENTYEAR}} > {{{year|2010}}}|background: #{{{{{type1|grass}}} color light}}}}|{{#ifexpr: {{#time: z}} > {{#time: z|{{{3|Feb.}}} {{{4|14}}}}}|background: #{{{{{type1|grass}}} color light}}}}}}}}; border: 1px #{{{{{type1|grass}}} color dark}} solid; border-left: 0px; border-right: 0px; border-bottom: 0px; padding-left:3px;" | '''{{#switch:{{{type|pokemon}}}|pokemon|Pokémon|pokémon|Pokemon={{bp|List of {{{reg|{{#switch:{{{7|Japan}}}|Japan=Japanese|USA|America|United States|Canada|NA|North America=North American|South Korea|Korean=Korean|PAL}}}}} Nintendo event Pokémon in {{{year|2011}}}#{{{2|Archaic's Bulbasaur}}}|{{{n|{{{2|Archaic's Bulbasaur}}}}}}}}|item|items={{bp|{{{1|Liberty Pass}}}|{{{n|{{{1|Liberty<br>Pass}}}}}}}}}}''' | | style="{{#ifexpr: {{#time: z}} <= {{#time: z|{{{5|Dec.}}} {{{6|14}}}}}|{{#if:{{{year|}}}|{{#ifexpr:{{CURRENTYEAR}} > {{{year|2010}}}|background: #{{{{{type1|grass}}} color light}}}}|{{#ifexpr: {{#time: z}} >= {{#time: z|{{{3|Feb.}}} {{{4|14}}}}}|background: #{{{{{type1|grass}}} color light}}}}}}}}; border: 1px #{{{{{type1|grass}}} color dark}} solid; border-left: 0px; border-right: 0px; border-bottom: 0px; padding-left:3px;" | '''{{#switch:{{{type|pokemon}}}|pokemon|Pokémon|pokémon|Pokemon={{bp|List of {{{reg|{{#switch:{{{7|Japan}}}|Japan=Japanese|USA|America|United States|Canada|NA|North America=North American|South Korea|Korean=Korean|PAL}}}}} Nintendo event Pokémon in {{{year|2011}}}#{{{2|Archaic's Bulbasaur}}}|{{{n|{{{2|Archaic's Bulbasaur}}}}}}}}|item|items={{bp|{{{1|Liberty Pass}}}|{{{n|{{{1|Liberty<br>Pass}}}}}}}}}}''' | ||
| style="{{#ifexpr: {{#time: z}} < {{#time: z|{{{5|Dec.}}} {{{6|14}}}}}|{{#if:{{{year|}}}|{{#ifexpr:{{CURRENTYEAR}} > {{{year|2010}}}|background: #{{{{{type1|grass}}} color light}}}}|{{#ifexpr: {{#time: z}} > {{#time: z|{{{3|Feb.}}} {{{4|14}}}}}|background: #{{{{{type1|grass}}} color light}}}}}}}}; border: 1px #{{{{{type1|grass}}} color dark}} solid; border-left: 0px; border-right: 0px; border-bottom: 0px; padding-left:3px;" | {{#switch:{{{7|Japan}}}|North America|NA=North America|[[File:{{#switch:{{{7|Japan}}}|PAL|Europe=Europe|NA|North America|US|USA=United States|{{{7|Japan}}}}} Flag.png|20px|{{{7|Japan}}}]] {{{7|Japan}}}}} | | style="{{#ifexpr: {{#time: z}} <= {{#time: z|{{{5|Dec.}}} {{{6|14}}}}}|{{#if:{{{year|}}}|{{#ifexpr:{{CURRENTYEAR}} > {{{year|2010}}}|background: #{{{{{type1|grass}}} color light}}}}|{{#ifexpr: {{#time: z}} >= {{#time: z|{{{3|Feb.}}} {{{4|14}}}}}|background: #{{{{{type1|grass}}} color light}}}}}}}}; border: 1px #{{{{{type1|grass}}} color dark}} solid; border-left: 0px; border-right: 0px; border-bottom: 0px; padding-left:3px;" | {{#switch:{{{7|Japan}}}|North America|NA=North America|[[File:{{#switch:{{{7|Japan}}}|PAL|Europe=Europe|NA|North America|US|USA=United States|{{{7|Japan}}}}} Flag.png|20px|{{{7|Japan}}}]] {{{7|Japan}}}}} | ||
|- | |- | ||
| style="{{#ifexpr: {{#time: z}} < {{#time: z|{{{5|Dec.}}} {{{6|14}}}}}|{{#if:{{{year|}}}|{{#ifexpr:{{CURRENTYEAR}} > {{{year|2010}}}|background: #{{{{{type1|grass}}} color light}}}}|{{#ifexpr: {{#time: z}} > {{#time: z|{{{3|Feb.}}} {{{4|14}}}}}|background: #{{{{{type1|grass}}} color light}}}}}}}}; padding-left:3px;" | {{{3|Feb.}}} {{{4|14}}} — {{{5|Dec.}}} {{{6|14}}} | | style="{{#ifexpr: {{#time: z}} <= {{#time: z|{{{5|Dec.}}} {{{6|14}}}}}|{{#if:{{{year|}}}|{{#ifexpr:{{CURRENTYEAR}} > {{{year|2010}}}|background: #{{{{{type1|grass}}} color light}}}}|{{#ifexpr: {{#time: z}} >= {{#time: z|{{{3|Feb.}}} {{{4|14}}}}}|background: #{{{{{type1|grass}}} color light}}}}}}}}; padding-left:3px;" | {{#ifeq:{{{3|Feb.}}} {{{4|14}}}|{{{5|Dec.}}} {{{6|14}}}|{{{3|Feb.}}} {{{4|14}}}|{{{3|Feb.}}} {{{4|14}}} — {{{5|Dec.}}} {{{6|14}}}}} | ||
| style="{{#ifexpr: {{#time: z}} < {{#time: z|{{{5|Dec.}}} {{{6|14}}}}}|{{#if:{{{year|}}}|{{#ifexpr:{{CURRENTYEAR}} > {{{year|2010}}}|background: #{{{{{type1|grass}}} color light}}}}|{{#ifexpr: {{#time: z}} > {{#time: z|{{{3|Feb.}}} {{{4|14}}}}}|background: #{{{{{type1|grass}}} color light}}}}}}}}; padding-left:3px;" | {{#switch:{{{8|BW}}} | 5|BW={{game|Black and White|s|Black and White}} | B={{game|Black}} only | W={{game|White}} only}} | | style="{{#ifexpr: {{#time: z}} <= {{#time: z|{{{5|Dec.}}} {{{6|14}}}}}|{{#if:{{{year|}}}|{{#ifexpr:{{CURRENTYEAR}} > {{{year|2010}}}|background: #{{{{{type1|grass}}} color light}}}}|{{#ifexpr: {{#time: z}} >= {{#time: z|{{{3|Feb.}}} {{{4|14}}}}}|background: #{{{{{type1|grass}}} color light}}}}}}}}; padding-left:3px;" | {{#switch:{{{8|BW}}} | 5|BW={{game|Black and White|s|Black and White}} | B={{game|Black}} only | W={{game|White}} only}} | ||
|- | |- | ||
| colspan=2 style="{{#ifexpr: {{#time: z}} < {{#time: z|{{{5|Dec.}}} {{{6|14}}}}}|{{#if:{{{year|}}}|{{#ifexpr:{{CURRENTYEAR}} > {{{year|2010}}}|background: #{{{{{type1|grass}}} color light}}}}|{{#ifexpr: {{#time: z}} > {{#time: z|{{{3|Feb.}}} {{{4|14}}}}}|background: #{{{{{type1|grass}}} color light}}}}}}}}; border: 1px #{{{{{type1|grass}}} color dark}} solid; border-left: 0px; border-right: 0px; border-top: 0px; padding-left:3px;" | {{{9|Physical location}}}<noinclude> | | colspan=2 style="{{#ifexpr: {{#time: z}} <= {{#time: z|{{{5|Dec.}}} {{{6|14}}}}}|{{#if:{{{year|}}}|{{#ifexpr:{{CURRENTYEAR}} > {{{year|2010}}}|background: #{{{{{type1|grass}}} color light}}}}|{{#ifexpr: {{#time: z}} >= {{#time: z|{{{3|Feb.}}} {{{4|14}}}}}|background: #{{{{{type1|grass}}} color light}}}}}}}}; border: 1px #{{{{{type1|grass}}} color dark}} solid; border-left: 0px; border-right: 0px; border-top: 0px; padding-left:3px;" | {{{9|Physical location}}}<noinclude> | ||
|}[[Category:Front page components]]</noinclude> | |}[[Category:Front page components]]</noinclude> |