टेम्पलेट:Infobox web browser/doc

विकिपीडिया से

Quick start: Comparison with {{Infobox software}}[संपादन करीं]

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[संपादन करीं]

{{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[संपादन करीं]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for Infobox web browser

This infobox is intended for articles about web browsers.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Name of web browsername

Displayed above infobox if "title" not set. Used to retrieve versioning information from standalone templates.

Stringrequired
Name of web browsertitle

Displayed above infobox. Use only to override "name" if needed.

Stringoptional
Logo of web browserlogo

Logo image name without leading "File:" or "Image:" and parameters. Don't use wikilinks.

Fileoptional
Logo captionlogo caption

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 {{ffdc}} or {{deletable image-caption}}.

Stringoptional
Alternative text for logologo alt logo_alt

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.

Stringoptional
Width of the logologo size logo_size

Width of the logo in pixels; "px" suffix is required.

Stringoptional
Screenshot of web browserscreenshot

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.

Fileoptional
Width of screenshotscreenshot size screenshot_size

Width of the screenshot in pixels; "px" suffix is required.

Stringoptional
Alternative text for screenshotscreenshot alt screenshot_alt

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.

Stringoptional
Caption for screenshotcaption

Displayed below screenshot.

Stringoptional
Screenshot should be collapsiblecollapsible

If set to "Yes", screenshot is collapsed by default.

Default
No
Stringoptional
Authorauthor

Original author of the browser (if different from current developer).

Stringoptional
Developerdeveloper

Current developer of the browser.

Stringoptional
Sloganslogan

Slogan of the browser (if prominent). Reference to independent source must be provided.

Stringoptional
Initial release datereleased

Date of initial release, wrapped in {{start date and age|Year|Month|Day}}

Dateoptional
Discontinued?discontinued

If set to "Yes", wording through infobox is changed to reflect that browser is no longer developed.

Default
No
Stringoptional
Version info layoutver layout

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.

Auto value
simple
Stringoptional
Latest release versionlatest release version latest_release_version

Version of latest stable release. (Superceded with standalone template at [[Template:Latest stable software release/<name>]].)

Stringoptional
Latest release datelatest release date latest_release_date

Date of latest stable release wrapped in {{start date and age|Year|Month|Day}}. (Superceded with standalone template at [[Template:Latest stable software release/<name>]].)

Dateoptional
Latest preview versionlatest preview version latest_preview_version

Version of latest unstable release. (Superceded with standalone template at [[Template:Latest preview software release/<name>]].)

Stringoptional
Latest preview datelatest preview date latest_preview_date

Date of latest unstable release wrapped in {{start date and age|Year|Month|Day}}. (Superceded with standalone template at [[Template:Latest preview software release/<name>]].)

Dateoptional
Development statusstatus

One of "Active", "Unmaintained" or "Discontinued".

Stringoptional
Programming languageprogramming language programming_language

Programming language the browser is written in.

Stringoptional
Operating systemoperating system operating_system

List of operating systems browser is currently available for.

Stringoptional
Included withincluded with included_with

Products (devices and operating systems) that come preloaded with this browser.

Stringoptional
Layout engineengine

Layout engine that renders web pages for this browser.

Page nameoptional
List of layout enginesengines

List of layout engines, if multiple supported by default.

Stringoptional
Platformplatform

Software platform browser builds upon. Examples include "[[Java (programming language)|Java]]", "[[.NET Framework|.NET]]", "[[Tcl]]/[[Tk (software)|Tk]]".

Stringoptional
Sizesize

Size of official installer file.

Stringoptional
Natural language(s)language

List of (unlinked) languages browser interface is translated to.

Stringoptional
Language countlanguage count

Number of natural languages in which the software product user interface can interact with user.

Numberoptional
Language footnotelanguage footnote

Use this parameter to supply citation on available translations.

Stringoptional
Software genregenre

Genre of the browser. Should be set to "[[web browser]]" unless browser is niche.

Stringoptional
Licenselicense licence

Name of the license (if well-known). Use "[[Freeware]]", "[[Proprietary software|Proprietary]]" or similar for obscure/custom licenses. Don't use "EULA".

Stringoptional
Websitewebsite

The web site URL of the software package. This URL must be readable in print. Therefore, you should use '{{tl|URL}}' template like this: '{{URL|http://www.example.com}}'. Avoid using printer-hostile forms like '[http://www.example.com Example website]'. In absence of this parameter, infobox attempts to acquire the website link form Wikidata. This parameter overrides the Wikidata link. (It is useful when a second infobox for something different is defined on a page.) In addition, the special value 'hide' suppresses this field, even in presence of a Wikidata link. (It is useful for articles that have several infoboxes and do not want all of them show a Wikidata link ad nauseam.)

Stringoptional
Web standardsstandard

List of web standards browser supports. (Only if browser uses custom layout engine or significantly extends its functionality.)

Stringoptional
FooterFooter

Information in this field appear at the bottom of the infobox

Unbalanced wikitextoptional
As ofAsOf

Date when information in infobox was last verified.

Dateoptional
Body style (CSS)bodystyle

CSS styling for the infobox as a whole

Stringoptional

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:

  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:
      //bh.wikipedia.org/w/index.php?title=%E0%A4%9F%E0%A5%87%E0%A4%AE%E0%A5%8D%E0%A4%AA%E0%A4%B2%E0%A5%87%E0%A4%9F: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:
      //bh.wikipedia.org/w/index.php?title=%E0%A4%9F%E0%A5%87%E0%A4%AE%E0%A5%8D%E0%A4%AA%E0%A4%B2%E0%A5%87%E0%A4%9F: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[संपादन करीं]

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:
      //bh.wikipedia.org/w/index.php?title=%E0%A4%9F%E0%A5%87%E0%A4%AE%E0%A5%8D%E0%A4%AA%E0%A4%B2%E0%A5%87%E0%A4%9F: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:
      //bh.wikipedia.org/w/index.php?title=%E0%A4%9F%E0%A5%87%E0%A4%AE%E0%A5%8D%E0%A4%AA%E0%A4%B2%E0%A5%87%E0%A4%9F: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[संपादन करीं]

Konqueror
A screenshot of Konqueror 4.4.2 showing the default homepage
SloganConquer the Web!
Developer(s)KDE
Initial release14 अक्टूबर 1996; 27 साल पहिले (1996-10-14)
Development statusActive
Written inC++ (Qt)
Operating systemUnix-like, Windows
EnginesKHTML, WebKit
PlatformKDE Plasma Workspaces
TypeWeb browser, file browser
LicenseGPLv2+
Websitewww.konqueror.org
{{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}}
}}

Microformat[संपादन करीं]

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
line-height:1.3em

इहो देखल जाय[संपादन करीं]