Template:G2event: Difference between revisions

m
more redundant code trimming
(okay, lots of compression. See if this helps fitting on pages.)
m (more redundant code trimming)
Line 1: Line 1:
{|width="450px" style="background:#c8d0c0; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px;"
{|width="450px" style="background:#c8d0c0; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px;"
|-style="text-align:left"
|-style="text-align:left"
!colspan="4" style="background:#2068e0; border-top-left-radius:5px; -moz-border-radius-topleft:5px; -webkit-border-top-left-radius:5px; -khtml-border-top-left-radius:5px; -icab-border-top-left-radius:5px; -o-border-top-left-radius:5px; border-bottom-left-radius:5px; -moz-border-radius-bottomleft:5px; -webkit-border-bottom-left-radius:5px; -khtml-border-bottom-left-radius:5px; -icab-border-bottom-left-radius:5px; -o-border-bottom-left-radius:5px"|<sc>[[Pokémon (species)|<span style="color:#f8f8f8">Pokémon Info</span>]]</sc>
!colspan=4 style="background:#2068e0; border-top-left-radius:5px; -moz-border-radius-topleft:5px; -webkit-border-top-left-radius:5px; -khtml-border-top-left-radius:5px; -icab-border-top-left-radius:5px; -o-border-top-left-radius:5px; border-bottom-left-radius:5px; -moz-border-radius-bottomleft:5px; -webkit-border-bottom-left-radius:5px; -khtml-border-bottom-left-radius:5px; -icab-border-bottom-left-radius:5px; -o-border-bottom-left-radius:5px"|<sc>[[Pokémon (species)|<span style="color:#f8f8f8">Pokémon Info</span>]]</sc>
!colspan="2" style="background:#2068e0; border-top-right-radius:5px; -moz-border-radius-topright:5px; -webkit-border-top-right-radius:5px; -khtml-border-top-right-radius:5px; -icab-border-top-right-radius:5px; -o-border-top-right-radius:5px; border-bottom-right-radius:5px; -moz-border-radius-bottomright:5px; -webkit-border-bottom-right-radius:5px; -khtml-border-bottom-right-radius:5px; -icab-border-bottom-right-radius:5px; -o-border-bottom-right-radius:5px"|<sc>[[Move|<span style="color:#f8f8f8">Battle Moves</span>]]</sc>
!colspan=2 style="background:#2068e0; border-top-right-radius:5px; -moz-border-radius-topright:5px; -webkit-border-top-right-radius:5px; -khtml-border-top-right-radius:5px; -icab-border-top-right-radius:5px; -o-border-top-right-radius:5px; border-bottom-right-radius:5px; -moz-border-radius-bottomright:5px; -webkit-border-bottom-right-radius:5px; -khtml-border-bottom-right-radius:5px; -icab-border-bottom-right-radius:5px; -o-border-bottom-right-radius:5px"|<sc>[[Move|<span style="color:#f8f8f8">Battle Moves</span>]]</sc>
|-style="text-align:center"
|-style="text-align:center"
|colspan="4" style="background:#f8c850; border-top-left-radius:5px; -moz-border-radius-topleft:5px; -webkit-border-top-left-radius:5px; -khtml-border-top-left-radius:5px; -icab-border-top-left-radius:5px; -o-border-top-left-radius:5px; border-top-right-radius:5px; -moz-border-radius-topright:5px; -webkit-border-top-right-radius:5px; -khtml-border-top-right-radius:5px; -icab-border-top-right-radius:5px; -o-border-top-right-radius:5px; text-align:left"|[[{{{pokemon|Mew}}} (Pokémon)|<span style="color:#f8f8f8">{{{nick|Mew}}}</span>]]{{{nnote|}}} <span align="right">{{#switch:{{{gender|}}}|♂|m=<span style="color:#0070f8">'''♂'''</span>|♀|f=<span style="color:#e82010">'''♀'''</span>|2=<span style="color:#0070f8">'''♂'''</span><span style="color:#f8f8f8">'''<nowiki>/</nowiki>'''</span><span style="color:#e82010">'''♀'''</span>|?=<span style="color:#101820">?</span>|=}}</span>
|colspan=4 style="background:#f8c850; border-top-left-radius:5px; -moz-border-radius-topleft:5px; -webkit-border-top-left-radius:5px; -khtml-border-top-left-radius:5px; -icab-border-top-left-radius:5px; -o-border-top-left-radius:5px; border-top-right-radius:5px; -moz-border-radius-topright:5px; -webkit-border-top-right-radius:5px; -khtml-border-top-right-radius:5px; -icab-border-top-right-radius:5px; -o-border-top-right-radius:5px; text-align:left"|[[{{{pokemon|Mew}}} (Pokémon)|<span style="color:#f8f8f8">{{{nick|Mew}}}</span>]]{{{nnote|}}} <span align="right">{{#switch:{{{gender|}}}|♂|m=<span style="color:#0070f8">'''♂'''</span>|♀|f=<span style="color:#e82010">'''♀'''</span>|2=<span style="color:#0070f8">'''♂'''</span><span style="color:#f8f8f8">'''<nowiki>/</nowiki>'''</span><span style="color:#e82010">'''♀'''</span>|?=<span style="color:#101820">?</span>|=}}</span>
|style="background:#{{{{{type1|Unknown}}}  color}}; border-top-left-radius:5px; -moz-border-radius-topleft:5px; -webkit-border-top-left-radius:5px; -khtml-border-top-left-radius:5px; -icab-border-top-left-radius:5px; -o-border-top-left-radius:5px"|{{color{{#if:{{{type1|}}}|3}}|f8f8f8|{{{type1|--}}}|{{{type1|--}}} (type)}}
|style="background:#{{{{{type1|Unknown}}}  color}}; border-top-left-radius:5px; -moz-border-radius-topleft:5px; -webkit-border-top-left-radius:5px; -khtml-border-top-left-radius:5px; -icab-border-top-left-radius:5px; -o-border-top-left-radius:5px"|{{color{{#if:{{{type1|}}}|3}}|f8f8f8|{{{type1|--}}}|{{{type1|--}}} (type)}}
|style="background:#f88078; border-top-right-radius:5px; -moz-border-radius-topright:5px; -webkit-border-top-right-radius:5px; -khtml-border-top-right-radius:5px; -icab-border-top-right-radius:5px; -o-border-top-right-radius:5px"|{{color{{#if:{{{move1|}}}|3}}|f8f8f8|{{{move1|--}}}|{{{move1|--}}} (move)}}
|style="background:#f88078; border-top-right-radius:5px; -moz-border-radius-topright:5px; -webkit-border-top-right-radius:5px; -khtml-border-top-right-radius:5px; -icab-border-top-right-radius:5px; -o-border-top-right-radius:5px"|{{color{{#if:{{{move1|}}}|3}}|f8f8f8|{{{move1|--}}}|{{{move1|--}}} (move)}}
|-style="text-align:center"
|-style="text-align:center"
|colspan="2" style="background:#f8f8f8; border-bottom-left-radius:5px; -moz-border-radius-bottomleft:5px; -webkit-border-bottom-left-radius:5px; -khtml-border-bottom-left-radius:5px; -icab-border-bottom-left-radius:5px; -o-border-bottom-left-radius:5px; text-align:left"|'''<sc>[[Level|<span style="color:#101820"><small>Lv.</small></span>]]</sc>'''<span style="color:#101820">{{{level2|{{{level|0}}}}}}</span>
|colspan=2 style="background:#f8f8f8; border-bottom-left-radius:5px; -moz-border-radius-bottomleft:5px; -webkit-border-bottom-left-radius:5px; -khtml-border-bottom-left-radius:5px; -icab-border-bottom-left-radius:5px; -o-border-bottom-left-radius:5px; text-align:left"|'''<sc>[[Level|<span style="color:#101820"><small>Lv.</small></span>]]</sc>'''<span style="color:#101820">{{{level2|{{{level|0}}}}}}</span>
|colspan=2 style="background:#80d888; text-align:left"|<sc>[[List of Pokémon by National Pokédex number|<span style="color:#f8f8f8">Dex No.</span>]]</sc>
|colspan=2 style="background:#80d888; text-align:left"|<sc>[[List of Pokémon by National Pokédex number|<span style="color:#f8f8f8">Dex No.</span>]]</sc>
|style="background:#{{{{{type2|Unknown}}}  color}}"|{{color{{#if:{{{type2|}}}|3}}|f8f8f8|{{{type2|--}}}|{{{type2|--}}} (type)}}
|style="background:#{{{{{type2|Unknown}}}  color}}"|{{color{{#if:{{{type2|}}}|3}}|f8f8f8|{{{type2|--}}}|{{{type2|--}}} (type)}}
|style="background:#f0a8a0"|{{color{{#if:{{{move2|}}}|3}}|f8f8f8|{{{move2|--}}}|{{{move2|--}}} (move)}}
|style="background:#f0a8a0"|{{color{{#if:{{{move2|}}}|3}}|f8f8f8|{{{move2|--}}}|{{{move2|--}}} (move)}}
|-style="text-align:center"
|-style="text-align:center"
|rowspan="3" style="background:#c8d0c0"|[[File:Spr {{{game|1g}}} {{{ndex|151}}}.{{#ifeq:{{{game|1g}}}|2c|gif|png}}]]
|rowspan=3 style="background:#c8d0c0"|[[File:Spr {{{game|1g}}} {{{ndex|151}}}.{{#ifeq:{{{game|1g}}}|2c|gif|png}}]]
|rowspan="3" style="vertical-align:top"|{{#switch:{{{shiny|}}}|yes=[[File:ShinyIIStars.png|8px]]|}}
|rowspan=3 style="vertical-align:top"|{{#switch:{{{shiny|}}}|yes=[[File:ShinyIIStars.png|8px]]|}}
|colspan=2 style="background:#f8f8c8"|<span style="color:#{{#switch:{{{shiny|}}}|yes=e82010|101820}}">{{{dexno|{{{ndex|151}}}}}}</span>
|colspan=2 style="background:#f8f8c8"|<span style="color:#{{#switch:{{{shiny|}}}|yes=e82010|101820}}">{{{dexno|{{{ndex|151}}}}}}</span>
|style="background:#{{{{{type3|Unknown}}} color}}"|{{color{{#if:{{{type3|}}}|3}}|f8f8f8|{{{type3|--}}}|{{{type3|--}}} (type)}}
|style="background:#{{{{{type3|Unknown}}} color}}"|{{color{{#if:{{{type3|}}}|3}}|f8f8f8|{{{type3|--}}}|{{{type3|--}}} (type)}}
|style="background:#f88078"|{{color{{#if:{{{move3|}}}|3}}|f8f8f8|{{{move3|--}}}|{{{move3|--}}} (move)}}
|style="background:#f88078"|{{color{{#if:{{{move3|}}}|3}}|f8f8f8|{{{move3|--}}}|{{{move3|--}}} (move)}}
|-style="text-align:center"
|-style="text-align:center"
|colspan="2" style="background:#70b870; text-align:left"|<sc>[[Type|<span style="color:#f8f8f8">Type</span>]]</sc>
|colspan=2 style="background:#70b870; text-align:left"|<sc>[[Type|<span style="color:#f8f8f8">Type</span>]]</sc>
|style="background:#{{{{{type4|Unknown}}} color}}; border-bottom-left-radius:5px; -moz-border-radius-bottomleft:5px; -webkit-border-bottom-left-radius:5px; -khtml-border-bottom-left-radius:5px; -icab-border-bottom-left-radius:5px; -o-border-bottom-left-radius:5px"|{{color{{#if:{{{type4|}}}|3}}|f8f8f8|{{{type4|--}}}|{{{type4|--}}} (type)}}
|style="background:#{{{{{type4|Unknown}}} color}}; border-bottom-left-radius:5px; -moz-border-radius-bottomleft:5px; -webkit-border-bottom-left-radius:5px; -khtml-border-bottom-left-radius:5px; -icab-border-bottom-left-radius:5px; -o-border-bottom-left-radius:5px"|{{color{{#if:{{{type4|}}}|3}}|f8f8f8|{{{type4|--}}}|{{{type4|--}}} (type)}}
|style="background:#f0a8a0; border-bottom-right-radius:5px; -moz-border-radius-bottomright:5px; -webkit-border-bottom-right-radius:5px; -khtml-border-bottom-right-radius:5px; -icab-border-bottom-right-radius:5px; -o-border-bottom-right-radius:5px"|{{color{{#if:{{{move4|}}}|3}}|f8f8f8|{{{move4|--}}}|{{{move4|--}}} (move)}}
|style="background:#f0a8a0; border-bottom-right-radius:5px; -moz-border-radius-bottomright:5px; -webkit-border-bottom-right-radius:5px; -khtml-border-bottom-right-radius:5px; -icab-border-bottom-right-radius:5px; -o-border-bottom-right-radius:5px"|{{color{{#if:{{{move4|}}}|3}}|f8f8f8|{{{move4|--}}}|{{{move4|--}}} (move)}}
|-style="text-align:center"
|-style="text-align:center"
|colspan="{{#switch:{{{types|1}}}|1=2|2=1}}" style="background:#{{{{{typea|???}}} color}}"|[[{{{typea|Unknown}}} (type)|<span style="color:#f8f8f8">{{{typea|Unknown}}}</span>]]
|colspan={{#switch:{{{types|1}}}|1=2|2=1}} style="background:#{{{{{typea|???}}} color}}"|[[{{{typea|Unknown}}} (type)|<span style="color:#f8f8f8">{{{typea|Unknown}}}</span>]]
|style="background:#{{{{{typeb|???}}} color}}; {{#if:{{{types|}}}|1|display:none}}"|[[{{{typeb|Unknown}}} (type)|<span style="color:#f8f8f8">{{{typeb|Unknown}}}</span>]]
|style="background:#{{{{{typeb|???}}} color}}; {{#if:{{{types|}}}|1|display:none}}"|[[{{{typeb|Unknown}}} (type)|<span style="color:#f8f8f8">{{{typeb|Unknown}}}</span>]]
|colspan="3" rowspan="3" style="background:#d8c800;  border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; -khtml-border-radius:5px; -icab-border-radius:5px; -o-border-radius:5px; text-align:left"|<small>{{#switch:{{{receive|specific}}}|specific=<span style="color:#101820">This Pokémon was available {{#switch:{{{gts|no}}}|yes=on the|no=in}} '''{{{country|Japan}}}''' <br>{{#switch:{{{disdate|2}}}|1=on|2=from}} '''{{{datedis|January 1 to December 31, 2000}}}'''.</span>|no=There is no limit to this Pokémon's availability.<br>It may be obtained on any date, beginning from<br>when it was released.<br>It was available in '''{{{country|Japan}}}'''.}}</small>
|colspan=3 rowspan=3 style="background:#d8c800;  border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; -khtml-border-radius:5px; -icab-border-radius:5px; -o-border-radius:5px; text-align:left"|<small>{{#switch:{{{receive|specific}}}|specific=<span style="color:#101820">This Pokémon was available {{#switch:{{{gts|no}}}|yes=on the|no=in}} '''{{{country|Japan}}}''' <br>{{#switch:{{{disdate|2}}}|1=on|2=from}} '''{{{datedis|January 1 to December 31, 2000}}}'''.</span>|no=There is no limit to this Pokémon's availability.<br>It may be obtained on any date, beginning from<br>when it was released.<br>It was available in '''{{{country|Japan}}}'''.}}</small>
|-style="text-align:center"
|-style="text-align:center"
|colspan="2" style="background:#f8c850; border-top-left-radius:5px; -moz-border-radius-topleft:5px; -webkit-border-top-left-radius:5px; -khtml-border-top-left-radius:5px; -icab-border-top-left-radius:5px; -o-border-top-left-radius:5px"|<sc>[[Held item|<span style="color:#f8f8f8">Item</span>]]</sc>
|colspan=2 style="background:#f8c850; border-top-left-radius:5px; -moz-border-radius-topleft:5px; -webkit-border-top-left-radius:5px; -khtml-border-top-left-radius:5px; -icab-border-top-left-radius:5px; -o-border-top-left-radius:5px"|<sc>[[Held item|<span style="color:#f8f8f8">Item</span>]]</sc>
|style="background:#80d888"|<sc>[[Original Trainer|<span style="color:#f8f8f8">OT</span>]]</sc>  
|style="background:#80d888"|<sc>[[Original Trainer|<span style="color:#f8f8f8">OT</span>]]</sc>  
|style="background:#f8f8c8; text-align:left"|{{{ot|???}}}{{{otnote|}}}
|style="background:#f8f8c8; text-align:left"|{{{ot|???}}}{{{otnote|}}}
|-
|-
|colspan="2" style="background:#f8f8f8; border-bottom-left-radius:5px; -moz-border-radius-bottomleft:5px; -webkit-border-bottom-left-radius:5px; -khtml-border-bottom-left-radius:5px; -icab-border-bottom-left-radius:5px; -o-border-bottom-left-radius:5px"|{{#if:{{{item|}}}|[[{{{itemlink|{{{item}}}}}}|{{{item|None}}}]]|None}}{{{itemnote|}}}{{#if:{{{item2|}}}|&nbsp;or [[{{{item2link|{{{item2}}}}}}|{{{item2|None}}}]]}}{{{item2note|}}}
|colspan=2 style="background:#f8f8f8; border-bottom-left-radius:5px; -moz-border-radius-bottomleft:5px; -webkit-border-bottom-left-radius:5px; -khtml-border-bottom-left-radius:5px; -icab-border-bottom-left-radius:5px; -o-border-bottom-left-radius:5px"|{{#if:{{{item|}}}|[[{{{itemlink|{{{item}}}}}}|{{{item|None}}}]]|None}}{{{itemnote|}}}{{#if:{{{item2|}}}|&nbsp;or [[{{{item2link|{{{item2}}}}}}|{{{item2|None}}}]]}}{{{item2note|}}}
|style="background:#70b870"|<sc>[[Trainer ID number|<span style="color:#f8f8f8">ID No.</span>]]</sc>
|style="background:#70b870"|<sc>[[Trainer ID number|<span style="color:#f8f8f8">ID No.</span>]]</sc>
|style="background:#f8f8c8; border-bottom-right-radius:5px; -moz-border-radius-bottomright:5px; -webkit-border-bottom-right-radius:5px; -khtml-border-bottom-right-radius:5px; -icab-border-bottom-right-radius:5px; -o-border-bottom-right-radius:5px"|<span style="color:#101820">{{{id|?????}}}</span>{{{idnote|}}}
|style="background:#f8f8c8; border-bottom-right-radius:5px; -moz-border-radius-bottomright:5px; -webkit-border-bottom-right-radius:5px; -khtml-border-bottom-right-radius:5px; -icab-border-bottom-right-radius:5px; -o-border-bottom-right-radius:5px"|<span style="color:#101820">{{{id|?????}}}</span>{{{idnote|}}}
|-style="{{#if:{{{korean|}}}||display:none}}"
|-style="{{#if:{{{korean|}}}||display:none}}"
|colspan="8" style="background:#d078f8; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; -khtml-border-radius:5px; -icab-border-radius:5px; -o-border-radius:5px"|{{#switch:{{{korean|no}}}|yes=<small>Korean characters do not appear on non-Korean games.</small>|no=}}
|colspan=8 style="background:#d078f8; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; -khtml-border-radius:5px; -icab-border-radius:5px; -o-border-radius:5px"|{{#switch:{{{korean|no}}}|yes=<small>Korean characters do not appear on non-Korean games.</small>|no=}}
|-style="{{#if:{{{otidhatch|}}}||display:none}}"
|-style="{{#if:{{{otidhatch|}}}||display:none}}"
|colspan="8" style="background:#d078f8; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; -khtml-border-radius:5px; -icab-border-radius:5px; -o-border-radius:5px"|{{#switch:{{{otidhatch|no}}}|yes=<small>The OT and ID No. of this Pokémon is the same as its hatcher's.</small>|no=}}
|colspan=8 style="background:#d078f8; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; -khtml-border-radius:5px; -icab-border-radius:5px; -o-border-radius:5px"|{{#switch:{{{otidhatch|no}}}|yes=<small>The OT and ID No. of this Pokémon is the same as its hatcher's.</small>|no=}}
|-style="{{#ifeq:{{{shiny|}}}|maybe||display:none}}"
|-style="{{#ifeq:{{{shiny|}}}|maybe||display:none}}"
|colspan="8" style="background:#d078f8; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; -khtml-border-radius:5px; -icab-border-radius:5px; -o-border-radius:5px"|{{#switch:{{{shiny|no}}}|maybe=<small>This Pokémon can be [[Shiny Pokémon|<span style="color:#000">Shiny</span>]].|no=}}
|colspan=8 style="background:#d078f8; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; -khtml-border-radius:5px; -icab-border-radius:5px; -o-border-radius:5px"|{{#switch:{{{shiny|no}}}|maybe=<small>This Pokémon can be [[Shiny Pokémon|<span style="color:#000">Shiny</span>]].|no=}}
|-
|-
|colspan="8"|
|colspan=8|
{|style="background:#d078f8; border-top-left-radius:5px; -moz-border-radius-topleft:5px; -webkit-border-top-left-radius:5px; -khtml-border-top-left-radius:5px; -icab-border-top-left-radius:5px; -o-border-top-left-radius:5px; border-bottom-left-radius:5px; -moz-border-radius-bottomleft:5px; -webkit-border-bottom-left-radius:5px; -khtml-border-bottom-left-radius:5px; -icab-border-bottom-left-radius:5px; -o-border-bottom-left-radius:5px;; border-top-right-radius:5px; -moz-border-radius-topright:5px; -webkit-border-top-right-radius:5px; -khtml-border-top-right-radius:5px; -icab-border-top-right-radius:5px; -o-border-top-right-radius:5px"
{|style="background:#d078f8; border-top-left-radius:5px; -moz-border-radius-topleft:5px; -webkit-border-top-left-radius:5px; -khtml-border-top-left-radius:5px; -icab-border-top-left-radius:5px; -o-border-top-left-radius:5px; border-bottom-left-radius:5px; -moz-border-radius-bottomleft:5px; -webkit-border-bottom-left-radius:5px; -khtml-border-bottom-left-radius:5px; -icab-border-bottom-left-radius:5px; -o-border-bottom-left-radius:5px;; border-top-right-radius:5px; -moz-border-radius-topright:5px; -webkit-border-top-right-radius:5px; -khtml-border-top-right-radius:5px; -icab-border-top-right-radius:5px; -o-border-top-right-radius:5px"
|-
|-
Line 58: Line 58:
|}
|}
|-style="{{#if:{{{ge|}}}||display:none}}"
|-style="{{#if:{{{ge|}}}||display:none}}"
|colspan="8"|
|colspan=8|
{|style="background:#d078f8; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; -khtml-border-radius:5px; -icab-border-radius:5px; -o-border-radius:5px"
{|style="background:#d078f8; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; -khtml-border-radius:5px; -icab-border-radius:5px; -o-border-radius:5px"
|<small>Please go '''[[List of Nintendo event Pokémon with in-game effects#{{{pokemon|Pikachu}}}|<span style="color:#000">here</span>]]''' to know this Pokémon's [[Pokémon games|<span style="color:#000">in-game</span>]] effect.</small>
|<small>Please go '''[[List of Nintendo event Pokémon with in-game effects#{{{pokemon|Pikachu}}}|<span style="color:#000">here</span>]]''' to know this Pokémon's [[Pokémon games|<span style="color:#000">in-game</span>]] effect.</small>