From Fedora Project Wiki

(Add another definition for ease of use)
(...and I can't count.)
 
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{#switch: {{{1|current}}}
{{#switch: {{{1|current}}}
| previous2 = 9
| previous3 = {{#expr: {{CurrentFedoraVersion}} - 3 }}
| previous = 10
| previous2 = {{#expr: {{CurrentFedoraVersion}} - 2 }}
| current = 11
| previous = {{#expr: {{CurrentFedoraVersion}} - 1 }}
| next = 12
| current = {{CurrentFedoraVersion}}
| next = {{#expr: {{CurrentFedoraVersion}} + 1 }}
| next2 = {{#expr: {{CurrentFedoraVersion}} + 2 }}
| next3 = {{#expr: {{CurrentFedoraVersion}} + 3 }}
| #default = {{{1}}}
| #default = {{{1}}}
}}
}}<noinclude>
{{tempdoc}}
[[Category:Fedora Templates]]
</noinclude>

Latest revision as of 02:39, 23 January 2013

41

Template documentation [edit]

This documentation is transcluded from Template:FedoraVersionNumber/doc. It will not be transcluded on pages that use this template.

The Template:FedoraVersionNumber template allows the display of Fedora version numbers in relative terms, such as current, next, and previous.

Code What you see
The current version of [[Fedora]] is '''{{FedoraVersionNumber|current}}'''.
The current version of Fedora is 41.
The next version of [[Fedora]] is '''{{FedoraVersionNumber|next}}'''.
The next version of Fedora is 42.
The previous version of [[Fedora]] is '''{{FedoraVersionNumber|previous}}'''.
The previous version of Fedora is 40.
Fedora {{FedoraVersionNumber|previous2}} was two versions ago.
Fedora 39 was two versions ago.
Fedora {{FedoraVersionNumber|next2}} will come two releases from now.
Fedora 43 will come two releases from now.