From Fedora Project Wiki
mNo edit summary |
(add 10 = TBD so hopefully FedoraVersionNumber|next will work on /Schedule page) |
||
Line 2: | Line 2: | ||
| short = F{{FedoraVersionNumber|{{{2|current}}}}} | | short = F{{FedoraVersionNumber|{{{2|current}}}}} | ||
| long = Fedora {{FedoraVersionNumber|{{{2|current}}}}} | | long = Fedora {{FedoraVersionNumber|{{{2|current}}}}} | ||
| full = Fedora {{FedoraVersionNumber|{{{2|current}}}}} ({{#switch: {{FedoraVersionNumber|{{{2|current}}}}} | 1 = Yarrow | 2 = Tettnang | 3 = Heidelberg | 4 = Stentz | 5 = Bordeaux | 6 = Zod | 7 = Moonshine | 8 = Werewolf | 9 = Sulphur}}) | | full = Fedora {{FedoraVersionNumber|{{{2|current}}}}} ({{#switch: {{FedoraVersionNumber|{{{2|current}}}}} | 1 = Yarrow | 2 = Tettnang | 3 = Heidelberg | 4 = Stentz | 5 = Bordeaux | 6 = Zod | 7 = Moonshine | 8 = Werewolf | 9 = Sulphur | 10 = TBD}}) | ||
| #default = {{FedoraVersionNumber|{{{2|current}}}}}}}<noinclude>{{tempdoc}}</noinclude> | | #default = {{FedoraVersionNumber|{{{2|current}}}}}}}<noinclude>{{tempdoc}}</noinclude> |
Revision as of 02:54, 3 July 2008
41
Template documentation [edit]
- This documentation is transcluded from Template:FedoraVersion/doc. It will not be transcluded on pages that use this template.
This template is used to return a formatted version string for fedora.
Parameters
Format
- Number (ex. 9) Default
- Short (ex. F9)
- Long (ex. Fedora 9)
- Full (ex. Fedora release 9 (Sulphur))
- For Fedora releases > 20, the parenthetical release name is suppressed since it no longer exists.
- Cloud (ex. Fedora Cloud 21)
- Server (ex. Fedora Server 21)
- Workstation (ex. Fedora Workstation 21)
Version
- current Default
- previous
- next
- number - a specific release
Examples
{{FedoraVersion}}
returns 41.
{{FedoraVersion|short}}
returns F41.
{{FedoraVersion|long|2}}
returns Fedora 2.
{{FedoraVersion|number|next}}
: Instead use {{FedoraVersionNumber|next}}
{{FedoraVersion|full|previous}}
returns Fedora 40 ().
{{FedoraVersion||previous2}}
returns 39.
{{FedoraVersion|server|next2}}
returns 43.