الگو:Infobox web browser

از ویکی‌پدیا، دانشنامهٔ آزاد
پرش به: ناوبری، جستجو
نشان توضیحات توضیحات الگو [ویرایش] [تاریخچه] [پاکسازی میانگیر]


Usage[ویرایش]

{{Infobox web browser
| name                    = 
| logo                    = 
| screenshot              = 
| slogan                  = 
| caption                 = 
| collapsible             = 
| author                  = 
| developer               = 
| released                = <!-- {{Start date|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}} -->
| programming language    = 
| operating system        = 
| included with           = 
| engine                  = 
| platform                = 
| size                    = 
| language                = 
| status                  = 
| genre                   = 
| license                 = 
| website                 = 
| standard                = 
| AsOf                    = 
}}

Parameters[ویرایش]

All parameters are optional.

name
name of software (see Latest versions in separate templates section for details)
logo
logo
screenshot
screenshot image
caption
caption for screenshot
slogan
software's (official) slogan
collapsible
can be set to "yes" in case of long vertical screenshot (see QQ for example)
author
original author of the program
developer
current developer of the program
released
the release date of version 1.0 (or closely-matching release). For subsequent or prior releases, use latest release date.
Can use {{Start date}} template.
discontinued
whether this product is no longer being developed (changes the words 'Latest release' to 'discontinued'). Any value will do, though 'yes' or 'true' are preferred for clarity. Use the last release version and date in the 'latest release' parameters, below.
latest release version
latest released version number
latest release date
release date of the latest released version; suggested use of {{Start date and age}} template
latest preview version
version number of preview version or development branch
latest preview date
preview date; suggested use of {{Start date and age}} template
programming language
programming language
operating system
operating system. For Unix-like multi-OS programs use: Any شبه یونیکس
included with
names of the operating system or devices that come with this browser built-in
engine
engine that runs the software
platform
platform (Java, .NET). For multi-platform programs use: چندسکویی
size
in megabytes
language
natural language (English, French)
status
Should probably be one of: Planned, Active, Unmaintained
genre
Type of program. Probably wikilinked to an article such as Geographic information system.
license
License such as proprietary, [[پروانه عمومی همگانی گنو|GPL]]. Pick either license (American English) or licence (Commonwealth English), not both - select the one which matches the content of the article the template is used in.
website
Web site of software package.
standard
[TO DO]
AsOf
[TO DO]

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:
      //fa.wikipedia.org/w/index.php?title=%D8%A7%D9%84%DA%AF%D9%88: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:
      //fa.wikipedia.org/w/index.php?title=%D8%A7%D9%84%DA%AF%D9%88: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.

Example[ویرایش]

Konqueror
Konqueror 4 Oxygen.svg
Konqueror 4 4 2.png
A screenshot of Konqueror 4.4.2 showing the default homepage
شعار Conquer the Web!
توسعه‌دهنده(ها) KDE
نسخهٔ اولیه ۱۴ اکتبر ۱۹۹۶؛ ۶٬۴۰۲ روز پیش[۱]
نوشته‌شده به زبان C++ (Qt)
سیستم‌عامل شبه یونیکس, Windows
موتور KHTML / WebKit
سکو KDE Plasma Workspaces
قابل دسترس به Multilingual
نوع Web browser, file browser
پروانه GPLv2+
وب‌گاه www.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}}<ref>{{ cite newsgroup | title = New Project: Kool Desktop Environment (KDE) |url=http://groups.google.com/group/de.comp.os.linux.misc/msg/cb4b2d67ffc3ffce |first= Matthias |last=Ettrich  |newsgroup= de.comp.os.linux.misc |id=53tkvv$b4j@newsserv.zdv.uni-tuebingen.de |date=14 October 1996 |accessdate=2006-12-29}}</ref>
| frequently updated     = yes <!-- Release version update? Don't edit this page, just click on the version number! -->
| programming language   = [[C++]] ([[Qt (framework)|Qt]])
| operating system       = [[شبه یونیکس]], [[مایکروسافت ویندوز|Windows]]
| platform               = [[KDE Plasma Workspaces]]
| engine                 = [[KHTML]] / [[WebKit]]
| state                  = Active
| language               = Multilingual
| genre                  = [[Web browser]], [[file browser]]
| license                = [[GNU General Public License#Version 2|GPLv2+]]
| website                = {{URL|http://www.konqueror.org}}
}}
References
  1. Ettrich, Matthias (14 October 1996). "New Project: Kool Desktop Environment (KDE)". de.comp.os.linux.misc. (Web link). Retrieved 2006-12-29. Retrieved 2006-12-29. 

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 article 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.

Dates will only appear if you use {{Start date}} or {{End date}} (use the former for single dates).

hCalendar uses HTML classes including:

  • "dtend"
  • "dtstart"
  • "location"
  • "summary"
  • "vevent"

See also[ویرایش]