Difference between revisions of "Template:Vgrelease"

From Dolphin Emulator Wiki
Jump to: navigation, search
(Correct abbr for Germany (i.e. Deutschland))
(Clean-up remaining GE references)
Line 14: Line 14:
 
-->{{#if:{{{TW|}}}|<small><sup>[[:Category:Taiwan (Release region)|TW]]</sup></small> {{{TW}}}{{#if:{{NAMESPACE}}||[[Category:Taiwan (Release region)]]}}<br />}}<!--
 
-->{{#if:{{{TW|}}}|<small><sup>[[:Category:Taiwan (Release region)|TW]]</sup></small> {{{TW}}}{{#if:{{NAMESPACE}}||[[Category:Taiwan (Release region)]]}}<br />}}<!--
 
-->{{#if:{{{SA|}}}|<small><sup>[[:Category:South America (Release region)|SA]]</sup></small> {{{SA}}}{{#if:{{NAMESPACE}}||[[Category:South America (Release region)]]}}<br />}}<!--
 
-->{{#if:{{{SA|}}}|<small><sup>[[:Category:South America (Release region)|SA]]</sup></small> {{{SA}}}{{#if:{{NAMESPACE}}||[[Category:South America (Release region)]]}}<br />}}<!--
-->{{#vardefine:tl_vgre_count|0}}{{#while:|{{{{{#expr:{{#var:tl_vgre_count}}+2}}|}}}|{{#vardefine:tl_vgre_count|{{#expr:{{#var:tl_vgre_count}}+2}}}}}}{{#while:|{{#ifexpr:{{#var:tl_vgre_count}}>0|true}}|{{#if:{{#regex:{{{{{#expr:{{#var:tl_vgre_count}}-1}}|}}}|/((JP{{!}}NA{{!}}CA{{!}}EU{{!}}FR{{!}}GE{{!}}IT{{!}}NL{{!}}SC{{!}}SP{{!}}AUS{{!}}RU{{!}}KO{{!}}TW{{!}}SA)(\/{{!}}$))*/}}|{{#vardefine:tl_vgre_regions|{{{{{#expr:{{#var:tl_vgre_count}}-1}}|}}}}}<!--
+
-->{{#vardefine:tl_vgre_count|0}}{{#while:|{{{{{#expr:{{#var:tl_vgre_count}}+2}}|}}}|{{#vardefine:tl_vgre_count|{{#expr:{{#var:tl_vgre_count}}+2}}}}}}{{#while:|{{#ifexpr:{{#var:tl_vgre_count}}>0|true}}|{{#if:{{#regex:{{{{{#expr:{{#var:tl_vgre_count}}-1}}|}}}|/((JP{{!}}NA{{!}}CA{{!}}EU{{!}}FR{{!}}DE{{!}}IT{{!}}NL{{!}}SC{{!}}SP{{!}}AUS{{!}}RU{{!}}KO{{!}}TW{{!}}SA)(\/{{!}}$))*/}}|{{#vardefine:tl_vgre_regions|{{{{{#expr:{{#var:tl_vgre_count}}-1}}|}}}}}<!--
 
-->{{#vardefine:tl_vgre_regions|{{#regex:{{#var:tl_vgre_regions}}|/JP/|[[:Category:Japan (Release region)|JP]]{{#if:{{NAMESPACE}}||[[Category:Japan (Release region)]]}}}}}}<!--
 
-->{{#vardefine:tl_vgre_regions|{{#regex:{{#var:tl_vgre_regions}}|/JP/|[[:Category:Japan (Release region)|JP]]{{#if:{{NAMESPACE}}||[[Category:Japan (Release region)]]}}}}}}<!--
 
-->{{#vardefine:tl_vgre_regions|{{#regex:{{#var:tl_vgre_regions}}|/NA/|[[:Category:North America (Release region)|NA]]{{#if:{{NAMESPACE}}||[[Category:North America (Release region)]]}}}}}}<!--
 
-->{{#vardefine:tl_vgre_regions|{{#regex:{{#var:tl_vgre_regions}}|/NA/|[[:Category:North America (Release region)|NA]]{{#if:{{NAMESPACE}}||[[Category:North America (Release region)]]}}}}}}<!--
Line 20: Line 20:
 
-->{{#vardefine:tl_vgre_regions|{{#regex:{{#var:tl_vgre_regions}}|/EU/|[[:Category:Europe (Release region)|EU]]{{#if:{{NAMESPACE}}||[[Category:Europe (Release region)]]}}}}}}<!--
 
-->{{#vardefine:tl_vgre_regions|{{#regex:{{#var:tl_vgre_regions}}|/EU/|[[:Category:Europe (Release region)|EU]]{{#if:{{NAMESPACE}}||[[Category:Europe (Release region)]]}}}}}}<!--
 
-->{{#vardefine:tl_vgre_regions|{{#regex:{{#var:tl_vgre_regions}}|/FR/|[[:Category:France (Release region)|FR]]{{#if:{{NAMESPACE}}||[[Category:France (Release region)]]}}}}}}<!--
 
-->{{#vardefine:tl_vgre_regions|{{#regex:{{#var:tl_vgre_regions}}|/FR/|[[:Category:France (Release region)|FR]]{{#if:{{NAMESPACE}}||[[Category:France (Release region)]]}}}}}}<!--
-->{{#vardefine:tl_vgre_regions|{{#regex:{{#var:tl_vgre_regions}}|/GE/|[[:Category:Germany (Release region)|GE]]{{#if:{{NAMESPACE}}||[[Category:Germany (Release region)]]}}}}}}<!--
+
-->{{#vardefine:tl_vgre_regions|{{#regex:{{#var:tl_vgre_regions}}|/DE/|[[:Category:Germany (Release region)|DE]]{{#if:{{NAMESPACE}}||[[Category:Germany (Release region)]]}}}}}}<!--
 
-->{{#vardefine:tl_vgre_regions|{{#regex:{{#var:tl_vgre_regions}}|/IT/|[[:Category:Italy (Release region)|IT]]{{#if:{{NAMESPACE}}||[[Category:Italy (Release region)]]}}}}}}<!--
 
-->{{#vardefine:tl_vgre_regions|{{#regex:{{#var:tl_vgre_regions}}|/IT/|[[:Category:Italy (Release region)|IT]]{{#if:{{NAMESPACE}}||[[Category:Italy (Release region)]]}}}}}}<!--
 
-->{{#vardefine:tl_vgre_regions|{{#regex:{{#var:tl_vgre_regions}}|/NL/|[[:Category:Netherlands (Release region)|NL]]{{#if:{{NAMESPACE}}||[[Category:Netherlands (Release region)]]}}}}}}<!--
 
-->{{#vardefine:tl_vgre_regions|{{#regex:{{#var:tl_vgre_regions}}|/NL/|[[:Category:Netherlands (Release region)|NL]]{{#if:{{NAMESPACE}}||[[Category:Netherlands (Release region)]]}}}}}}<!--

Revision as of 00:35, 14 August 2018

[edit] [purge] Template documentation

This template is used in conjunction with {{Infobox VG}} to summarize release date information for computer or video game articles.

Syntax

{{vgrelease | region = date }}

region
Shortened region name. See below for regions guide.
  • It is also possible to combine multiple regions in this parameter, for release dates which are the same between several regions -- e.g. EU/NA, however it uses a | instead of = between the region and the date, like this: {{vgrelease|NA/EU|December 5, 2001}}.
date
Release date in Month DD, YYYY format. Example: November 12, 2011

Regions

The following parameters may be specified to display release dates for multiple regions in a single call. The order cannot be changed, so if the list is out of chronological order separate calls have to be created.

AUS=date
Australasian (Australia and New Zealand) release
CA=date
Canadian release
DE=date
Germany release
EU=date
European release
FR=date
France release
IT=date
Italy release
JP=date
Japanese release
KO=date
Korean release
NA=date
North American release
NL=date
Netherlands release
RU=date
Russian release
SA=date
South American release
SC=date
Scandinavia release
SP=date
Spain release
TW=date
Taiwan/Hong Kong/Macau release

Examples

The Legend of Zelda: The Wind Waker - Standard

{{vgrelease|JP=January 13, 2002|NA=March 24, 2002|EU=May 2, 2003|AUS=May 7, 2003}}

JP January 13, 2002
NA March 24, 2002
EU May 2, 2003
AUS May 7, 2003

PokéPark Wii: Pikachu's Adventure - Call separated to maintain chronological order

{{vgrelease|JP=December 5, 2009|EU=July 9, 2010|AUS=September 23, 2010}}{{vgrelease|NA=November 1, 2010}}

JP December 5, 2009
EU July 9, 2010
AUS September 23, 2010
NA November 1, 2010

Marines: Modern Urban Combat - Combined regions

{{vgrelease|NA=January 26, 2010|EU/AUS|September 10, 2010}}

NA January 26, 2010
EU/AUS September 10, 2010

Little King's Story - Multiple Combined regions

{{vgrelease|JP/NA|Marvelous Entertainment}}{{vgrelease|EU/AUS|Rising Star Games}}

JP/NA Marvelous Entertainment
EU/AUS Rising Star Games