Template:Multiple releases/doc

From Vigyanwiki
< Template:Multiple releases

Usage

This template is intended for software that is differently versioned on different platforms.

This template accepts three sets of parameters: |branchn=, |versionn= and |daten= where n is a natural number. For a specific n, there must be both |branchn= and |versionn=. |daten= is optional.

Example

The infobox on the right may be produced using following code:

Opera Mini (example)
Stable release(s)
Android13.0.2036.98649 / December 9, 2015; 9 years ago (2015-12-09)
iOS13.0.0 / March 1, 2016; 8 years ago (2016-03-01)
Windows Phone9.0.0.201 / September 29, 2015; 9 years ago (2015-09-29)
BlackBerry8.0 / March 12, 2014; 10 years ago (2014-03-12)
Java ME8.0 / March 12, 2014; 10 years ago (2014-03-12)
Symbian7.1 / January 25, 2013; 11 years ago (2013-01-25)
{{Infobox web browser
| name                    = Opera Mini (example)
| logo                    = Opera Mini logo horizontal.png
| ver layout              = stacked

| latest release version  = {{multiple releases

  | branch1  = Android
  | version1 = 13.0.2036.98649
  | date1    = {{Start date and age|2015|12|9}}
  
  | branch2  = iOS
  | version2 = 13.0.0
  | date2    = {{Start date and age|2016|03|01}}
  
  | branch3  = Windows Phone
  | version3 = 9.0.0.201
  | date3    = {{Start date and age|2015|09|29}}
  
  | branch4  = BlackBerry
  | version4 = 8.0
  | date4    = {{Start date and age|2014|03|12}}
  
  | branch5  = Java ME
  | version5 = 8.0
  | date5    = {{Start date and age|2014|03|12}}
  
  | branch6  = Symbian
  | version6 = 7.1
  | date6    = {{Start date and age|2013|01|25}}
  }}
}}

In this certain example, the lengthy information placed in |latest release version= can be placed into {{Latest stable software release/Opera Mini}} instead. {{Infobox web browser}} looks for it when |latest release version= is absent. (Please consult with Template:Infobox software/doc to find out more.) This way, the same template may be used on other pages mentioning software versions, e.g.:

Browser Vendor Version
Opera Mini Opera Software
Android63.0.2254.61942 / 30 May 2022; 2 years ago (2022-05-30)[1]
iOS16.0.14 / 4 October 2018; 6 years ago (2018-10-04)[2]
Windows Mobile 10 and Phone 8.19.1.0.232 / 16 June 2016; 8 years ago (2016-06-16)[3]
BlackBerry8.0.1 / 10 July 2014; 10 years ago (2014-07-10)[4]
Symbian7.1.32453 / 6 December 2016; 8 years ago (2016-12-06)[5]
Java ME8.0 / 12 March 2014; 10 years ago (2014-03-12)[6]
{| class="wikitable floatright"
|-
! Browser
! Vendor
! Version
|-
| [[Opera Mini]]
| [[Opera Software]]
| {{Latest stable software release/Opera Mini}}
|}

However, while {{Infobox web browser}} get informations from {{Latest stable software release/Opera Mini}}, this template won't create a link for edit as {{LSR}} and {{LPR}}, so you have to set |var layout= as stacked, then the infobox will produce the link itself.

  1. "Opera Mini - fast web browser - Apps on Google Play".
  2. "Opera Mini web browser on the App Store on iTunes". 16 October 2018. Retrieved 16 October 2018.
  3. "Opera Mini - Windows Apps on Microsoft Store". 16 June 2016. Retrieved 5 September 2016.
  4. "Opera Mini web browser - BlackBerry World". 10 July 2014.
  5. "Opera Mini web browser for Symbian on softonic". 6 December 2016. Retrieved 6 December 2016.
  6. "New Opera Mini for Java and BlackBerry - Opera Software". 12 March 2014.