Template:Infobox web browser/doc

From Freephile Wiki

Quick start: Comparison with {{Infobox software}}[edit source]

This template largely resembles {{Infobox software}}, except:

  1. It has the following new parameters (the descriptions of which you can study below): |engine=, |included with=
  2. It does not feature the following parameter: |Alexa=

In all other areas, it works exactly like {{Infobox software}}.

Usage[edit source]

{{Infobox web browser
| name                   = 
| logo                   = <!-- Image name is enough -->
| logo alt               = 
| logo size              = 
| screenshot             = <!-- Image name is enough -->
| caption                = 
| screenshot alt         = 
| screenshot size        = 
| collapsible            = 
| author                 = 
| slogan                 = 
| developer              = 
| released               = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->
| discontinued           = 
| ver layout             = <!-- stacked / simple -->
| latest release version = 
| latest release date    = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->
| latest preview version = 
| latest preview date    = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->
| status                 = 
| programming language   = 
| operating system       = 
| included with          = 
| engine                 = 
| platform               = 
| size                   = 
| language               = 
| language count         = <!-- Number only -->
| language footnote      = 
| genre                  = 
| license                = 
| website                = <!-- {{URL|www.example.org}} -->
| standard               = 
| AsOf                   = 
}}

Parameters[edit source]

Syntax error in JSON.

Latest versions in separate templates[edit source]

Infobox retrieves the software product's latest release version, latest release date, latest preview version and latest preview date from outside the article. Users visiting the article may click the numbers directly in the infobox to edit that external source. This mode is very useful for articles about software products whose vendors keep releasing updates or newer versions. With this mode is enabled, users can quickly and effectively edit the release data without editing the article proper (and cluttering its edit history with inconsequential edits).

To make the infobox retrieve release data from outside the article:

  1. Create an external source that supplies data for latest stable release. To do so:
    1. Copy and paste the following URL into your browser's address bar, replacing INFOBOX_NAME with the value supplied in name parameter of the infobox:
      https://wiki.freephile.org/wiki/index.php?title=Template:Latest_stable_software_release/INFOBOX_NAME&action=edit&preload=Template:LSR/syntax
    2. In the page that opens, fill in the required information.
    3. Save the page.
  2. Create an external source that supplies data for latest preview release. To do so:
    1. Copy and paste the following URL into your browser's address bar, replacing INFOBOX_NAME with the value suppplied in name parameter of the infobox:
      https://wiki.freephile.org/wiki/index.php?title=Template:Latest_preview_software_release/INFOBOX_NAME&action=edit&preload=Template:LPR/syntax
    2. In the page that opens, fill in the required information.
    3. Save the page.
  3. In the main article delete any latest release version, latest release date, latest preview version or latest preview date parameters (otherwise they will take precedence over templates' data).
  4. Save the article.
  5. Refresh the article.

The same templates may be shared between related articles. To do so, specify the subpage name of the templates' versions in the infobox's parameter |name= and add |title=subject of the article parameter to make the infobox display the proper name in the article.

Different latest versions[edit source]

For browsers, whose versions don't match across supported platforms, another set of templates may be used:

  1. Create an external source that supplies data for latest stable release. To do so:
    1. Copy and paste the following URL into your browser's address bar, replacing INFOBOX_NAME with the value supplied in name parameter of the infobox:
      https://wiki.freephile.org/wiki/index.php?title=Template:Multiple_stable_software_releases/INFOBOX_NAME&action=edit&preload=Template:Multiple_stable_software_releases/syntax
    2. In the page that opens, fill in the required information.
    3. Save the page.
  2. Create an external source that supplies data for latest preview release. To do so:
    1. Copy and paste the following URL into your browser's address bar, replacing INFOBOX_NAME with the value suppplied in name parameter of the infobox:
      https://wiki.freephile.org/wiki/index.php?title=Template:Multiple_preview_software_releases/INFOBOX_NAME&action=edit&preload=Template:Multiple_preview_software_releases/syntax
    2. In the page that opens, fill in the required information.
    3. Save the page.
  3. Save the article.
  4. Refresh the article.

Example[edit source]

Konqueror
Konqueror 4 Oxygen.svg
Konqueror 4 4 2.png
A screenshot of Konqueror 4.4.2 showing the default homepage
Slogan Conquer the Web!
Developer(s) KDE
Initial release 14 October 1996; 28 years ago (1996-10-14)
Stable release 4.14.3 (November 11, 2014; 10 years ago (2014-11-11)) [{{fullurl:Template:Latest stable software release{{#translation:}}/KDE Software Compilation 4}}?action=edit [±]][1]
This infobox is just an example, and it isn't supposed to reflect the present state of this particular piece of software, or even make any sense. It is only shown to demonstrate the effect of the options.
{{Infobox web browser
| name                   = KDE Software Compilation 4
| title                  = Konqueror
| logo                   = [[File:Konqueror 4 Oxygen.svg|80px]]
| screenshot             = [[File:Konqueror 4 4 2.png|300px]]
| caption                = A screenshot of Konqueror 4.4.2 showing the default homepage
| slogan                 = Conquer the Web!
| developer              = [[KDE]]
| released               = {{Start date and age|1996|10|14|df=yes}}
| programming language   = [[C++]] ([[Qt (framework)|Qt]])
| operating system       = [[Unix-like]], [[Windows]]
| platform               = [[KDE Plasma Workspaces]]
| engines                = [[KHTML]], [[WebKit]]
| status                 = Active
| genre                  = [[Web browser]], [[file browser]]
| license                = [[GNU General Public License#Version 2|GPLv2+]]
| website                = {{URL|http://www.konqueror.org}}
}}
  1. Lua error: bad argument #2 to 'match' (string is not UTF-8).

Microformat[edit source]

The HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.

Classes used

The HTML classes this microformat uses include:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent
Please do not rename or remove these classes
nor collapse nested elements which use them.

See also[edit source]