Thành viên:My2ndAngelic/Sandbox/Bản mẫu:Infobox web browser

Tài liệu[xem] [sửa] [lịch sử] [làm mới]

Cách sử dụng

sửa
{{Infobox web browser
| name                    = 
| logo                    = 
| logo alt                = 
| logo size               = 
| screenshot              =
| screenshot alt          = 
| screenshot size         = 
| caption                 = 
| collapsible             = 
| author                  = 
| slogan                  = 
| developer               = 
| released                = <!-- {{Start date and age|YYYY|MM|DD}} -->
| discontinued            = 
| latest release version  = 
| latest release date     = <!-- {{Start date and age|YYYY|MM|DD}} -->
| latest preview version  = 
| latest preview date     = <!-- {{Start date and age|YYYY|MM|DD}} -->
| status                  = 
| programming language    = 
| operating system        = 
| included with           = 
| engine                  = 
| platform                = 
| size                    = 
| language                = 
| genre                   = 
| license                 = 
| website                 = <!-- {{URL|www.example.org}} -->
| standard                = 
| AsOf                    = 
}}

Parameters

sửa

This infobox is intended for articles about web browsers.

Tham số bản mẫu

Tham sốMiêu tảKiểuTrạng thái
Name of web browsername

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

Chuỗi dàibắt buộc
Name of web browsertitle

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

Chuỗi dàitùy chọn
Logo of web browserlogo

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

Tập tintùy chọn
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.

Chuỗi dàitùy chọn
Width of the logologo size logo_size

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

Chuỗi dàitùy chọn
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.

Tập tintùy chọn
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.

Chuỗi dàitùy chọn
Width of screenshotscreenshot size screenshot_size

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

Chuỗi dàitùy chọn
Caption for screenshotcaption

Displayed below screenshot.

Chuỗi dàitùy chọn
Screenshot should be collapsiblecollapsible

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

Mặc định
No
Chuỗi dàitùy chọn
Authorauthor

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

Chuỗi dàitùy chọn
Developerdeveloper

Current developer of the browser.

Chuỗi dàitùy chọn
Sloganslogan

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

Chuỗi dàitùy chọn
Initial release datereleased

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

Ngày thángtùy chọn
Discontinued?discontinued

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

Mặc định
No
Chuỗi dàitùy chọn
Latest release versionlatest release version latest_release_version

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

Chuỗi dàitùy chọn
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>]].)

Ngày thángtùy chọn
Latest preview versionlatest preview version latest_preview_version

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

Chuỗi dàitùy chọn
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>]].)

Ngày thángtùy chọn
Development statusstatus

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

Chuỗi dàitùy chọn
Programming languageprogramming language programming_language

Programming language the browser is written in.

Chuỗi dàitùy chọn
Operating systemoperating system operating_system

List of operating systems browser is currently available for.

Chuỗi dàitùy chọn
Included withincluded with included_with

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

Chuỗi dàitùy chọn
Layout engineengine

Layout engine that renders web pages for this browser.

Tên trangtùy chọn
List of layout enginesengines

List of layout engines, if multiple supported by default.

Chuỗi dàitùy chọn
Platformplatform

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

Chuỗi dàitùy chọn
Sizesize

Size of official installer file.

Chuỗi dàitùy chọn
Natural language(s)language

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

Chuỗi dàitùy chọn
Software genregenre

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

Chuỗi dàitùy chọn
Licenselicense licence

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

Chuỗi dàitùy chọn
Websitewebsite

{{URL|address of website}} Use "https" if available.

Chuỗi dàitùy chọn
Web standardsstandard

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

Chuỗi dàitùy chọn
As ofAsOf

Date when information in infobox was last verified.

Ngày thángtùy chọn

Latest versions in separate templates

sửa

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:
      //vi.wikipedia.org/w/index.php?title=B%E1%BA%A3n_m%E1%BA%ABu: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:
      //vi.wikipedia.org/w/index.php?title=B%E1%BA%A3n_m%E1%BA%ABu: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

sửa

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:
      //vi.wikipedia.org/w/index.php?title=B%E1%BA%A3n_m%E1%BA%ABu: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:
      //vi.wikipedia.org/w/index.php?title=B%E1%BA%A3n_m%E1%BA%ABu: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

sửa
Konqueror
A screenshot of Konqueror 4.4.2 showing the default homepage
SloganConquer the Web!
Nhà Lập trìnhKDE
Phát hành lần đầu14 tháng 10 năm 1996; 28 năm trước (1996-10-14)
Development statusActive
Ngôn ngữC++ (Qt)
Hệ điều hànhUnix-like, Windows
EnginesKHTML, WebKit
Nền tảngKDE Plasma Workspaces
LoạiWeb browser, file browser
Giấy phépGPLv2+
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

sửa
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

sửa