Changes

Jump to navigation Jump to search
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>

Navigation menu