From Fedora Project Wiki
(New page: 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...) |
Sahilahuja (talk | contribs) (Adding example that shows error in "next") |
||
Line 19: | Line 19: | ||
<code><nowiki>{{FedoraVersion|long|2}}</nowiki></code> returns '''{{FedoraVersion|long|2}}'''. | <code><nowiki>{{FedoraVersion|long|2}}</nowiki></code> returns '''{{FedoraVersion|long|2}}'''. | ||
<code><nowiki>{{FedoraVersion|next}}</nowiki></code> returns '''{{FedoraVersion|next}}'''. | |||
<code><nowiki>{{FedoraVersion|full|previous}}</nowiki></code> returns '''{{FedoraVersion|full|previous}}'''. | <code><nowiki>{{FedoraVersion|full|previous}}</nowiki></code> returns '''{{FedoraVersion|full|previous}}'''. |
Revision as of 12:13, 22 September 2010
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))
Version
- current Default
- previous
- next
- number - a specific release
Examples
{{FedoraVersion}}
returns 41.
{{FedoraVersion|short}}
returns F41.
{{FedoraVersion|long|2}}
returns Fedora 2.
{{FedoraVersion|next}}
returns 41.
{{FedoraVersion|full|previous}}
returns Fedora 40.