Template:Current iOS/doc: Difference between revisions

Content deleted Content added
m add {{Documentation subpage}} template
No edit summary
(26 intermediate revisions by 10 users not shown)
Line 1:
{{Documentation subpage}}
This template gives the current version of [[iOS]]. This template is <u>'''''ONLY{{strong|only TOto BEbe USED'''''</u>used}} on articles about iPhones/iPod Touch that support the current version of iOS. OtherwiseIf an iPhone no longer supports the latest iOS, replace this template with whateverthe version of iOS that the device is stuck on.
 
[https://support.apple.com/100100 Per Apple] this applies to: {{quote|'''iPhone XS and later''', iPad Pro 13-inch, iPad Pro 12.9-inch 3rd generation and later, iPad Pro 11-inch 1st generation and later, iPad Air 3rd generation and later, iPad 7th generation and later, and iPad mini 5th generation and later}}
 
== Use ==
{| class="wikitable"
|+ Transcluding Current iOS
! Template call !! Rendered output
|-
| {{tlc|Current iOS}} || {{Current iOS}}
|-
| {{tlc|Current iOS|short}} || {{Current iOS|short}}
|-
| {{tlc|Current iOS|shortlink}} || {{Current iOS|shortlink}}
|-
| {{tlc|Current iOS|date}} || {{Current iOS|date}}
|-
| {{tlc|Current iOS|ref}} || {{Current iOS|ref}}
|-
| {{tlc|Current iOS|18}} || {{Current iOS|18}}
|-
| {{tlc|Current iOS|18|short}} || {{Current iOS|18|short}}
|-
| {{tlc|Current iOS|18|shortlink}} || {{Current iOS|18|shortlink}}
|-
| {{tlc|Current iOS|18|date}} || {{Current iOS|18|date}}
|-
| {{tlc|Current iOS|18|ref}} || {{Current iOS|18|ref}}
|}
== Parameters ==
<templatedata>
{
"params": {
"1": {
"description": "For data about the latest major version of iOS, use the data keywords. ('short' will return only the latest (minor) version number; 'shortlink' returns the latest version, with a link to the major article; 'date' returns the date of the last update; 'ref' returns the reference for it.) For an older major version, use the version number here ('18'). Currently only supports iOS 18.",
"type": "string",
"suggestedvalues": [
"short",
"shortlink",
"date",
"ref",
"18 "
],
"suggested": true,
"label": "Keyword"
},
"2": {
"description": "If a version number is entered as the first parameter, this parameter can be used to specify data from that version. ('short' will return only the latest (minor) version number; 'shortlink' returns the latest version, with a link to the major article; 'date' returns the date of the last update; 'ref' returns the reference for it.)",
"type": "string",
"suggestedvalues": [
"short",
"shortlink",
"date",
"ref"
],
"suggested": true,
"label": "Keyword (For version)"
}
},
"paramOrder": [
"1",
"2"
],
"format": "inline",
"description": "This Template shows the current stable release of iOS."
}
</templatedata>
 
== Updating this template ==
 
When updating this page after a new release of iOS, please update all instances of the version (x3), date (x2) and reference (x2). It is likely that {{tl|Current iPadOS}} will need updating too.
 
References should cite first-party Apple.com web pages (found at [https://support.apple.com/121161 support.apple.com/121161] and [https://support.apple.com/100100 support.apple.com/100100]).
 
When transitioning to a new major release (i.e., when a new release is announced at [[WWDC]]), if any models are stuck on the current release, create a new [[Wikipedia:Switch|#switch]] tree for those models first, and apply that new parameter to all relevant articles {{em|before}} updating this template for the newer release. (Eg: In 2026, iOS 26 will be replaced by iOS 27, and a new tree {{em|may}} be needed for 26.)
 
== Related templates ==
* {{tl|Current iOS 12}} – for models of iPhone, iPad and iPod supported up to iOS 12
* {{tl|Current iOS 15}} – for models of iPhone and iPod supported up to iOS 15
* {{tl|Current iOS 16}} – for models of iPhone supported up to iOS 16
 
* {{tl|Current iPadOS}}
* {{tl|Current iPadOS 15}}
* {{tl|Current iPadOS 16}}
* {{tl|Current iPadOS 17}}
 
* {{tl|Current iOS Preview version}} - For preview versions
* {{tl|LSR}} – latest stable software release
** {{tl|Latest stable software release/iOS}}
** {{tl|Latest stable software release/iPadOS}}
* {{tl|LPR}} – latest preview release
 
<includeonly>{{Sandbox other||
[[Category:Software templates]]
}}</includeonly>