Difference between revisions of "Template:Codename"

(added doc)
 
(36 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{{1}}}
+
<includeonly>{{#switch: v{{{1}}}
  | 2.1  = Steel Lapwing
+
  | v2.1  = Steel Lapwing
  | 2.2  = Carbon Nightingale
+
  | v2.2  = Carbon Nightingale
  | 2.3  = Wooden Duck
+
  | v2.3  = Wooden Duck
  | 2.4  = Marble Lark
+
  | v2.4  = Marble Lark
  | 2.5  = Concrete Oriole
+
  | v2.5  = Concrete Oriole
  | 2.6  = Paper Crane
+
  | v2.6  = Paper Crane
  | 2.7  = Rubber Owl
+
  | v2.7  = Rubber Owl
  | 2.8  = Bronze Siskin
+
  | v2.8  = Bronze Siskin
  | 2.9  = Silk Tit
+
  | v2.9  = Silk Tit
  | 2.10 = Brass Waxwing
+
  | v2.10 = Brass Waxwing
 +
| v2.11 = Acrylic Bullfinch
 +
| v2.12 = Vulcanite Rook
 +
| v3.0 = Basalt Wagtail
 +
| v3.1 = Graphene Swift
 +
| v3.2 = Tin Hoopoe
 +
| v3.3 = Crystal Pelican
 +
| v3.4 = Cobalt Swan
 +
| v3.5 = Clay Jay
 +
| v3.6 = Alabaster Finch
 +
| v3.7 = Vinyl Magpie
 +
| v3.8 = Snow Bunting
 +
| v3.8.1 = Snow Bunting
 +
| v3.9 = Sand Martin
 +
| v3.10 = Granite Eagle
 +
| v3.11 = Glass Flamingo
 +
| v3.12 = Ice Penguin
 +
| v3.13 = Silicon Willet
 +
| v3.14 = Platinum Peacock
 +
| v3.15 = Titanium Falcon
 +
| v3.16 = Petrified Puffin
 +
| v3.16.1 = Petrified Puffin
 +
| v3.17 = Radiant Redstart
 +
| v3.17.1 = Radiant Redstart
 +
| v3.18 = Silver Sandpiper
 +
| v3.19 = Bronze Peacock
 +
| v4.0  = CRIUDA
 
  | <!-- no codename -->
 
  | <!-- no codename -->
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
Line 19: Line 45:
 
<pre><nowiki>{{Codename|VERSION}}</nowiki></pre>
 
<pre><nowiki>{{Codename|VERSION}}</nowiki></pre>
  
Examples:
+
== Examples ==
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 25: Line 51:
 
  ! Result
 
  ! Result
 
  |-
 
  |-
  | <pre><nowiki>{{Codename|2.10}}</nowiki></pre>
+
| <pre><nowiki>{{Codename|3.3}}</nowiki></pre>
  | {{Codename|2.10}}
+
| {{Codename|3.3}}
 +
|-
 +
  | <pre><nowiki>{{Codename|2.1}}</nowiki></pre>
 +
  | {{Codename|2.1}}
 
  |-
 
  |-
 
  | <pre><nowiki>{{Codename|2.0}}</nowiki></pre>
 
  | <pre><nowiki>{{Codename|2.0}}</nowiki></pre>
 
  | {{Codename|2.0}}
 
  | {{Codename|2.0}}
 
  |}
 
  |}
 +
 +
== See also ==
 +
 +
* [[Release schedule]] for future codenames
 +
* [[Template:Release date]]
 +
* [[Template:criu]]
 +
* [[Template:Release]]
 +
* [[Template:Latest release]]
  
 
</noinclude>
 
</noinclude>

Latest revision as of 08:27, 21 September 2024


This template is used to get the codename of a specified release. If there is no codename, empty string is produced.

UsageEdit

{{Codename|VERSION}}

ExamplesEdit

Markup Result
{{Codename|3.3}}
Crystal Pelican
{{Codename|2.1}}
Steel Lapwing
{{Codename|2.0}}

See alsoEdit