Template:GenInfo: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
No edit summary
mNo edit summary
(18 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<noinclude>To prevent the template from displaying decimal lengths for a generation whose release date has not yet come, fill in the parameter {{{timeworkaround}}} with something suitably vague, like "Never", "Unknown", or "Template has been hacked".</noinclude>
<noinclude>To prevent the template from displaying decimal lengths for a generation whose release date has not yet come, fill in the parameter {{{timeworkaround}}} with "en" or "ja", depending on if a release date has yet been revealed.</noinclude>
{| align="right" style="{{roundy|10px}} border: 2px solid #{{{{{secondary|Green}}} color}}; background: #{{{{{primary|Red}}} color}}; margin-left: 5px; margin-bottom: 5px; width: 30%; max-width: 30%;"
{| class="roundy" style="float:right; border: 2px solid #{{{{{secondary|Green}}} color}}; background: #{{{{{primary|Red}}} color}}; margin-left: 5px; margin-bottom: 5px; width: 30%; max-width: 30%"
|- align="center"
|-
! <big><big><includeonly>{{PAGENAME}}</includeonly><noinclude>Generation I</noinclude></big></big><br><small>{{{altname|Color Generation}}}</small>
! <big><big><includeonly>{{color|{{#switch:{{{secondary|}}}|White|white={{white color}}|000}}|{{PAGENAME}}}}</includeonly><noinclude>Generation I</noinclude></big></big>
|- align="center"
|-
|  
|  
{| align="center" style="{{roundy|10px}} background: #{{{{{primary|Red}}} color}};"
{| class="roundy" style="margin:auto; text-align:center; background: #{{{{{primary|Red}}} color}}"
|- align="center"
|-
| style="{{roundy|10px|tr}} {{roundy|10px|tl}} background: #FFFFFF;" | [[File:{{{image|{{{titlescreen|Red}}}Title.png}}}|{{{size|Pokémon {{{titlescreen|Red}}} Version}}}]]
| class="roundytop" style="background: #FFF" | [[File:{{{image|{{{titlescreen|Red}}}Title.png}}}|{{{size|Pokémon {{{titlescreen|Red}}} {{{suffix|Version}}}}}}]]
|- align="center"
|-
| style="{{{roundy|10px|br}} {{roundy|10px|bl}} background: #FFFFFF;" | <small>{{{caption|Title screen of Pokémon {{{titlescreen|Red}}} Version}}}</small>
| class="roundybottom" style="background: #FFF" | <small>{{color|{{#switch:{{{secondary|}}}|White|white={{white color}}|000}}|{{{caption|Title screen of Pokémon {{{titlescreen|Red}}} {{{suffix|Version}}}}}}}}</small>
|}
|}
|- align="center"
|-
|  
|  
{| align="center" style="{{roundy|10px}} background: #{{{{{primary|Red}}} color}}; width:100%;"
{| class="roundy" style="background: #{{{{{primary|Red}}} color}}; width:100%"
|-
|-
! style="{{roundy|10px|tl}} {{roundy|10px|bl}} background: #{{{{{secondary|Green}}} color light}};" rowspan="2" | Debut
! class="roundyleft" style="background: #{{{{{secondary|Green}}} color light}}" rowspan="2" | Debut
! style="background: #{{{{{secondary|Green}}} color light}};" | En
! style="background: #{{{{{secondary|Green}}} color light}}" | EN
| style="{{roundy|10px|tr}} background: #FFFFFF;" | {{{debuten|Unknown}}}
| class="roundytr" style="background: #FFF" | {{{debuten|Unknown}}}
|-
|-
! style="background: #{{{{{secondary|Green}}} color light}};" | Jp
! style="background: #{{{{{secondary|Green}}} color light}}" | JA
| style="{{roundy|10px|br}} background: #FFFFFF;" | {{{debutjp|Unknown}}}
| class="roundybr" style="background: #FFF" | {{{debutjp|Unknown}}}
|-
|-
! style="{{roundy|10px|tl}} {{roundy|10px|bl}} background: #{{{{{secondary|Green}}} color light}};" colspan="2" width="33%" | Pokémon
! class="roundyleft" style="background: #{{{{{secondary|Green}}} color light}}" colspan="2" width="33%" | Pokémon
| style="{{roundy|10px|tr}} {{roundy|10px|br}} background: #FFFFFF;" | {{{ndex|151}}} {{#ifeq: {{PAGENAME}}|Generation I||<small>({{cat|<includeonly>{{PAGENAME}}</includeonly><noinclude>Generation I</noinclude> Pokémon|{{PAGESINCATEGORY:<includeonly>{{PAGENAME}}</includeonly><noinclude>Generation I</noinclude> Pokémon}} new}})</small>}}
| class="roundyright" style="background: #FFF" | {{{ndex|151}}} {{#ifeq: {{PAGENAME}}|Generation I||<small>({{cat|<includeonly>{{PAGENAME}}</includeonly><noinclude>Generation I</noinclude> Pokémon|{{PAGESINCATEGORY:<includeonly>{{PAGENAME}}</includeonly><noinclude>Generation I</noinclude> Pokémon|pages}} new}})</small>}}
|-
|-
! style="{{roundy|10px|tl}} {{roundy|10px|bl}} background: #{{{{{secondary|Green}}} color light}};" colspan="2" | Main games
! class="roundyleft" style="background: #{{{{{secondary|Green}}} color light}}" colspan="2" | Main games
| style="{{roundy|10px|tr}} {{roundy|10px|br}} background: #FFFFFF;" | {{#if: {{{tertiary|}}}|{{3v2|{{{primary|Red}}}|{{{secondary|Green}}}|{{{tertiary|Blue}}}}}|{{2v2|{{{primary|Red}}}|{{{secondary|Green}}}}}}}
| class="roundyright" style="background: #FFF" | {{{maingames|{{#if: {{{tertiary|}}}|{{3v2|{{{primary|Red}}}|{{{secondary|Green}}}|{{{tertiary|Blue}}}}}|{{2v2|{{{primary|Red}}}|{{{secondary|Green}}}}}}}{{#if: {{{pair2|}}}|, {{{pair2|{{v2|Black|White|2}}}}}|}}}}}
|-
|-
! style="{{roundy|10px|tl}} {{roundy|10px|bl}} background: #{{{{{secondary|Green}}} color light}};" colspan="2" | Region introduced
! class="roundyleft" style="background: #{{{{{secondary|Green}}} color light}}" colspan="2" | Region introduced
| style="{{roundy|10px|tr}} {{roundy|10px|br}} background: #FFFFFF;" | [[{{{region|Kanto}}}]]
| class="roundyright" style="background: #FFF" | [[{{{region|Kanto}}}]]
|-
|-
{{#if: {{{otherrpg|}}}|
{{#if: {{{otherrpg|}}}|
! style="{{roundy|10px|tl}} {{roundy|10px|bl}} background: #{{{{{secondary|Green}}} color light}};" colspan="2" {{!}} Other RPGs
! class="roundyleft" style="background: #{{{{{secondary|Green}}} color light}}" colspan="2" {{!}} Other RPGs
{{!}} style="{{roundy|10px|tr}} {{roundy|10px|br}} background: #FFFFFF;" {{!}} {{{otherrpg|{{v|Yellow}}}}}
{{!}} class="roundyright" style="background: #FFF" {{!}} {{{otherrpg|{{v2|Yellow}}}}}
}}
}}
|-
|-
{{#if: {{{remakes|}}}|
{{#if: {{{remakes|}}}|
! style="{{roundy|10px|tl}} {{roundy|10px|bl}} background: #{{{{{secondary|Green}}} color light}};" colspan="2" {{!}} Contains remakes of
! class="roundyleft" style="background: #{{{{{secondary|Green}}} color light}}" colspan="2" {{!}} Contains remakes of
{{!}} style="{{roundy|10px|tr}} {{roundy|10px|br}} background: #FFFFFF;" {{!}} [[Generation {{{remakes|I}}}]]
{{!}} class="roundyright" style="background: #FFF" {{!}} [[Generation {{{remakes|I}}}]]
}}
}}
|-
|-
{{#if: {{{battlearena|}}}|
{{#if: {{{battlearena|}}}|
! style="{{roundy|10px|tl}} {{roundy|10px|bl}} background: #{{{{{secondary|Green}}} color light}};" colspan="2" {{!}} Battle arena games
! class="roundyleft" style="background: #{{{{{secondary|Green}}} color light}}" colspan="2" {{!}} Battle arena games
{{!}} style="{{roundy|10px|tr}} {{roundy|10px|br}} background: #FFFFFF;" {{!}} {{{battlearena|{{pkmn|Stadium}}}}}
{{!}} class="roundyright" style="background: #FFF" {{!}} {{{battlearena|{{pkmn|Stadium}}}}}
}}
}}
|-
|-
{{#if: {{{storage|}}}|
{{#if: {{{storage|}}}|
! style="{{roundy|10px|tl}} {{roundy|10px|bl}} background: #{{{{{secondary|Green}}} color light}};" colspan="2" {{!}} Storage games
! class="roundyleft" style="background: #{{{{{secondary|Green}}} color light}}" colspan="2" {{!}} Storage games
{{!}} style="{{roundy|10px|tr}} {{roundy|10px|br}} background: #FFFFFF;" {{!}} {{{storage|{{pkmn|Stadium}}}}}
{{!}} class="roundyright" style="background: #FFF" {{!}} {{{storage|{{pkmn|Stadium}}}}}
}}
}}
|-
|-
{{#if: {{{sidegames|}}}|
{{#if: {{{sidegames|}}}|
! style="{{roundy|10px|tl}} {{roundy|10px|bl}} background: #{{{{{secondary|Green}}} color light}};" colspan="2" {{!}} Side games
! class="roundyleft" style="background: #{{{{{secondary|Green}}} color light}}" colspan="2" {{!}} Side games
{{!}} style="{{roundy|10px|tr}} {{roundy|10px|br}} background: #FFFFFF;" {{!}} {{{sidegames|None}}}
{{!}} class="roundyright" style="background: #FFF" {{!}} {{{sidegames|None}}}
}}
}}
|-
|-
{{#ifexpr: {{#time: U|{{{enden|December 31, 2099}}}}} > {{#time: U}}|
{{#ifexpr: {{#time: U|{{{enden|December 31, 2099}}}}} > {{#time: U}}|
! style="{{roundy|10px|tl}} {{roundy|10px|bl}} background: #{{{{{secondary|Green}}} color light}};" rowspan="2" {{!}} Current length
! class="roundyleft" style="background: #{{{{{secondary|Green}}} color light}}" rowspan="2" {{!}} Current length
! style="background: #{{{{{secondary|Green}}} color light}};" {{!}} En
! style="background: #{{{{{secondary|Green}}} color light}}" {{!}} EN
{{!}} style="{{roundy|10px|tr}} background: #FFFFFF;" {{!}} {{{timeworkaround|{{#expr: ({{#time: U|{{#time: F j, Y}}}} - {{#time: U|{{{debuten|September 1, 1998}}}}}) div 86400}} days {{#if: {{{enden|}}}|<small>(ends on {{{enden|December 31, 2099}}})</small>}}}}}
{{!}} class="roundytr" style="background: #FFF" {{!}} {{#ifeq: {{{timeworkarounden|}}}|yes|Not yet released|{{#expr: ({{#time: U|{{#time: F j, Y}}}} - {{#time: U|{{{debuten|September 1, 1998}}}}}) div 86400}} days {{#if: {{{enden|}}}|<small>(ends on {{{enden|December 31, 2099}}})</small>}}}}
{{!}}-
{{!}}-
! style="background: #{{{{{secondary|Green}}} color light}};" {{!}} Jp
! style="background: #{{{{{secondary|Green}}} color light}}" {{!}} JA
{{!}} style="{{roundy|10px|br}} background: #FFFFFF;" {{!}} {{{timeworkaround|{{#expr: ({{#time: U|{{{endjp|{{#time: F j, Y}}}}}}} - {{#time: U|{{{debutjp|February 27, 1996}}}}}) div 86400}} days {{#if: {{{endjp|}}}|<small>(end{{#ifexpr: {{#time: U|{{{endjp}}}}} > {{#time: U}}|s|ed}} on {{{endjp|December 31, 2099}}})</small>}}}}}|
{{!}} class="roundybr" style="background: #FFF" {{!}} {{#ifeq: {{{timeworkaroundjp|}}}|yes|Not yet released|{{#expr: ({{#time: U|{{#ifexpr: {{#time: U|{{{endjp|{{#time: F j, Y}}}}}}} > {{#time: U|{{#time: F j, Y}}}}|{{#time: F j, Y}}|{{{endjp|{{#time: F j, Y}}}}}}}}} - {{#time: U|{{{debutjp|February 27, 1996}}}}}) div 86400}} days {{#if: {{{endjp|}}}|<small>(end{{#ifexpr: {{#time: U|{{{endjp}}}}} > {{#time: U}}|s|ed}} on {{{endjp|December 31, 2099}}})</small>}}}}|
! style="{{roundy|10px|tl}} {{roundy|10px|bl}} background: #{{{{{secondary|Green}}} color light}};" rowspan="2" {{!}} End
! class="roundyleft" style="background: #{{{{{secondary|Green}}} color light}}" rowspan="2" {{!}} End
! style="background: #{{{{{secondary|Green}}} color light}};" {{!}} En
! style="background: #{{{{{secondary|Green}}} color light}}" {{!}} EN
{{!}} style="{{roundy|10px|tr}} background: #FFFFFF;" {{!}} {{{enden|October 15, 2000}}} <small>({{#expr: ({{#time: U|{{{enden|October 15, 2000}}}}} - {{#time: U|{{{debuten|September 1, 1998}}}}}) div 86400}} days)</small>
{{!}} class="roundytr" style="background: #FFF" {{!}} {{{enden|October 15, 2000}}} <small>({{#expr: ({{#time: U|{{{enden|October 15, 2000}}}}} - {{#time: U|{{{debuten|September 1, 1998}}}}}) div 86400}} days)</small>
{{!}}-
{{!}}-
! style="background: #{{{{{secondary|Green}}} color light}};" {{!}} Jp
! style="background: #{{{{{secondary|Green}}} color light}}" {{!}} JA
{{!}} style="{{roundy|10px|br}} background: #FFFFFF;" {{!}} {{{endjp|November 21, 1999}}} <small>({{#expr: ({{#time: U|{{{endjp|November 21, 1999}}}}} - {{#time: U|{{{debutjp|February 27, 1996}}}}}) div 86400}} days)</small>
{{!}} class="roundybr" style="background: #FFF" {{!}} {{{endjp|November 21, 1999}}} <small>({{#expr: ({{#time: U|{{{endjp|November 21, 1999}}}}} - {{#time: U|{{{debutjp|February 27, 1996}}}}}) div 86400}} days)</small>
}}
}}
|}
|}
|}<noinclude>[[Category:Infobox templates]]</noinclude>
|}<noinclude>[[Category:Infobox templates]]</noinclude>

Revision as of 23:52, 9 July 2016

To prevent the template from displaying decimal lengths for a generation whose release date has not yet come, fill in the parameter {{{timeworkaround}}} with "en" or "ja", depending on if a release date has yet been revealed.

Generation I
Pokémon Red Version
Title screen of Pokémon Red Version
Debut EN Unknown
JA Unknown
Pokémon 151 (151 new)
Main games Red and Green
Region introduced Kanto
Current length EN 9367 days
JA 10284 days