Thành viên:My2ndAngelic/Sandbox/Template:Infobox web browser/doc
Đây là một trang con tài liệu dành cho Thành viên:My2ndAngelic/Sandbox/Template:Infobox web browser. Nó gồm có các thông tin hướng dẫn sử dụng, thể loại và các nội dung khác không thuộc về phần trang bản mẫu thành viên gốc. |
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ửaThis infobox is intended for articles about web browsers.
Tham số | Miêu tả | Kiểu | Trạng thái | |
---|---|---|---|---|
Name of web browser | name | Displayed above infobox if "title" not set. Used to retrieve versioning infromation from standalone templates. | Chuỗi dài | bắt buộc |
Name of web browser | title | Displayed above infobox. Use only to override "name" if needed. | Chuỗi dài | tùy chọn |
Logo of web browser | logo | Logo image name without leading "File:" or "Image:" and parameters. Don't use wikilinks. | Tập tin | tùy chọn |
Alternative text for logo | logo 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ài | tùy chọn |
Width of the logo | logo size logo_size | Width of the logo in pixels; "px" suffix is required. | Chuỗi dài | tùy chọn |
Screenshot of web browser | screenshot | 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 tin | tùy chọn |
Alternative text for screenshot | screenshot 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ài | tùy chọn |
Width of screenshot | screenshot size screenshot_size | Width of the screenshot in pixels; "px" suffix is required. | Chuỗi dài | tùy chọn |
Caption for screenshot | caption | Displayed below screenshot. | Chuỗi dài | tùy chọn |
Screenshot should be collapsible | collapsible | If set to "Yes", screenshot is collapsed by default.
| Chuỗi dài | tùy chọn |
Author | author | Original author of the browser (if different from current developer). | Chuỗi dài | tùy chọn |
Developer | developer | Current developer of the browser. | Chuỗi dài | tùy chọn |
Slogan | slogan | Slogan of the browser (if prominent). Reference to independent source must be provided. | Chuỗi dài | tùy chọn |
Initial release date | released | Date of initial release, wrapped in {{start date and age|Year|Month|Day}} | Ngày tháng | tùy chọn |
Discontinued? | discontinued | If set to "Yes", wording throught infobox is changed to reflect that browser is no longer developed.
| Chuỗi dài | tùy chọn |
Latest release version | latest release version latest_release_version | Version of latest stable release. (Superceded with standalone template at [[Template:Latest stable software release/<name>]].) | Chuỗi dài | tùy chọn |
Latest release date | latest 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áng | tùy chọn |
Latest preview version | latest preview version latest_preview_version | Version of latest unstable release. (Superceded with standalone template at [[Template:Latest preview software release/<name>]].) | Chuỗi dài | tùy chọn |
Latest preview date | latest 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áng | tùy chọn |
Development status | status | One of "Active", "Unmaintained" or "Discontinued". | Chuỗi dài | tùy chọn |
Programming language | programming language programming_language | Programming language the browser is written in. | Chuỗi dài | tùy chọn |
Operating system | operating system operating_system | List of operating systems browser is currently available for. | Chuỗi dài | tùy chọn |
Included with | included with included_with | Products (devices and operating systems) that come preloaded with this browser. | Chuỗi dài | tùy chọn |
Layout engine | engine | Layout engine that renders web pages for this browser. | Tên trang | tùy chọn |
List of layout engines | engines | List of layout engines, if multiple supported by default. | Chuỗi dài | tùy chọn |
Platform | platform | Software platform browser builds upon. Examples include "[[Java (programming language)|Java]]", "[[.NET Framework|.NET]]", "[[Tcl]]/[[Tk (software)|Tk]]". | Chuỗi dài | tùy chọn |
Size | size | Size of official installer file. | Chuỗi dài | tùy chọn |
Natural language(s) | language | List of (unlinked) languages browser interface is translated to. | Chuỗi dài | tùy chọn |
Software genre | genre | Genre of the browser. Should be set to "[[web browser]]" unless browser is niche. | Chuỗi dài | tùy chọn |
License | license 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ài | tùy chọn |
Website | website | {{URL|address of website}} Use "https" if available. | Chuỗi dài | tùy chọn |
Web standards | standard | List of web standards browser supports. (Only if browser uses custom layout engine or significantly extends its functionality.) | Chuỗi dài | tùy chọn |
As of | AsOf | Date when information in infobox was last verified. | Ngày tháng | tùy chọn |
Latest versions in separate templates
sửaInfobox 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://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
- 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://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
- 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
sửaFor 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://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
- 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://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
- 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
sửa A screenshot of Konqueror 4.4.2 showing the default homepage | |
Slogan | Conquer the Web! |
---|---|
Nhà Lập trình | KDE |
Phát hành lần đầu | 14 tháng 10 năm 1996 |
Development status | Active |
Ngôn ngữ | C++ (Qt) |
Hệ điều hành | Unix-like, Windows |
Engines | KHTML, WebKit |
Nền tảng | KDE Plasma Workspaces |
Loại | Web browser, file browser |
Giấy phép | 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 | 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ửaThe 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
nor collapse nested elements which use them.
See also
sửa