From Fedora Project Wiki

(Added an initial Fedora template, that imports useful info for each release)
(Changed how arguments are ordered (information comes version, followed by optional version))
Line 1: Line 1:
<includeonly>{{#switch: {{{2|}}}
<includeonly>{{#switch: {{{1|}}}
| latest = 15
| latest = 15
| codename = {{#switch: {{{1}}}
| codename = {{#switch: {{{2|}}}
| 1 = Yarrow
| 1 = Yarrow
| 2 = Tettnang
| 2 = Tettnang
Line 18: Line 18:
| 15 = Lovelock
| 15 = Lovelock
| 16 = Verne
| 16 = Verne
| {{fedora|{{fedora|latest}}codename}}
| {{fedora|{{fedora|latest}}|codename}}
}}
}}
| name
| name
| fullname
| fullname = {{#if: {{{2|}}} | [[Fedora {{#ifexpr: {{{2}}} < 7 | Core}} {{{2}}}]] | [[Fedora {{fedora|latest}}]] }}
| {{#if: {{{1|}}} | [[Fedora {{#ifexpr: {{{1}}} < 7 | Core}} {{{1}}}]] | [[Fedora {{fedora|latest}}]]}}
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | {{fedora|fullname|{{{1}}}}}
| {{fedora|fullname}}
}}
}}
</includeonly>
</includeonly>

Revision as of 22:03, 19 July 2011


Template documentation [edit]

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

Template:Fedora easily displays various information about Fedora releases. Internally, it uses other templates, such as Template:CurrentFedoraVersion and Template:FedoraVersionName to aggregate information.

Code What you see
The latest version of Fedora is {{fedora|fullname}}.
The latest version of Fedora is [[Fedora Template loop detected: Template:Fedora]]

.

The codename for Fedora 13 is {{fedora|codename|13}}.
The codename for Fedora 13 is Goddard

.

The full name for the first version of Fedora is {{fedora|fullname|1}}.
The full name for the first version of Fedora is Fedora Core 1

.

Please use "Core" only in releases where it was part of the official name.
For example, "{{fedora|name|6}}" versus "{{fedora|name|7}}"
Please use "Core" only in releases where it was part of the official name. For example, "Fedora Core 6

" versus "Fedora 7

"