Template:FedoraVersion

From FedoraProject

Jump to: navigation, search
21
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.

Contents

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.

Version

  • current Default
  • previous
  • next
  • number - a specific release

Examples

{{FedoraVersion}} returns 21.

{{FedoraVersion|short}} returns F21.

{{FedoraVersion|long|2}} returns Fedora 2.

{{FedoraVersion|number|next}} : Instead use {{FedoraVersionNumber|next}}

{{FedoraVersion|full|previous}} returns Fedora 20 (Heisenbug).

{{FedoraVersion||previous2}} returns 19.