Editing Template:Vgrtbl

From Bibliotheca Anonoma

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
<includeonly>{{#invoke:vgrtbl|main}}</includeonly><noinclude>{{Documentation}}
<includeonly>{{#invoke:vgrtbl|main}}</includeonly><noinclude>{{Documentation}}</noinclude>
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===
 
{| class="wikitable sortable"
|-
! style="width:75%;"|Code (v=1, default)
! style="width:25%;"|Output
|-
|<code><nowiki>{{Vgrtbl|NA|1989-03-12|EU|August 16, 2008}}</nowiki></code>
|{{Vgrtbl|NA|1989-03-12|EU|August 16, 2008}}
|-
|<code><nowiki>{{Vgrtbl|NA|1989-03-12|EU|12 March 1989}}</nowiki></code>
|{{Vgrtbl|NA|1989-03-12|EU|12 March 1989}}
|-
|<code><nowiki>{{Vgrtbl|c=0|NA|1989-03-12|EU|12 March 1989}}</nowiki></code>
|{{Vgrtbl|c=0|NA|1989-03-12|EU|12 March 1989}}
|-
|<code><nowiki>{{Vgrtbl|NA|1989|EU|March 1989}}</nowiki></code>
|{{Vgrtbl|NA|1989|EU|March 1989}}
|-
|<code><nowiki>{{Vgrtbl|NA|Cancelled|JP|TBD|EU|TBA|AUS|TBA}}</nowiki></code>
|{{Vgrtbl|NA|Cancelled|JP|TBD|EU|TBA|AUS|TBA}}
|}
 
{| class="wikitable sortable"
|-
! style="width:75%;"|Code (v=0)
! style="width:25%;"|Output
|-
|<code><nowiki>{{Vgrtbl|v=0|NA|1989-03-12|EU|August 16, 2008}}</nowiki></code>
|{{Vgrtbl|v=0|NA|1989-03-12|EU|August 16, 2008}}
|-
|<code><nowiki>{{Vgrtbl|v=0|NA|1989-03-12|EU|12 March 1989}}</nowiki></code>
|{{Vgrtbl|v=0|NA|1989-03-12|EU|12 March 1989}}
|-
|<code><nowiki>{{Vgrtbl|c=0|v=0|NA|1989-03-12|EU|12 March 1989}}</nowiki></code>
|{{Vgrtbl|c=0|v=0|NA|1989-03-12|EU|12 March 1989}}
|-
|<code><nowiki>{{Vgrtbl|v=0|NA|1989|EU|March 1989}</nowiki></code>
|{{Vgrtbl|v=0|NA|1989|EU|March 1989}}
|}
 
{| class="wikitable sortable"
|-
! style="width:75%;"|Code (v=2)
! style="width:25%;"|Output
|-
|<code><nowiki>{{Vgrtbl|v=2|NA|1989-03-12|EU|August 16, 2008}}</nowiki></code>
|{{Vgrtbl|v=2|NA|1989-03-12|EU|August 16, 2008}}
|-
|<code><nowiki>{{Vgrtbl|v=2|NA|1989-03-12|EU|12 March 1989}}</nowiki></code>
|{{Vgrtbl|v=2|NA|1989-03-12|EU|12 March 1989}}
|-
|<code><nowiki>{{Vgrtbl|c=0|v=2|NA|1989-03-12|EU|12 March 1989}}</nowiki></code>
|{{Vgrtbl|c=0|v=2|NA|1989-03-12|EU|12 March 1989}}
|-
|<code><nowiki>{{Vgrtbl|v=2|NA|1989|EU|March 1989}</nowiki></code>
|{{Vgrtbl|v=2|NA|1989|EU|March 1989}}
|}
 
</noinclude>
Please note that all contributions to Bibliotheca Anonoma are considered to be released under the Creative Commons Attribution-ShareAlike (see Bibliotheca Anonoma:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)