แม่แบบ:กล่องข้อมูล เว็บเบราว์เซอร์
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):
|ver layout=
,|engine=
,|included with=
- It does not feature the following parameter:
|Alexa=
In all other areas, it works exactly like {{Infobox software}}.
Usage
[แก้]{{กล่องข้อมูล เว็บเบราว์เซอร์ | 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 infobox is intended for articles about web browsers.
พารามิเตอร์ | คำอธิบาย | ชนิด | สถานะ | |
---|---|---|---|---|
Name of web browser | name | Displayed above infobox if "title" not set. Used to retrieve versioning information from standalone templates. | สตริง | จำเป็น |
Name of web browser | title | Displayed above infobox. Use only to override "name" if needed. | สตริง | เลือกได้ |
Logo of web browser | logo | Logo image name without leading "File:" or "Image:" and parameters. Don't use wikilinks. | ไฟล์ | เลือกได้ |
Logo caption | logo 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}}. | สตริง | เลือกได้ |
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. | สตริง | เลือกได้ |
Width of the logo | logo size logo_size | Width of the logo in pixels; "px" suffix is required. | สตริง | เลือกได้ |
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. | ไฟล์ | เลือกได้ |
Width of screenshot | screenshot size screenshot_size | Width of the screenshot in pixels; "px" suffix is required. | สตริง | เลือกได้ |
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. | สตริง | เลือกได้ |
Caption for screenshot | caption | Displayed below screenshot. | สตริง | เลือกได้ |
Screenshot should be collapsible | collapsible | If set to "Yes", screenshot is collapsed by default.
| สตริง | เลือกได้ |
Author | author | Original author of the browser (if different from current developer). | สตริง | เลือกได้ |
Developer | developer | Current developer of the browser. | สตริง | เลือกได้ |
Slogan | slogan | Slogan of the browser (if prominent). Reference to independent source must be provided. | สตริง | เลือกได้ |
Initial release date | released | Date of initial release, wrapped in {{start date and age|Year|Month|Day}} | วันที่ | เลือกได้ |
Discontinued? | discontinued | If set to "Yes", wording through infobox is changed to reflect that browser is no longer developed.
| สตริง | เลือกได้ |
Version info layout | ver 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.
| สตริง | เลือกได้ |
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>]].) | สตริง | เลือกได้ |
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>]].) | วันที่ | เลือกได้ |
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>]].) | สตริง | เลือกได้ |
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>]].) | วันที่ | เลือกได้ |
Development status | status | One of "Active", "Unmaintained" or "Discontinued". | สตริง | เลือกได้ |
Programming language | programming language programming_language | Programming language the browser is written in. | สตริง | เลือกได้ |
Operating system | operating system operating_system | List of operating systems browser is currently available for. | สตริง | เลือกได้ |
Included with | included with included_with | Products (devices and operating systems) that come preloaded with this browser. | สตริง | เลือกได้ |
Layout engine | engine | Layout engine that renders web pages for this browser. | ชื่อหน้า | เลือกได้ |
List of layout engines | engines | List of layout engines, if multiple supported by default. | สตริง | เลือกได้ |
Platform | platform | Software platform browser builds upon. Examples include "[[Java (programming language)|Java]]", "[[.NET Framework|.NET]]", "[[Tcl]]/[[Tk (software)|Tk]]". | สตริง | เลือกได้ |
Size | size | Size of official installer file. | สตริง | เลือกได้ |
Natural language(s) | language | List of (unlinked) languages browser interface is translated to. | สตริง | เลือกได้ |
Language count | language count | Number of natural languages in which the software product user interface can interact with user. | จำนวน | เลือกได้ |
Language footnote | language footnote | Use this parameter to supply citation on available translations. | สตริง | เลือกได้ |
Software genre | genre | Genre of the browser. Should be set to "[[web browser]]" unless browser is niche. | สตริง | เลือกได้ |
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". | สตริง | เลือกได้ |
Website | website | 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.) | สตริง | เลือกได้ |
Web standards | standard | List of web standards browser supports. (Only if browser uses custom layout engine or significantly extends its functionality.) | สตริง | เลือกได้ |
Footer | Footer | Information in this field appear at the bottom of the infobox | ข้อความวิกิที่ไม่สมดุล | เลือกได้ |
As of | AsOf | Date when information in infobox was last verified. | วันที่ | เลือกได้ |
Body style (CSS) | bodystyle | CSS styling for the infobox as a whole | สตริง | เลือกได้ |
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://th.wikipedia.org/w/index.php?title=%E0%B9%81%E0%B8%A1%E0%B9%88%E0%B9%81%E0%B8%9A%E0%B8%9A: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://th.wikipedia.org/w/index.php?title=%E0%B9%81%E0%B8%A1%E0%B9%88%E0%B9%81%E0%B8%9A%E0%B8%9A: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://th.wikipedia.org/w/index.php?title=%E0%B9%81%E0%B8%A1%E0%B9%88%E0%B9%81%E0%B8%9A%E0%B8%9A: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://th.wikipedia.org/w/index.php?title=%E0%B9%81%E0%B8%A1%E0%B9%88%E0%B9%81%E0%B8%9A%E0%B8%9A: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
[แก้]A screenshot of Konqueror 4.4.2 showing the default homepage | |
คำขวัญ | Conquer the Web! |
---|---|
ผู้พัฒนา | KDE |
วันที่เปิดตัว | 14 ตุลาคม 1996 |
สถานะการพัฒนา | Active |
เขียนจากภาษาโปรแกรม | C++ (Qt) |
Operating system | Unix-like, Windows |
เร็นเดอริงเอนจินs | KHTML, WebKit |
ระบบปฏิบัติการ | KDE Plasma Workspaces |
ประเภท | Web browser, file browser |
ลิขสิทธิ์ | 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
[แก้]- Classes used
The HTML classes of this microformat include:
- attendee
- contact
- description
- dtend
- dtstart
- location
- organiser
- summary
- url
- vevent
nor collapse nested elements which use them.
See also
[แก้]คู่มือการใช้งานที่ปรากฏด้านบนนี้ดึงมาจาก แม่แบบ:กล่องข้อมูล เว็บเบราว์เซอร์/doc (แก้ | ประวัติ) ผู้เขียนสามารถทำการทดลองได้ที่กระบะทราย (สร้าง | คัดลอก) และชุดทดสอบ (สร้าง) ของแม่แบบนี้ โปรดเพิ่มหมวดหมู่ไปที่หน้าย่อย /doc หน้าย่อยของแม่แบบนี้ |