Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Template:Codename
(edit)
Revision as of 18:01, 24 January 2017
436 bytes added
,
18:01, 24 January 2017
added doc
Line 1:
Line 1:
−
{{#switch: {{{1}}}
+
<includeonly>
{{#switch: {{{1}}}
| 2.1 = Steel Lapwing
| 2.1 = Steel Lapwing
| 2.2 = Carbon Nightingale
| 2.2 = Carbon Nightingale
Line 11:
Line 11:
| 2.10 = Brass Waxwing
| 2.10 = Brass Waxwing
| <!-- no codename -->
| <!-- no codename -->
−
}}
+
}}
</includeonly><noinclude>
+
+
This template is used to get the codename of a specified release. If there is no codename, empty string is produced.
+
+
== Usage ==
+
+
<pre><nowiki>{{Codename|VERSION}}</nowiki></pre>
+
+
Examples:
+
+
{| class="wikitable"
+
! Markup
+
! Result
+
|-
+
| <pre><nowiki>{{Codename|2.10}}</nowiki></pre>
+
| {{Codename|2.10}}
+
|-
+
| <pre><nowiki>{{Codename|2.0}}</nowiki></pre>
+
| {{Codename|2.0}}
+
|}
+
+
</noinclude>
Kir
Bureaucrats
,
Administrators
1,067
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Request account
Log in
Namespaces
Template
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help
Tools
Special pages
Printable version
News
Twitter
YouTube
External resources
Github / source code
Issues / bugs
Mr. Jenkins
Open Hub
OpenVZ