الگو به طور دائم حفاظت‌شده است

الگو:Infobox software

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

Usage

The following is the base code required to generate an infobox. One can copy and paste the base code into an article and insert relevant information in front of the "=" signs. Removing HTML comments ("<!--", "-->" and anything between these two) is optional. To avoid accidental misuse, this base code does not have a handful of parameters that must be handled with absolute care and are not normally needed, such as {{{bodystyle}}}.

{{{name}}}
[[File:{{{logo}}}|300x64px|alt={{{logo alt}}}|{{{logo caption}}}]]
{{{logo caption}}}
[[File:{{{screenshot}}}|{{{screenshot size}}}|alt={{{screenshot alt}}}|{{{caption}}}]]
{{{caption}}}
نام‌های دیگر {{{other_names}}}
نویسنده(های) اصلی {{{author}}}
توسعه‌دهنده(ها) {{{developer}}}
انتشار ابتدایی {{{released}}}
نسخهٔ پایدار
{{{latest release version}}} / {{{latest release date}}}
نسخهٔ نمایشی
{{{latest preview version}}} / {{{latest preview date}}}
مخزن {{{repo}}}
نوشته‌شده توسط {{{programming language}}}
موتور {{{engine}}}
سیستم‌عامل {{{operating system}}}
سکو {{{platform}}}
همراه با {{{included with}}}
Replaces {{{replaces}}}
Replaced by {{{replaced_by}}}
Service name {{{service_name}}}
حجم {{{size}}}
استاندارد(ها) {{{standard}}}
در دسترس به {{{language count}}} زبان{{{language footnote}}}
گونه {{{genre}}}
پروانه {{{license}}}
رتبهٔ الکسا {{{alexa}}}
وبگاه {{{website}}}
از تاریخ {{{AsOf}}}
{{Infobox software
| name = 
| logo = <!-- Image name is enough. -->
| logo alt = 
| logo caption = 
| screenshot = <!-- Image name is enough. -->
| screenshot size =
| screenshot alt = 
| caption = 
| collapsible = <!-- Any text here will collapse the screenshot. -->
| author = 
| developer = 
| released = <!-- {{تاریخ آغاز و سن|YYYY|MM|DD|df=yes/no}} -->
| discontinued = <!-- Set to yes if software is discontinued, otherwise omit. -->
| ver layout = <!-- simple (default) or stacked -->
| latest release version = 
| latest release date = <!-- {{تاریخ آغاز و سن|YYYY|MM|DD|df=yes/no}} -->
| latest preview version = 
| latest preview date = <!-- {{تاریخ آغاز و سن|YYYY|MM|DD|df=yes/no}} -->
| repo = <!-- {{نشانی وب|example.org}} -->
| programming language = 
| engine = <!-- or engines -->
| operating system = 
| platform = 
| included with = 
| size = 
| language = 
| language count = <!-- Number only -->
| language footnote = 
| genre = 
| license = 
| alexa = 
| website = <!-- {{نشانی وب|example.org}} -->
| standard = 
| AsOf = 
}}

Example

GIMP
The GIMP icon - gnome.svg
GIMP version 2.6
GIMP version 2.6
نویسنده(های) اصلی Spencer Kimball, Peter Mattis
توسعه‌دهنده(ها) The GIMP Development Team
انتشار ابتدایی ۲ ژوئن ۱۹۹۸؛ ۲۱ سال پیش (۱۹۹۸-۰۶-02)
نسخهٔ پایدار
2.6.12 / ۶ فوریه ۲۰۱۲؛ ۷ سال پیش (۲۰۱۲-۰۲-06)
نسخهٔ نمایشی
2.8.0 RC1 / ۱۰ آوریل ۲۰۱۲؛ ۷ سال پیش (۲۰۱۲-۰۴-10)
مخزن git.gnome.org/browse/gimp/
نوشته‌شده توسط سی (زبان برنامه‌نویسی) and جی‌تی‌کی
سیستم‌عامل لینوکس, مک‌اواس, مایکروسافت ویندوز, فری‌بی‌اس‌دی, سولاریس (سیستم‌عامل), AmigaOS 4
حجم 19.96 مگابایت
در دسترس به 80 زبان[۱]
گونه ویرایشگر گرافیک
پروانه پروانه عمومی همگانی گنو
وبگاه www.gimp.org
{{Infobox software
| name = GIMP
| logo = The GIMP icon - gnome.svg
| logo caption = 
| screenshot = GIMP-main window.png
| caption = GIMP version 2.6
| collapsible = 
| author = [[Spencer Kimball (computer programmer)|Spencer Kimball]], [[Peter Mattis]]
| developer = The GIMP Development Team
| released = {{تاریخ آغاز و سن|1998|6|2|df=yes}}
| discontinued = 
| latest release version = 2.6.12
| latest release date = {{تاریخ آغاز و سن|2012|02|06|df=yes}}
| latest preview version = 2.8.0 RC1
| latest preview date = {{تاریخ آغاز و سن|2012|04|10|df=yes}}
| repo = {{نشانی وب|https://git.gnome.org/browse/gimp/}}
| programming language = [[سی (زبان برنامه‌نویسی)]] and [[جی‌تی‌کی]]
| operating system = [[لینوکس]], [[مک‌اواس]], [[مایکروسافت ویندوز]], [[فری‌بی‌اس‌دی]], [[سولاریس (سیستم‌عامل)]], [[AmigaOS 4]]
| platform = 
| size = 19.96 [[مگابایت]]
| language count = 80
| language footnote = <ref>{{cite web|url=http://l10n.gnome.org/module/gimp/ |title=GNOME GIMP translation statistics, see GIMP 2.6}}</ref>
| language = Amharic, Arabic, Asturian, Azerbaijani, Basque, Belarusian, Bosnian, Brazilian Portuguese, Breton, British English, Bulgarian, Burmese, Canadian English, Catalan (Valencian), Catalan, Chinese (China), Chinese (Hong Kong), Chinese (Taiwan), Croatian, Czech, Danish, Dutch, Dzongkha, Esperanto, Estonian, Finnish, French, Galician, Georgian, German, Greek, Gujarati, Hebrew, Hindi, Hungarian, Icelandic, Indonesian, Irish, Italian, Japanese, Kannada, Kashubian, Kazakh, Khmer, Kinyarwanda, Kirghiz, Korean, Latvian, Lithuanian, Low German, Macedonian, Malay, Malayalam, Nepali, Norwegian Bokmål, Norwegian Nynorsk, Occitan, Persian, Polish, Portuguese, Punjabi, Romanian, Russian, Scottish Gaelic, Serbian, Serbian Latin, Sinhala, Slovak, Slovenian, Spanish, Swedish, Tamil, Tatar, Telugu, Thai, Turkish, Ukrainian, Vietnamese, Xhosa, Yiddish
| genre = [[ویرایشگر گرافیک]]
| license = [[پروانه عمومی همگانی گنو]]
| alexa = 
| website = {{نشانی وب|https://www.gimp.org/}}
}}

  1. "GNOME GIMP translation statistics, see GIMP 2.6".

Conditional formatting parameters

The following shows the effect of three parameters which change the formatting of certain infobox fields: |collapsible=, |discontinued=, |ver layout=.

GIMP
The GIMP icon - gnome.svg
چرخه حیات نرم‌افزار
2.6.12 / ۶ فوریه ۲۰۱۲؛ ۷ سال پیش (۲۰۱۲-۰۲-06)
چرخه حیات نرم‌افزار
2.8.0 RC1 / ۱۰ آوریل ۲۰۱۲؛ ۷ سال پیش (۲۰۱۲-۰۴-10)
{{Infobox software
| name = GIMP
| logo = The GIMP icon - gnome.svg
| screenshot = GIMP-main window.png
| caption = GIMP version 2.6
| collapsible = yes
| ver layout = stacked
| discontinued = yes
| latest release version = 2.6.12
| latest release date = {{تاریخ آغاز و سن|2012|02|06|df=yes}}
| latest preview version = 2.8.0 RC1
| latest preview date = {{تاریخ آغاز و سن|2012|04|10|df=yes}}
}}

Parameters

All parameters are optional.

name
Name of the infobox. Can affect the title of the infobox but its primary use is to help retrieve release data from outside the article. In such cases, if you want to edit the title at the top of the infobox, use the |title= parameter instead.
Attention: Please do not include a راهنما:فهرست/پیوندها, ابرپیوند or image in this parameter. This parameter should be composed of pure text.
bodystyle
CSS styling for the infobox as a whole
title
Name of the software product as displayed above the infobox. When not specified, contents of |name= parameter will be displayed instead.
Important note: Please do not include an image in this field. Wikipedia دسترس‌پذیری requirements mandates that this field should contain text that can be read by صفحه‌خوانs.
logo
Code for a small image to be displayed as software product's نشان‌واره or نقشک. You may specify a file name, with or without namespace prefix. In other words, the following examples are all acceptable:
The GIMP icon - gnome.svg
File:The GIMP icon - gnome.svg
logo size
Size of the logo. Defaults to 64px.
logo caption
Caption of the logo that appears below it. Should not be used to provide trivial captions, such as "This is the logo of X", which is automatically assumed. Reserved for special cases when a description beyond telling the obvious is needed, or for inserting {{ffdc}} or {{deletable image-caption}}.
logo alt
ویکی‌پدیا:متن جایگزین برای تصاویر of the logo; very important.
screenshot
Code for an image to be displayed as software product's نماگرفت. You may specify a file name, with or without namespace prefix. In other words, the following examples are all acceptable:
GIMP screenshot.png
File:GIMP screenshot.png
caption
A caption for screenshot that appears below it. Please include this parameter only when there is an image to display.
screenshot size
Size of the screenshot. Defaults to 300px.
screenshot alt
ویکی‌پدیا:متن جایگزین برای تصاویر of the screenshot; very important. Defaults to image caption.
collapsible
Whether this screenshot is by default hidden and is only shown when user clicks on a minuscule "Expand" button. Can be set to "yes". Especially useful in case of long vertical screenshot
author
Name of the original author(s) or publisher(s) of the software product. It can be either an individual or an organization/business. Most of the times, it only needs to be specified when |developer= field is populated.
developer
Name of the current developer of the software product. It can be either an individual or an organization/business.
released
The date in which version 1.0 (or closely-matching release) of the software product in question reaches its چرخه حیات نرم‌افزار (RTM) stage. In case the article is about a specific major release of a software product (for instance اینترنت اکسپلورر ۸ or Microsoft Office 2007), this field should contain the date in which that specific major release reached RTM stage. In case the software product is still in development and has not reached its RTM stage, please ignore this field; do not use this field to specify the release date of the first preview/test release of the software product; there is already another parameter for that use.
The content of this field should look like the following:
{{Start date and age|year|month|day}}
In case the article uses DMY as date format, use this code instead:
{{Start date and age|year|month|day|df=yes}}
If you are unsure which date format to use, please consult ویکی‌پدیا:شیوه‌نامه/تاریخ‌ها و اعداد.
discontinued
Whether this product is no longer being developed, thus changing the phrase "Latest release" in the infobox to "Last release". For technical reasons, anything for this parameter has the same effect, be it "yes", "no" or anything else. To nullify the effect of this parameter, you need to omit it.
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. Additionaly, "stacked" could automately generate an edit link at the header to allow editors to update the version number.
latest release version
The version number of the latest release of the software product. Please observe the following examples:
Example #1: If the article is about a product called Example Software whose latest version is 1.5, specify:
1.5
Example #2: If the article is about a product called Example Software whose latest release is called Example Software 2008 and whose latest version number is 12.2, specify:
2008 (12.2)
Example #3: If the article is about Famous Example Software 2010, which is a significant release of a product called Famous Example Software and whose latest version number is 14.0.0.25, just specify:
14.0.0.25
Example #4: If the article is about Famous Example Software 2010 for which no update is released since its initial release-to-manufacturing (RTM), please omit this parameter unless there is an evidence that it is necessary for the reader to know this number. One reason would be the presence of preview releases of the software product which can only be distinguished from the RTM by their version number.
latest release date depends on this parameter.
latest release date
The release date of the latest released version. If no update is released for the software since its initial release, please omit this field; filling in the released field would be enough. The content of this field should look like the following:
{{Start date and age|year|month|day}}
In case the article uses DMY as date format, use this code instead:
{{Start date and age|year|month|day|df=yes}}
If you are unsure which date format to use, please consult ویکی‌پدیا:شیوه‌نامه/تاریخ‌ها و اعداد.
This parameter only works when a latest release version is present.
latest preview version
The version number of the latest preview version or development branch. Should only be specified when development of a new version of the software product in question (newer than one specified in latest release version) is in progress. Please consult descriptions for latest release version provided above for best practices of specifying this parameter.
latest preview date
Specifies the release date of the latest preview version or development branch. Should only be specified when development of a new version of the software product in question (newer than one specified in latest release version) is in progress. Please consult descriptions for latest release date provided above for best practices of specifying this parameter.
programming language
The زبان برنامه‌نویسی of that subject of the article. If the program language of the software product has a corresponding article in Wikipedia, please link to it. Here is an example:
Code: [[سی پلاس‌پلاس]] and [[سی شارپ]]
Result: سی پلاس‌پلاس and سی شارپ
When specifying the name of the programming language please make sure that you ویکی‌پدیا:تأییدپذیری. Unreferenced assertions in Wikipedia may be challenged or removed. If you do not have a source, do not include this parameter.
engine
موتور نرم‌افزاری that is used by this software. In absence of this parameter, infobox attempts to acquire the موتور نرم‌افزاری (P408) from Wikidata. This parameter overrides the Wikidata engine.
engines
List of software engines, if multiple are used.
operating system
The سیستم‌عامل on which the given software product works. Please be as accurate as possible but also be mindful of the length and avoid specifying vague phrases such as "چندسکویی", "چندسکویی", "all" or "none". If the project is a برنامه کاربردی وب or if only an OS-agnostic کد منبع is released, ignore. Please consider these examples:
  • If the software product works on all incarnations of یونیکس, لینوکس and derived operating systems, please specify:
    • [[شبه‌یونیکس]]
  • If the software works unconditionally on ALL incarnations of مایکروسافت ویندوز, please specify:
    • [[مایکروسافت ویندوز]] or [[مایکروسافت ویندوز]]
  • If the software product works only on ویندوز اکس‌پی and all subsequent releases of Microsoft Windows, please specify:
    • [[ویندوز اکس‌پی]] and later
  • If the software product works only on ویندوز اکس‌پی and all subsequent releases of consumers versions of Microsoft Windows, please specify:
    • [[ویندوز اکس‌پی]], [[ویندوز ویستا]], [[ویندوز ۷]] and [[ویندوز ۸]]
      (At the time of this writing, February 2013, Windows 8 was the latest consumers release of Microsoft Windows.)
  • If the software product is released for various families of different operating systems, (such as specific versions of BSD, Linux, macOS and Microsoft Windows) so that listing them in the infobox gives it undue length, please leave the details to article body and specify:
    • [[بی‌اس‌دی]], [[لینوکس]], [[مک‌اواس]] and [[مایکروسافت ویندوز]]
platform
The سکوی رایانش on which the product runs. You might like to include the following information:
Please avoid specifying vague phrases such as "چندسکویی" unless the following conditions meet:
  1. The software product has been released for numerous different platforms, so much so that including all of them causes the infobox size to grow unduly large.
  2. The article body lists the platforms under which the product runs.
If the above do not meet, then specifying such a vague phrase is the same as not specifying it.
included with
Products (devices and operating systems) that come preloaded with this browser.
size
Size of the installer package. Only applies to software products that are available via download. For products distributed physically in boxes or other packages, ignore this parameter. Do not forget to include your unit of measurements (i.e. Kilobytes, megabytes or gigabytes).
Note: Use a فاصله نشکن ("&nbsp;") to prevent numbers and units of measurements from separating when "word wrapping" occurs. You can also use {{Nowrap}} template to produce the same effect.
Observe the following examples:
  • 760&nbsp;KB → 760 KB
  • 32&nbsp;MB → 32 MB
  • {{Nowrap|842 KB}}842 KB
  • {{Nowrap|48.5 MB}}48.5 MB
For more information, visit ویکی‌پدیا:شیوه‌نامه/تاریخ‌ها و اعداد
language
Lists the natural languages in which the software product user interface can interact with user. Please do not supply "Multilingual" or such vague phrases which do not add to the knowledge of the reader. Also please do not wikilink the name of languages: Readers are most likely unwilling to read about those languages. For a comprehensive list of items that should not be generally linked to, see Wikipedia:Manual of Style/Linking § What generally should not be linked. A large list of languages can disrupt the natural flow of the article. When the list of languages grows large, consider one of the following measures:
  • Use |language count= parameter in conjunction with this parameter. This will allow the list of languages to be hidden and revealed with the click of a mouse. This method is not printer-friendly: A collapsed list does not appear on print and an expanded list may disrupt the natural flow of the article.
  • Add a link to a section of the article which lists languages. Please keep the link printer-friendly. For example, instead of "[[#Localization|Click here to see the list of languages]]", consider "35 languages; see [[#Localization|§ Localization]]". This solution is useful when the inclusion of a list of languages is important or when the localization of the subject of the article is discussed.
  • Ignore this parameter and use |language count= and |language footnote= instead. This approach is useful when the article is short and inclusion of the list of languages is unwanted or contested.
language count
Number of natural languages in which the software product user interface can interact with user. Please supply a number only. Don't use this parameter if the list of languages includes less than five entries. (Please see: Wikipedia:Manual of Style/Dates and numbers § Numbers)
If both |language= and |language count= parameters are present, the value of |language= will be collapsed under "List of languages" title.
language footnote
Use this parameter to supply citation on available translations, especially when |language= is not specified. Use of this parameter is not mandatory, as long as appropriate citation information is attached to the text. For instance, citation information may be attached to text itself in the article body or |language=, especially when there are more than one source for it information given. (E.g. when one source includes full translations and another includes partial translations; or when one source specifies the translations of one given version and another discusses what is added to that version after an update.) As a general rule, avoid citing automatically generated reports, statements about development versions or other sources of time-sensitive information.
genre
Type of program. Should be wikilinked to an article such as سامانه اطلاعات جغرافیایی. For more information, consult List of software categories. Please do not use this field to briefly describe the role and function of the subject of the article. For example, instead of "SVG creator, editor and converter", consider using "Vector graphics editor". Instead of "PDF creator, editor, converter and viewer", consider using "نشر رومیزی". Instead of "DWG creator/editor", consider using "طراحی به کمک رایانه".
license
Type of the software license under which the consumer is allowed to use the product. You may specify it in two forms:
Please avoid specifying phrases that makes no sense to the unfamiliar reader such as "Microsoft EULA", "Adobe End-User License Agreement" or "Symantec Terms of License", etc. (Always bear in mind that you are writing the article for those who do not know about the subject and come to the article to gain knowledge. You are not writing Wikipedia articles for your fellow contributors or editors who already know.)
licence
Same as |license=. 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.
alexa
The website's current الکسا اینترنت ranking (find on Alexa.com; make sure to cite Alexa's page for this info.)
  • Put {{Increase}} () OR {{Steady}} (بی‌تغییر) OR {{Decrease}} () BEFORE the ranking number to indicate the change of ranking compared with the previous month.
  • Mention the date of putting the ranking number AFTER the ranking number. Put the date in parenthesis, for example: (July 2012). If you update the ranking number, update the date as well.
  • At User talk:Riley Huntley/AlexaBot.js you can request that a bot will monthly update the rank.
website
The web site URL of the software package. This URL must be readable in print. Therefore, you should use {{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 from 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. This is useful for articles with several infoboxes, to avoid repeating one Wikidata link.
repo
The online مخزن (کنترل نسخه), if available. For example, the sourceforge or github project page. As with the website parameter, this should use the {{URL}} template. In the absence of this parameter, infobox attempts to acquire the repository link from Wikidata. This parameter overrides the Wikidata link.
standard
استاندارد of the subject of the article adheres.
AsOf
A pseudo-parameter populated by bots and users tending to maintenance categories. The intricacies of this parameter are not included here. If you don't know what it does, please do not touch.

Moving release data outside the article

The subject's latest release version, latest release date, latest preview version and latest preview date can be moved outside the article. Users visiting the article may click the version number or "[±]" link 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).

Note, however, that if |latest release version= or |latest preview version= parameters are explicitly specified, the infobox does not look for external sources. (This can be useful if, for example, the preview version is frequently updated, but the release version is not.)

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 |latest release version=, |latest release date=, |latest preview version= or |latest preview date= parameters from the corresponding infobox.
  4. Save the article. Changes to release information may take a few minutes to be reflected in the article when reloaded; wait a while before concluding that you have made an error.

Microformat

The HTML mark up produced by this template includes an hCalendar microformat, which makes the event details تجزیه‌کننده 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"


TemplateData

Tracking categories

See also

Compatible derivatives

Related