Difference between revisions of "Template:Release list"
Line 4: | Line 4: | ||
A list of all game releases for which release data exists in the wiki. (This may skip some minor releases.) | A list of all game releases for which release data exists in the wiki. (This may skip some minor releases.) | ||
− | The first piece of data is the number of releases in the list. After that, each release is listed in turn. So, to get the version number of the nth release, use <code>{{Release list|n-1}}</code>. | + | The first piece of data is the number of entries in the list, including itself. (In other words, one more than the number of releases in the list.) After that, each release is listed in turn. So, to get the version number of the nth release, use <code>{{Release list|n-1}}</code>. |
== Example == | == Example == | ||
Line 20: | Line 20: | ||
</noinclude><includeonly>{{p{{{1}}} | </noinclude><includeonly>{{p{{{1}}} | ||
− | | | + | |35 |
|1.2 | |1.2 | ||
|1.3 | |1.3 |
Revision as of 04:49, 3 March 2019
Usage
A list of all game releases for which release data exists in the wiki. (This may skip some minor releases.)
The first piece of data is the number of entries in the list, including itself. (In other words, one more than the number of releases in the list.) After that, each release is listed in turn. So, to get the version number of the nth release, use Template:Pn-1
.
Example
The following shorthand:
{{Release list|3}}
Produces:
1.3