Template:Fedora

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(Removed a couple newlines)
(Defer to other templates instead of inlining them here)
Line 1: Line 1:
 
<includeonly>{{#switch: {{{1|}}}
 
<includeonly>{{#switch: {{{1|}}}
| latest = 15
+
| codename = {{FedoraVersionName|{{{2|current}}}}}
| codename = {{#switch: {{{2|}}}
+
| fullname = {{#if: {{{2|}}} | Fedora {{#ifexpr: {{{2}}} < 7 | Core}} {{{2}}} | Fedora {{CurrentFedoraVersion}} }} ({{FedoraVersionName|{{{2|current}}}}})
| 1 = Yarrow
+
| name
| 2 = Tettnang
+
| {{#if: {{{2|}}} | Fedora {{#ifexpr: {{{2}}} < 7 | Core}} {{{2}}} | Fedora {{CurrentFedoraVersion}} }}
| 3 = Heidelberg
+
| 4 = Stentz
+
| 5 = Bordeaux
+
| 6 = Zod
+
| 7 = Moonshine
+
| 8 = Werewolf
+
| 9 = Sulphur
+
| 10 = Cambridge
+
| 11 = Leonidas
+
| 12 = Constantine
+
| 13 = Goddard
+
| 14 = Laughlin
+
| 15 = Lovelock
+
| 16 = Verne
+
| {{fedora|{{fedora|latest}}|codename}}
+
}}
+
| name
+
| fullname = {{#if: {{{2|}}} | [[Fedora {{#ifexpr: {{{2}}} < 7 | Core}} {{{2}}}]] | [[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>
 
<noinclude>
 
<noinclude>
 
{{tempdoc}}
 
{{tempdoc}}
 +
[[Category:Fedora templates]]
 
[[Category:Link templates]]
 
[[Category:Link templates]]
 
</noinclude>
 
</noinclude>

Revision as of 22:51, 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 20 (Heisenbug).
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 (Yarrow).
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"