Template:Vgrtbl

From Bibliotheca Anonoma
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page is a template. It contains no Bibliotheca Anonoma-related information, but should be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

See wp:Template:Vgrtbl for more info.

Description

For dates from January 1, 1970 onward only!

This template takes one or more region code/release date pairs and formats them in a way that makes them sort properly in sortable tables.

Examples

Code (v=1, default) Output
{{Vgrtbl|NA|1989-03-12|EU|August 16, 2008}} 19890319890312March 12, 1989 (NA)
August 16, 2008 (EU)
{{Vgrtbl|NA|1989-03-12|EU|12 March 1989}} 19890319890312March 12, 1989 (NA/EU)
{{Vgrtbl|c=0|NA|1989-03-12|EU|12 March 1989}} 19890319890312March 12, 1989 (NA)
March 12, 1989 (EU)
{{Vgrtbl|NA|1989|EU|March 1989}} 1989 (NA)
March 1989 (EU)
{{Vgrtbl|NA|Cancelled|JP|TBD|EU|TBA|AUS|TBA}} Cancelled (NA)
TBD (JP)
TBA (EU/AUS)
Code (v=0) Output
{{Vgrtbl|v=0|NA|1989-03-12|EU|August 16, 2008}} 198903198903121989-03-12 (NA)
2008-08-16 (EU)
{{Vgrtbl|v=0|NA|1989-03-12|EU|12 March 1989}} 198903198903121989-03-12 (NA/EU)
{{Vgrtbl|c=0|v=0|NA|1989-03-12|EU|12 March 1989}} 198903198903121989-03-12 (NA)
1989-03-12 (EU)
{{Vgrtbl|v=0|NA|1989|EU|March 1989} 1989 (NA)
1989-03 (EU)
Code (v=2) Output
{{Vgrtbl|v=2|NA|1989-03-12|EU|August 16, 2008}} 1989031989031212 March 1989 (NA)
16 August 2008 (EU)
{{Vgrtbl|v=2|NA|1989-03-12|EU|12 March 1989}} 1989031989031212 March 1989 (NA/EU)
{{Vgrtbl|c=0|v=2|NA|1989-03-12|EU|12 March 1989}} 1989031989031212 March 1989 (NA)
12 March 1989 (EU)
{{Vgrtbl|v=2|NA|1989|EU|March 1989} 1989 (NA)
March 1989 (EU)