Template:Infobox web browser/doc
This is a documentation subpage for Template:Infobox web browser. It contains usage information, categories and other content that is not part of the original template page. |
Quick start: Comparison with {{Infobox software}}
This template largely resembles {{Infobox software}}, except:
- It has the following new parameters (the descriptions of which you can study below):
|engine=
,|included with=
- It does not feature the following parameter:
|Alexa=
In all other areas, it works exactly like {{Infobox software}}.
Usage
{{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 = | 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}} --> | repo = <!-- {{URL|example.org}} --> | 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
TemplateData for Infobox web browser
<templatedata>
{
"description": "This infobox is intended for articles about web browsers.",
"params": {
"name": {
"label": "Infobox name",
"description": "Name of the infobox. This is used internally in combination with Template:Latest stable software release/'name' and is also displayed at the top of the infobox if the Title parameter is absent. It must be pure text. Do not include any wikimarkup in this parameter.",
"type": "string",
"required": true
},
"title": {
"label": "Title of the web browser",
"description": "Title of the web browser. Displayed at the top of the infobox. If not specified the 'Name' parameter or the PAGENAME are used. It should be plain text. Do not include a wikilink, hyperlink or image in this parameter.",
"type": "string"
},
"logo": {
"label": "Logo of web browser",
"description": "Logo image name without leading \"File:\" or \"Image:\" and parameters. Don't use wikilinks.",
"type": "wiki-file-name"
},
"logo caption": {
"label": "Logo caption",
"type": "string",
"required": false,
"description": "Caption for the logo. Must only be used to provide anything far more important than 'This is the logo of X'. e.g. used for inserting Template:Ffdc or Template:Deletable image-caption."
},
"logo alt": {
"aliases": [
"logo_alt"
],
"label": "Alternative text for logo",
"description": "Plain text describing logo. Text to be displayed in popup when cursor is hovering over image; replaces logo filename when article is rendered in text-based browser, screen reader, etc.",
"type": "string"
},
"logo size": {
"aliases": [
"logo_size"
],
"label": "Width of the logo",
"description": "Width of the logo in pixels; \"px\" suffix is required.",
"type": "string"
},
"screenshot": {
"label": "Screenshot of web browser",
"description": "Screenshot without leading \"File:\" or \"Image:\" and parameters. Don't use wikilinks. Take care to violate third-party copyright – the page displayed in web browser is normally subject to copyright.",
"type": "wiki-file-name"
},
"screenshot alt": {
"aliases": [
"screenshot_alt"
],
"label": "Alternative text for screenshot",
"description": "Plain text describing screenshot. Text to be displayed in popup when cursor is hovering over image; replaces logo filename when article is rendered in text-based browser, screen reader, etc.",
"type": "string"
},
"screenshot size": {
"aliases": [
"screenshot_size"
],
"label": "Width of screenshot",
"description": "Width of the screenshot in pixels; \"px\" suffix is required.",
"type": "string"
},
"caption": {
"label": "Caption for screenshot",
"description": "Displayed below screenshot.",
"type": "string"
},
"collapsible": {
"label": "Screenshot should be collapsible",
"description": "If set to \"Yes\", screenshot is collapsed by default.",
"type": "string",
"default": "No"
},
"author": {
"label": "Author",
"description": "Original author of the browser (if different from current developer).",
"type": "string"
},
"developer": {
"label": "Developer",
"description": "Current developer of the browser.",
"type": "string"
},
"released": {
"label": "Initial release date",
"description": "Date of initial release, wrapped in Expression error: Unrecognized word "day"., Year ",
"type": "date"
},
"discontinued": {
"label": "Discontinued?",
"description": "If set to \"Yes\", wording through infobox is changed to reflect that browser is no longer developed.",
"type": "string",
"default": "No"
},
"ver layout": {
"label": "Version info layout",
"description": "Defines how version number information appear in the infobox. Can be set to \"simple\" (default) or \"stacked\". \"Simple\" allocates an ordinary row to \"latest release version\" and another to \"latest preview version\". But \"stacked\" gives the full width of the row the info and adds a header, so that several version numbers can appear and use the infobox space more efficiently.",
"autovalue": "simple",
"type": "string"
},
"latest release version": {
"aliases": [
"latest_release_version"
],
"label": "Latest release version",
"description": "Version of latest stable release. (Superseded with standalone template at [[Template:Latest stable software release/<name>]].)",
"type": "string"
},
"latest release date": {
"aliases": [
"latest_release_date"
],
"label": "Latest release date",
"description": "Date of latest stable release wrapped in Expression error: Unrecognized word "day"., Year . (Superseded with standalone template at [[Template:Latest stable software release/<name>]].)",
"type": "date"
},
"latest preview version": {
"aliases": [
"latest_preview_version"
],
"label": "Latest preview version",
"description": "Version of latest unstable release. (Superseded with standalone template at [[Template:Latest preview software release/<name>]].)",
"type": "string"
},
"latest preview date": {
"aliases": [
"latest_preview_date"
],
"label": "Latest preview date",
"description": "Date of latest unstable release wrapped in Expression error: Unrecognized word "day"., Year . (Superseded with standalone template at [[Template:Latest preview software release/<name>]].)",
"type": "date"
},
"status": {
"label": "Development status",
"description": "One of \"Active\", \"Unmaintained\" or \"Discontinued\".",
"type": "string"
},
"programming language": {
"aliases": [
"programming_language"
],
"label": "Programming language",
"description": "Programming language the browser is written in.",
"type": "string"
},
"operating system": {
"aliases": [
"operating_system"
],
"label": "Operating system",
"description": "List of operating systems browser is currently available for.",
"type": "string"
},
"included with": {
"aliases": [
"included_with"
],
"label": "Included with",
"description": "Products (devices and operating systems) that come preloaded with this browser.",
"type": "string"
},
"engine": {
"label": "Layout engine",
"description": "Layout engine that renders web pages for this browser. In absence of this parameter, infobox attempts to acquire the engine from Wikidata. This parameter overrides the Wikidata engine.",
"type": "wiki-page-name"
},
"engines": {
"label": "List of layout engines",
"description": "List of layout engines, if multiple supported by default.",
"type": "string"
},
"platform": {
"label": "Platform",
"description": "Software platform browser builds upon. Examples include \"Java\", \".NET\", \"Tcl/Tk\".",
"type": "string"
},
"size": {
"label": "Size",
"description": "Size of official installer file.",
"type": "string"
},
"language": {
"label": "Natural language(s)",
"description": "List of (unlinked) languages browser interface is translated to.",
"type": "string"
},
"language count": {
"label": "Language count",
"type": "number",
"required": false,
"description": "Number of natural languages in which the software product user interface can interact with user."
},
"language footnote": {
"label": "Language footnote",
"type": "string",
"required": false,
"description": "Use this parameter to supply citation on available translations."
},
"genre": {
"label": "Software genre",
"description": "Genre of the browser. Should be set to \"web browser\" unless browser is niche.",
"type": "string"
},
"license": {
"aliases": [
"licence"
],
"label": "License",
"description": "Name of the license (if well-known). Use \"Freeware\", \"Proprietary\" or similar for obscure/custom licenses. Don't use \"EULA\". In absence of this parameter, infobox attempts to acquire the license from Wikidata. This parameter overrides the Wikidata license.",
"type": "string"
},
"website": {
"label": "Website",
"description": "The web site URL of the software package. This URL must be readable in print. Therefore, you should use '{{URL}}' template like this: 'www{{URL|example.com|optional display text}}
template. In the absence of this parameter, infobox attempts to acquire the repository link from Wikidata. This parameter overrides the Wikidata link.",
"type": "string"
}
},
"paramOrder": [
"name",
"title",
"logo",
"logo caption",
"logo alt",
"logo size",
"screenshot",
"screenshot size",
"screenshot alt",
"caption",
"collapsible",
"author",
"developer",
"released",
"discontinued",
"ver layout",
"latest release version",
"latest release date",
"latest preview version",
"latest preview date",
"repo",
"status",
"programming language",
"operating system",
"included with",
"engine",
"engines",
"platform",
"size",
"language",
"language count",
"language footnote",
"genre",
"license",
"website",
"standard",
"Footer",
"AsOf",
"bodystyle"
],
"format": "block"
}
</templatedata>
Latest versions in separate templates
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:
- Create an external source that supplies data for latest stable release. To do so:
- 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.kidzsearch.com/w/index.php?title=Template:Latest_stable_software_release/INFOBOX_NAME&action=edit&preload=Template:LSR/syntax
- In the page that opens, fill in the required information.
- Save the page.
- Copy and paste the following URL into your browser's address bar, replacing INFOBOX_NAME with the value supplied in
- Create an external source that supplies data for latest preview release. To do so:
- 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.kidzsearch.com/w/index.php?title=Template:Latest_preview_software_release/INFOBOX_NAME&action=edit&preload=Template:LPR/syntax
- In the page that opens, fill in the required information.
- Save the page.
- Copy and paste the following URL into your browser's address bar, replacing INFOBOX_NAME with the value suppplied in
- In the main article delete any
latest release version
,latest release date
,latest preview version
orlatest preview date
parameters (otherwise they will take precedence over templates' data). - Save the article.
- 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
For browsers, whose versions don't match across supported platforms, another set of templates may be used:
- Create an external source that supplies data for latest stable release. To do so:
- 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.kidzsearch.com/w/index.php?title=Template:Multiple_stable_software_releases/INFOBOX_NAME&action=edit&preload=Template:Multiple_stable_software_releases/syntax
- In the page that opens, fill in the required information.
- Save the page.
- Copy and paste the following URL into your browser's address bar, replacing INFOBOX_NAME with the value supplied in
- Create an external source that supplies data for latest preview release. To do so:
- 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.kidzsearch.com/w/index.php?title=Template:Multiple_preview_software_releases/INFOBOX_NAME&action=edit&preload=Template:Multiple_preview_software_releases/syntax
- In the page that opens, fill in the required information.
- Save the page.
- Copy and paste the following URL into your browser's address bar, replacing INFOBOX_NAME with the value suppplied in
- Save the article.
- Refresh the article.
Example
Developer(s) | KDE |
---|---|
Initial release | 14 October 1996 |
Development status | Active |
Written in | C++ (Qt) |
Operating system | Unix-like, Windows |
Platform | KDE Plasma Workspaces |
Type | Web browser, file browser |
License | GPLv2+ |
Website | www |
{{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 | 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}} }}
Microformat
The HTML mark up produced by this template includes an hCalendar microformat, which makes the event details parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to a calendar or diary application. For more information about the use of microformats on Wikipedia, please see the microformat project on English Wikipedia.
Sub-templates
Dates will only be included if you use {{Start date}} or {{End date}} (use the former for single dates; but do not use any of these if the date is before 1583 CE).
URLs will only be included if you use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
hCalendar uses HTML classes including:
- 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