|
|
第1行: |
第1行: |
| {{Documentation subpage}} | | {{documentation subpage}} |
| <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
| | {{high-use}} |
| {{High-use}} | | {{Intricate template}} |
| {{Lua|Module:InfoboxImage|Module:Check for unknown parameters}} | | {{Lua|Module:Infobox|Module:InfoboxImage|Module:String|Module:Check for unknown parameters}} |
| {{Uses Wikidata|P856|P1324|P408}} | | {{Uses Wikidata|P275|P408|P856|P1324|P348|P577|P548|P400}} |
|
| |
|
| == 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 <code>=</code> signs. Removing [[HTML element#Comments|HTML comments]] (<code><!-- anything --></code>) 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 {{param|bodystyle}}.
| | 选择性地複製以下空白原始碼,并将其放在軟體條目頁面的頂端。 |
| | {{Parameter names example|name|logo|logo alt|logo caption|screenshot|screenshot size|screenshot alt|caption|author|developer|released|latest release|programming language|engine|operating system|platform|included with|size|language count|language|language footnote|genre|license|website|repo|standard|AsOf|other_names|replaces|replaced_by|service_name|middleware}} |
|
| |
|
| {{Parameter names example|name|logo|logo alt|logo upright|logo size|logo caption|screenshot|screenshot upright|screenshot size|screenshot alt|caption|other_names|author|developer|released|ver layout|discontinued|latest release version|latest release date|latest preview version|latest preview date|repo|qid|programming language|middleware|engine|operating system|platform|included with|replaces|replaced_by|service_name|size|language count|language|language footnote|genre|license|website|standard|AsOf}}
| | <syntaxhighlight lang="wikitext" style="overflow: auto;"> |
| | |
| <syntaxhighlight lang="wikitext" style="overflow:auto;"> | |
| {{Infobox software | | {{Infobox software |
| | title = <!-- defaults to {{PAGENAMEBASE}} --> | | | name = |
| | logo = <!-- File name without 'File:' --> | | | logo = <!-- 只填图片名 --> |
| | logo caption =
| | | logo alt = |
| | logo alt = | | | logo caption = |
| | logo upright = | | | screenshot = <!-- 只填图片名 --> |
| | logo size = | | | screenshot-hans = <!-- 圖片分為簡繁兩版時,填寫簡體版圖片名 --> |
| | collapsible = <!-- Any text here will collapse the screenshot. -->
| | | screenshot-hant = <!-- 圖片分為繁簡兩版時,填寫繁體版圖片名 --> |
| | screenshot = <!-- File name without 'File:' --> | | | screenshot size = |
| | screenshot upright = | | | screenshot alt = |
| | screenshot size = | | | caption = |
| | screenshot alt = | | | collapsible = <!-- 填写任意文本均会折叠截图,只允許「screenshot」或「screenshot-hans」、「screenshot-hant」參數是自由版權時才能隱藏截圖 --> |
| | caption = | | | author = |
| | other_names = | | | developer = |
| | author =
| | | released = <!-- {{Start date and age|YYYY|MM|DD}} --> |
| | developer =
| | | repo = <!-- {{URL|example.org}} 如果留空,会自动从wikidata填充 --> |
| | released = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->
| | | programming language = |
| | ver layout = <!-- simple (default) or stacked -->
| | | middleware = |
| | discontinued = <!-- Set to yes, if software is discontinued, otherwise omit. --> | | | engine = <!-- 或 engines 如果留空,会自动从wikidata填充--> |
| | latest release version = | | | operating system = |
| | latest release date = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} --> | | | platform = |
| | latest preview version =
| | | included with = |
| | latest preview date = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->
| | | size = |
| | repo = <!-- {{URL|example.org}} --> | | | language = |
| | qid =
| | | language count = <!-- 仅数字 --> |
| | programming language = | | | language footnote = |
| | middleware = | | | genre = |
| | engine = <!-- or |engines= --> | | | license = <!-- 如果留空,会自动从wikidata填充 --> |
| | operating system = | | | website = <!-- {{URL|example.org}} 如果留空,会自动从wikidata填充 --> |
| | platform = | | | standard = |
| | included with = | | | AsOf = |
| | replaces =
| | | latest release = <!-- 如果留空,会自动从wikidata填充 --> |
| | replaced_by =
| | | latest release qid = <!-- latest release使用的wikidata的Q标识符,默认为条目对应的Q标识符 --> |
| | service_name =
| | | hide latest release = <!-- 是否隐藏latest release,默认为no --> |
| | size = | | | discontinued = <!-- 如果软件已停产,则设为“yes”,否则省略 --> |
| | standard =
| |
| | language = | |
| | language count = <!-- Number only --> | |
| | language footnote = | |
| | genre = | |
| | license = <!-- or |licence= --> | |
| | website = <!-- {{URL|example.org}} or {{official URL}} --> | |
| | AsOf = | |
| | module = <!-- Used to embed other templates --> | |
| }} | | }} |
| </syntaxhighlight> | | </syntaxhighlight> |
| {{Clear}} | | {{Clear}} |
|
| |
|
| == Example == | | == 範例 == |
| {{hatnote|The following markup is included '''only for illustration purposes'''. It is not intended to provide up-to-date information about [[GIMP]] software and should not be updated for the sake of '''truth'''.}} | | {{Infobox software |
| | | name = Example: Yoyodyne |
| | | logo = |
| | | screenshot = [[File:Yoyo patent 1866.png|200px]] |
| | | caption = Yoyodyne v0.9 截圖 |
| | | developer = Yoyodyne Industries Inc. |
| | | released = {{Start date and age|1911}} |
| | | latest release = 0.9({{Start date and age|2006|01|01}}) |
| | | operating system = [[Unix-like]] |
| | | size = 25 [[Megabyte|MB]] |
| | | genre = Yoyonics |
| | | license = [[GNU General Public License]] |
| | | website = {{URL|www.example.org}} |
| | }} |
|
| |
|
| {{demo|reverse=1|<nowiki>{{Infobox software
| | <syntaxhighlight lang="wikitext" style="overflow:auto;"> |
| | title = GIMP | | {{Infobox Software |
| | logo = The GIMP icon - gnome.svg | | | name = Example: Yoyodyne |
| | screenshot = GIMP 2.10.jpg | | | logo = |
| | caption = GIMP version 2.10 | | | screenshot = [[File:Yoyo patent 1866.png|200px]] |
| | author = [[Spencer Kimball (computer programmer)|Spencer Kimball]], [[Peter Mattis]]
| | | caption = Yoyodyne v0.9 screenshot |
| | developer = GIMP Development Team | | | developer = Yoyodyne Industries Inc. |
| | released = {{Start date and age|1998|06|02|df=yes}} | | | released = {{Start date|1911}} |
| | latest release version = {{wikidata|property|preferred|references|edit|Q8038|P348|P548=Q2804309}} | | | latest release = 0.9({{Start date and age|2006|01|01}}) |
| | latest release date = {{wikidata|qualifier|preferred|single|Q8038|P348|P548=Q2804309|P577}}
| | | operating system = [[Unix-like]] |
| | latest preview version = {{wikidata|property|preferred|references|edit|Q8038|P348|P548=Q51930650}}
| | | size = 25 [[Megabyte|MB]] |
| | latest preview date = {{wikidata|qualifier|preferred|single|Q8038|P348|P548=Q51930650|P577}}
| | | genre = Yoyonics |
| | repo = {{URL|https://gitlab.gnome.org/GNOME/gimp}}
| | | license = [[GNU General Public License]] |
| | programming language = [[C (programming language)|C]]
| | | website = {{URL|www.example.org}} |
| | operating system = [[Linux]], [[macOS]], [[Windows]], [[FreeBSD]], [[Solaris (operating system)|Solaris]], [[AmigaOS 4]] | | }} |
| | language count = 82 | | </syntaxhighlight> |
| | language footnote = <ref>{{cite web |url=https://l10n.gnome.org/module/gimp/ |title=Module Statistics: gimp |website=l10n.gnome.org |publisher=[[GNOME Project]] |access-date=7 March 2022}}</ref>
| |
| | language = [[Amharic]], [[Arabic]], [[Asturian language|Asturian]], [[Azerbaijani language|Azerbaijani]], [[Basque language|Basque]], [[Belarusian language|Belarusian]], [[Bosnian language|Bosnian]], [[Brazilian Portuguese]], [[Breton language|Breton]], [[British English]], [[Bulgarian language|Bulgarian]], [[Burmese language|Burmese]], [[Canadian English]], [[Catalan language|Catalan]], [[Central Kurdish]], [[Chinese language|Chinese (China)]], [[Chinese language|Chinese (Hong Kong)]], [[Chinese language|Chinese (Taiwan)]], [[Croatian language|Croatian]], [[Czech language|Czech]], [[Danish language|Danish]], [[Dutch language|Dutch]], [[Dzongkha]], [[Esperanto]], [[Estonian language|Estonian]], [[Finnish language|Finnish]], [[French language|French]], [[Galician language|Galician]], [[Georgian language|Georgian]], [[German language|German]], [[Greek language|Greek]], [[Gujarati language|Gujarati]], [[Hebrew language|Hebrew]], [[Hindi]], [[Hungarian language|Hungarian]], [[Icelandic language|Icelandic]], [[Indonesian language|Indonesian]], [[Irish language|Irish]], [[Italian language|Italian]], [[Japanese language|Japanese]], [[Kabyle language|Kabyle]], [[Kannada]], [[Kashubian language|Kashubian]], [[Kazakh language|Kazakh]], [[Khmer language|Khmer]], [[Kinyarwanda]], [[Kyrgyz language|Kirghiz]], [[Korean language|Korean]], [[Latvian language|Latvian]], [[Lithuanian language|Lithuanian]], [[Low German]], [[Macedonian language|Macedonian]], [[Malay language|Malay]], [[Malayalam]], [[Marathi language|Marathi]], [[Nepali language|Nepali]], [[Bokmål|Norwegian (Bokmål)]], [[Nynorsk|Norwegian (Nynorsk)]], [[Occitan language|Occitan]], [[Persian language|Persian]], [[Polish language|Polish]], [[Portuguese language|Portuguese]], [[Punjabi language|Punjabi]], [[Romanian language|Romanian]], [[Russian language|Russian]], [[Scottish Gaelic]], [[Serbian language|Serbian (Cyrillic script)]], [[Serbian language|Serbian (Latin script)]], [[Sinhala language|Sinhala]], [[Slovak language|Slovak]], [[Slovene language|Slovene]], [[Spanish language|Spanish]], [[Swedish language|Swedish]], [[Tamil language|Tamil]], [[Tatar language|Tatar]], [[Telugu language|Telugu]], [[Thai language|Thai]], [[Turkish language|Turkish]], [[Ukrainian language|Ukrainian]], [[Valencian language|Valencian]], [[Vietnamese language|Vietnamese]], [[Xhosa language|Xhosa]], [[Yiddish]] | |
| | genre = [[Raster graphics editor]] | |
| | license = [[GNU General Public License|GPL-3.0-or-later]] | |
| | website = {{URL|https://www.gimp.org/|gimp.org}} | |
| }}</nowiki>}}
| |
| {{Reflist}}
| |
| {{Clear}}
| |
| | |
| === Conditional formatting parameters ===
| |
| The following shows the effect of three parameters which change the formatting of certain infobox fields: {{para|collapsible}}, {{para|discontinued}}, {{para|ver layout}}.
| |
| | |
| {{demo|reverse=1|<nowiki>{{Infobox software
| |
| | title = GIMP
| |
| | logo = The GIMP icon - gnome.svg
| |
| | screenshot = GIMP 2.10.jpg
| |
| | caption = GIMP version 2.10
| |
| | collapsible = yes
| |
| | ver layout = stacked
| |
| | discontinued = yes
| |
| | latest release version = {{wikidata|property|preferred|references|edit|Q8038|P348|P548=Q2804309}}
| |
| | latest release date = {{wikidata|qualifier|preferred|single|Q8038|P348|P548=Q2804309|P577}}
| |
| | latest preview version = {{wikidata|property|preferred|references|edit|Q8038|P348|P548=Q51930650}}
| |
| | latest preview date = {{wikidata|qualifier|preferred|single|Q8038|P348|P548=Q51930650|P577}}
| |
| }}</nowiki>}}
| |
| {{Reflist}}
| |
| {{Clear}}
| |
|
| |
|
| == Parameters == | | == 參數 == |
| All parameters are optional.
| | {{TemplateDataHeader}} |
| ; bodystyle
| |
| : CSS styling for the infobox as a whole
| |
| ; title
| |
| : Name of the software as displayed above the infobox. Defaults to <syntaxhighlight lang="wikitext" inline>{{PAGENAMEBASE}}</syntaxhighlight>
| |
| ; logo
| |
| : Code for a small image to be displayed as the [[logo]] or [[computer icon]] of the software. 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 upright
| |
| : Scaling size factor of the logo. This allows the size of the logo to be controlled by a multiple of the user thumbnail size preference. For examples, see [[MOS:UPRIGHT]].
| |
| ; logo size
| |
| : Size of the logo.
| |
| ; 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 {{tl|ffdc}} or {{tl|deletable image-caption}}.
| |
| ; logo alt
| |
| : [[WP:ALTTEXT|Alternative text]] of the logo; very important.
| |
| ; 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
| |
| ; screenshot
| |
| : Code for an image to be displayed as a [[screenshot]] of the software. 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
| |
| ; screenshot upright
| |
| : Scaling size factor of the screenshot. This allows the size of the screenshot to be controlled by a multiple of the user thumbnail size preference.
| |
| ; screenshot size
| |
| : Size of the screenshot.
| |
| ; screenshot alt
| |
| : [[WP:ALTTEXT|Alternative text]] of the screenshot; very important. Defaults to image caption.
| |
| ; caption
| |
| : A caption for screenshot that appears below it. Please include this parameter only when there is an image to display.
| |
| ; other_names
| |
| : Other names for the software.
| |
| ; author
| |
| : Name of the original author(s) or publisher(s) of the software. It can be an individual or organization. Most of the time, it only needs to be specified when {{para|developer}} field is populated.
| |
| ; developer
| |
| : Name of the current developer of the software. It can be an individual or organization.
| |
| ; released
| |
| : The date in which version 1.0 (or closely-matching release) of the software in question reaches its [[release to manufacturing]] (RTM) stage. In case the article is about a specific major release of a piece of software (for instance [[Internet Explorer 8]] or [[Microsoft Office 2007]]), this field should contain the date in which that specific major release reached RTM stage. In case the software 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; there is already another parameter for that use.
| |
| :The content of this field should look like the following:
| |
| ::{{tlx|Start date and age|''year''|''month''|''day''}}
| |
| :In case the article uses DMY as date format, use this code instead:
| |
| ::{{tlx|Start date and age|''year''|''month''|''day''|df=yes}}
| |
| :If you are unsure which date format to use, please consult [[WP:MOSDATES]].
| |
| ; 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. Additionally, "stacked" could automately generate an edit link at the header to allow editors to update the version number.
| |
| ; discontinued
| |
| : Whether this software 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.
| |
| ; latest release version
| |
| : The version number of the latest release of the software. Please observe the following examples:
| |
| :* Example #1: If the article is about ''Example Software'' whose latest version is 1.5, specify:
| |
| :*:1.5
| |
| :* Example #2: If the article is about ''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 ''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 which can only be distinguished from the RTM by their version number.
| |
| :<code>latest release date</code> 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 <code>released</code> field would be enough. The content of this field should look like the following:
| |
| ::{{tlx|Start date and age|''year''|''month''|''day''}}
| |
| :In case the article uses DMY as date format, use this code instead:
| |
| ::{{tlx|Start date and age|''year''|''month''|''day''|df=yes}}
| |
| :If you are unsure which date format to use, please consult [[WP:MOSDATES]].
| |
| :This parameter only works when a <code>latest release version</code> 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 in question (newer than one specified in <code>latest release version</code>) is in progress. Please consult descriptions for <code>latest release version</code> 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 in question (newer than one specified in <code>latest release version</code>) is in progress. Please consult descriptions for <code>latest release date</code> provided above for best practices of specifying this parameter.
| |
| ; repo
| |
| : The online [[Repository (version control)|source code repository]], if available. For example, the sourceforge or github project page. As with the <code>website</code> parameter, this should use the {{tl|URL}} template. In the absence of this parameter, infobox attempts to acquire the repository link from Wikidata. This parameter overrides the Wikidata link.
| |
| ; qid
| |
| : Q-identifier from Wikidata.
| |
| ; programming language
| |
| : The [[programming language]] of that subject of the article. If the program language of the software has a corresponding article in Wikipedia, please link to it. Here is an example:
| |
| ::Code: <syntaxhighlight lang="wikitext" inline>[[C++]] and [[C Sharp (programming language)|C#]]</syntaxhighlight>
| |
| ::Result: [[C++]] and [[C Sharp (programming language)|C#]]
| |
| :When specifying the name of the programming language please make sure that you [[WP:V|cite your source]]. Unreferenced assertions in Wikipedia may be challenged or removed. If you do not have a source, do not include this parameter.
| |
| ; middleware
| |
| : Middleware for the software.
| |
| ; engine
| |
| : [[Software engine]] that is used by this software. In absence of this parameter, infobox attempts to acquire the {{Wikidata property link|P408}} from Wikidata. This parameter overrides the Wikidata engine.
| |
| ; engines
| |
| : List of software engines, if multiple are used.
| |
| ; operating system
| |
| : The [[operating system]] on which the given software works. Please be as accurate as possible but also be mindful of the length and avoid specifying vague phrases such as "[[Cross-platform]]", "[[Multi-platform]]", "all" or "none". If the project is a [[web app]] or if only an OS-agnostic [[source code]] is released, ignore. Please consider these examples:
| |
| :*If the software works on all incarnations of [[Unix]], [[Linux]] and derived operating systems, please specify:
| |
| :**<syntaxhighlight lang="wikitext" inline>[[Unix-like]]</syntaxhighlight>
| |
| :*If the software works unconditionally on ALL incarnations of [[Microsoft Windows]], please specify:
| |
| :**<syntaxhighlight lang="wikitext" inline>[[Microsoft Windows]]</syntaxhighlight> or simply <syntaxhighlight lang="wikitext" inline>[[Windows]]</syntaxhighlight>
| |
| :*If the software works only on [[Windows XP]] and all subsequent releases of Microsoft Windows, please specify:
| |
| :**<syntaxhighlight lang="wikitext" inline>[[Windows XP]] and later</syntaxhighlight>
| |
| :*If the software 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:
| |
| :**<syntaxhighlight lang="wikitext" inline>[[BSD]], [[Linux]], [[macOS]] and [[Microsoft Windows]]</syntaxhighlight>
| |
| ; platform
| |
| : The [[computing platform]] on which the software runs. You might like to include the following information:
| |
| :*'''Processor architecture:''' Some software runs on a certain processor architecture such as [[IA-32]] (also known as ''x86'' an ''i386''), [[x86-64]] (also known as ''x64'', ''AMD64'' and ''EM64T''), [[Itanium]], [[ARM architecture family|ARM]] and [[MIPS architecture|MIPS]].
| |
| :*'''Software frameworks:''' Some software runs on [[Java (software platform)|Java platform]], [[.NET Framework]], [[Adobe Flash]], [[Adobe AIR]], [[Microsoft Silverlight]] or [[XUL]] without regard to the processor architecture. If so, you may ignore processor architecture and instead specify the framework.
| |
| :Please avoid specifying vague phrases such as "[[cross-platform]]" unless the following conditions meet:
| |
| :# The software has been released for numerous different platforms, so much so that including all of them causes the infobox size to grow unduly large.
| |
| :# The article body lists the platforms under which the software runs.
| |
| :If the above do not meet, then specifying such a vague phrase is the same as not specifying it.
| |
| ; included with
| |
| : Devices and operating systems that come preloaded with this browser.
| |
| ; replaces
| |
| : What the software replaces, if applicable.
| |
| ; replaced_by
| |
| : What the software has been replaced with.
| |
| ; service_name
| |
| : Service name for the software.
| |
| ; size
| |
| : Size of the installer package. Only applies to software available via download. For software 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 [[non-breaking space]] ("&nbsp;") to prevent numbers and units of measurements from separating when "[[word wrapping]]" occurs. You can also use {{tl|Nowrap}} template to produce the same effect.
| |
| :Observe the following examples:
| |
| :{|
| |
| | width = "50%" |
| |
| * <syntaxhighlight lang="wikitext" inline>760&nbsp;KB</syntaxhighlight> → 760 KB
| |
| * <syntaxhighlight lang="wikitext" inline>32&nbsp;MB</syntaxhighlight> → 32 MB
| |
| | width = "50%" |
| |
| * <syntaxhighlight lang="wikitext" inline>{{Nowrap|842 KB}}</syntaxhighlight> → {{Nowrap|842 KB}}
| |
| * <syntaxhighlight lang="wikitext" inline>{{Nowrap|48.5 MB}}</syntaxhighlight> → {{Nowrap|48.5 MB}}
| |
| |}
| |
| :For more information, visit [[WP:UNITS]]
| |
| ; standard
| |
| : [[Technical standard]] of the subject of the article adheres.
| |
| ; language
| |
| : Lists the natural languages in which the software's user interface can interact with user. Please do not supply vague phrases, such as "multilingual", which do not add to the knowledge of the reader. Also please do not wikilink the name of languages; readers are most likely uninterested in reading about those languages. For a comprehensive list of items that should not be generally linked to, see {{Section link|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 {{para|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 "<syntaxhighlight lang="wikitext" inline>[[#Localization|Click here to see the list of languages]]</syntaxhighlight>", consider "<syntaxhighlight lang="wikitext" inline>35 languages; see [[#Localization|§ Localization]]</syntaxhighlight>". 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 {{para|language count}} and {{para|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's user interface can interact with user. Please supply a number only. Don't use this parameter if the list of languages includes fewer than five entries. (Please see: {{Section link|Wikipedia:Manual of Style/Dates and numbers|Numbers}})
| |
| : If both {{para|language}} and {{para|language count}} parameters are present, the value of {{para|language}} will be collapsed under "List of languages" title.
| |
| ; language footnote
| |
| : Use this parameter to supply citation on available translations, especially when {{para|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 {{para|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 [[Geographic information system]]. 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 "[[Desktop publishing software]]". Instead of "DWG creator/editor", consider using "[[Computer-aided design]]".
| |
| ; license
| |
| : {{Further|Wikipedia:Software licenses}}
| |
| : The [[software license]] under which the user is allowed to use the software. It is recommended to specify the specific license the software is released under by name. See [[:Category:Software licensing]]. For example:
| |
| :*[[Proprietary license|Proprietary]] (<syntaxhighlight lang="wikitext" inline>[[Proprietary license|Proprietary]]</syntaxhighlight>): Software with a license which prohibits modifying the software and sharing copies, and where generally a copy of the source code cannot be obtained by the user. (As in this example, please be sure to link to <syntaxhighlight lang="wikitext" inline>[[Proprietary license]]</syntaxhighlight>, which is an article about this type of software, and ''not'' to <syntaxhighlight lang="wikitext" inline>[[Proprietary]]</syntaxhighlight>, which is a disambiguation page.)
| |
| :*[[GNU General Public License]]s, [[GNU Lesser General Public License]]s, [[BSD License]]s, and other [[free software]] licenses: pieces of software released under a free software license provide copies of the source code to users, and give users the freedom to modify and share copies of their copy of the source code. The GNU licenses mentioned have multiple versions each; there are multiple BSD licenses. Please make sure to specify which one.
| |
| ; licence
| |
| : Same as {{para|license}}. Pick either ''license'' (American English) or ''licence'' (Commonwealth English), not both{{snd}}select the one which matches the content of the article the template is used in.
| |
| ; website
| |
| : The web site URL of the software package, if one wants to override the Wikidata official URL value. This URL must be readable in print. Therefore, you should use {{tl|URL}} template like this: "{{tl2|URL|<nowiki>http://www.example.com</nowiki>}}". Avoid using printer-hostile forms like "<syntaxhighlight lang="wikitext" inline>[http://www.example.com Example website]</syntaxhighlight>". 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. If left blank, the Wikidata official website value will display by default.
| |
| ; 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.
| |
| ; module
| |
| : For embedding other templates (see [[WP:IEmbed]]).
| |
|
| |
|
| == Moving release data outside the article ==
| |
| <section begin="release version data" />
| |
| The subject's latest release version, latest release date, latest preview version and latest preview date can be moved outside the article.
| |
|
| |
| === Template method (single wiki)===
| |
|
| |
| 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 {{para|latest release version}} or {{para|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:
| |
| #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 {{para|name}} parameter of the infobox: <br/><code>{{fullurl:Template:Latest stable software release/INFOBOX_NAME|action=edit&preload=Template:LSR/syntax}}</code>
| |
| ##In the page that opens, fill in the required information.
| |
| ##Save the page.
| |
| #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 {{para|name}} parameter of the infobox: <br/><code>{{fullurl:Template:Latest preview software release/INFOBOX_NAME|action=edit&preload=Latest preview release/syntax}}</code>
| |
| ##In the page that opens, fill in the required information.
| |
| ##Save the page.
| |
| #In the main article, delete {{para|latest release version}}, {{para|latest release date}}, {{para|latest preview version}} or {{para|latest preview date}} parameters.
| |
| #Save the article.
| |
| #Refresh the article.
| |
|
| |
| === Wikidata method (multi-language, potentially all wikis) ===
| |
|
| |
| With a Wikidata entry, OS version information can be input once, and then automatically transcluded to any Wikipedia in any language, as long as they are using a Wikidata template for their data.
| |
|
| |
| * See: [[Template:Wikidata]] for usage information<section end="release version data" />
| |
| * See: [[Template:Infobox software#Example]] for a usage example. (The Infobox:software example uses this method.)
| |
|
| |
| == Microformat ==
| |
| {{UF-hcal}}
| |
|
| |
| == TemplateData ==
| |
| {{Collapse top|title=[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}}
| |
| {{TemplateData header|noheader=1}}
| |
| <templatedata> | | <templatedata> |
| { | | { |
| "description": "An infobox for computer software", | | "description": "在计算机软件中使用的信息框。", |
| "format": "block",
| |
| "params": { | | "params": { |
| "title": { | | "title": { |
| "label": "Title", | | "label": "标题", |
| | "description": "若未指定,则使用‘name’参数或 PAGENAME。", |
| "type": "string", | | "type": "string", |
| "required": false, | | "required": false |
| "description": "Name of the computer program. Displayed at the top of the infobox.", | | }, |
| "aliases": [ | | "name": { |
| "name"
| | "label": "名称", |
| ], | | "description": "标题未指定时使用的名称。", |
| "default": "{{PAGENAMEBASE}}" | | "default": "PAGENAME", |
| | "type": "line", |
| | "required": false |
| }, | | }, |
| "logo": { | | "logo": { |
| "label": "Logo", | | "label": "标志", |
| | "description": "标志(图像)的文件名。", |
| "type": "wiki-file-name", | | "type": "wiki-file-name", |
| "required": false, | | "required": false, |
| "description": "Filename for the image e.g. 'The GIMP icon - gnome.svg' ", | | "example": "The GIMP icon - gnome.svg" |
| "default": "{{#Property:P154}}"
| |
| }, | | }, |
| "logo upright": { | | "logo_size": { |
| "label": "Logo scaling", | | "label": "标志尺寸", |
| "type": "string", | | "type": "line", |
| "required": false, | | "required": false, |
| "description": "Size of the logo as a scaling factor of user thumbnail size preference.", | | "example": "64px" |
| "aliases": [
| |
| "logo_upright"
| |
| ]
| |
| },
| |
| "logo size": {
| |
| "label": "Logo size",
| |
| "type": "string",
| |
| "required": false,
| |
| "description": "Size of the logo.",
| |
| "aliases": [
| |
| "logo_size"
| |
| ]
| |
| }, | | }, |
| "logo alt": { | | "logo_alt": { |
| "label": "Logo alternative text", | | "label": "标志的替代文本", |
| "type": "string", | | "type": "line", |
| "required": false, | | "required": false |
| "description": "Alternative text for the logo (used by the blind and when web browsers cannot or do not load the image)",
| |
| "aliases": [
| |
| "logo_alt"
| |
| ]
| |
| }, | | }, |
| "logo caption": { | | "logo caption": { |
| "label": "Logo caption", | | "label": "标志的标题", |
| "type": "string",
| | "description": "如果只是简单的‘X 的标志’,那么直接留空更好。保留用于特殊情况,如说明一些必要的情况或用于插入 {{ffdc}} 或 {{deletable image-caption}}。", |
| "required": false,
| | "type": "unbalanced-wikitext", |
| "description": "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}}.", | | "required": false |
| "aliases": [ | |
| "logo_caption"
| |
| ] | |
| }, | | }, |
| "screenshot": { | | "screenshot": { |
| "label": "Screenshot", | | "label": "截图", |
| | "description": "截图的文件名。", |
| "type": "wiki-file-name", | | "type": "wiki-file-name", |
| "required": false, | | "required": false, |
| "description": "File name for a screenshot of the image, e.g. 'GIMP screenshot.png'" | | "example": "GIMP_screenshot.png" |
| }, | | }, |
| "screenshot upright": { | | "screenshot_size": { |
| "label": "Screenshot scaling", | | "label": "截图尺寸", |
| "type": "string", | | "type": "line", |
| "required": false, | | "required": false, |
| "description": "Size of the screenshot as a scaling factor of user thumbnail size preference.", | | "example": "300px" |
| "aliases": [
| |
| "screenshot_upright"
| |
| ]
| |
| }, | | }, |
| "screenshot size": { | | "screenshot_alt": { |
| "label": "Screenshot size",
| | "label": "截图的替代文本", |
| "type": "string",
| | "type": "line", |
| "required": false,
| | "required": false |
| "description": "Size of screenshot",
| |
| "aliases": [
| |
| "screenshot_size"
| |
| ]
| |
| },
| |
| "screenshot alt": {
| |
| "label": "Screenshot alternative text", | |
| "type": "string", | |
| "required": false, | |
| "description": "Alternative text for the screenshot (used by the blind and when web browsers cannot or do not load the image)",
| |
| "aliases": [
| |
| "screenshot_alt"
| |
| ]
| |
| }, | | }, |
| "caption": { | | "caption": { |
| "label": "Caption", | | "label": "截图的标题", |
| "type": "string", | | "type": "line", |
| "required": false, | | "required": false |
| "description": "Caption for the screenshot"
| |
| }, | | }, |
| "collapsible": { | | "collapsible": { |
| "label": "Collapsible?", | | "label": "可折叠", |
| "type": "string", | | "description": "当本截图默认隐藏时,设为‘yes’以在可折叠区域中显示截图,不建議在合理使用的軟體截圖上使用\"collapsible\"參數,詳見Wikipedia:非自由内容使用准则#8。", |
| "required": false,
| | "type": "line", |
| "description": "Whether this screenshot is hidden by default, set to 'yes' to place the screenshot in a collapsible section"
| | "required": false |
| },
| |
| "collapsetext": {
| |
| "label": "Collapsed text title",
| |
| "type": "string" | |
| },
| |
| "background": {
| |
| "label": "Collaped text background colour", | |
| "type": "string"
| |
| }, | | }, |
| "author": { | | "author": { |
| "label": "Original author", | | "label": "原作者", |
| | "description": "软件的原始作者或发布者名。可以是个人或组织机构名。多数情况下指定了开发者字段后才会用到该参数。", |
| "type": "string", | | "type": "string", |
| "required": false, | | "required": false |
| "description": "Name of the original author or publisher of the software. It can be either an individual or an organization/business. Most of the time, it only needs to be specified when developer field is populated."
| |
| }, | | }, |
| "developer": { | | "developer": { |
| "label": "Developer", | | "label": "开发者", |
| | "description": "软件目前的开发者名。可以是个人或组织机构名称。", |
| "type": "string", | | "type": "string", |
| "required": false, | | "required": false |
| "description": "Name of the current developer of the software. It can be either an individual or an organization/business."
| |
| }, | | }, |
| "released": { | | "released": { |
| "label": "Initial release date", | | "label": "首次发布", |
| "type": "string",
| | "description": "在软件开发到正式发布(RTM)阶段时发布 1.0 版本(或最接近版本)的日期。如果条目是有关某个主流版本的内容(如 Internet Explorer 8 或 Microsoft Office 2007),则该字段应包含该主流版本正式发布(即到达 RTM 阶段)的日期。如果软件仍在开发中且尚未正式发布,请忽略该字段,即不要使用该字段指定首个预览版或测试版的发布日期,因为已经存在该用途的参数。该字段的格式应类似:{{Start date and age|year|month|day}}。如果条目使用 DMY 的日期格式,请相应替换为:{{Start date and age|year|month|day}} 。如果您不确定日期格式,请参考 WP:MOSDATES。", |
| "required": false,
| | "type": "unbalanced-wikitext", |
| "description": "The date in which version 1.0 (or closely-matching release) of the software in question reaches its release to manufacturing (RTM) stage. In case the article is about a specific major release of a piece of software (for instance Internet Explorer 8 or Microsoft Office 2007), this field should contain the date in which that specific major release reached RTM stage. In case the software 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; 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 WP:MOSDATES." | | "required": false |
| }, | | }, |
| "discontinued": { | | "latest release": { |
| "label": "Discontinued?", | | "label": "最新版本", |
| "type": "boolean", | | "description": "该软件最新发布的版本号和发布日期,如‘1.0.0({{Start date and age|year|month|day}})’。", |
| "required": false, | | "type": "unbalanced-wikitext", |
| "description": "Whether this software is no longer being developed, thus changing the phrase 'Latest release' in the infobox to 'Final 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." | | "required": false |
| }, | | }, |
| "ver layout": { | | "latest release qid": { |
| "label": "Version info layout", | | "label": "最新版本的qid", |
| "description": "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. Additionally, \"stacked\" could automately generate an edit link at the header to allow editors to update the version number.", | | "description": "latest release使用的wikidata的Q标识符,默认为条目对应的Q标识符。", |
| "autovalue": "simple",
| | "type": "line", |
| "type": "string",
| | "required": false |
| "suggestedvalues": [
| |
| "simple",
| |
| "stacked"
| |
| ]
| |
| },
| |
| "latest release version": {
| |
| "label": "Latest release version",
| |
| "type": "string", | |
| "required": false, | |
| "description": "The version number of the latest release of the software. E.g. 'v1.5', '2008 (v12.2)', ",
| |
| "aliases": [
| |
| "latest_release_version"
| |
| ]
| |
| }, | | }, |
| "latest release date": { | | "hide latest release": { |
| "label": "Latest release date", | | "label": "隐藏最新版本", |
| "type": "string",
| | "description": "是否隐藏latest release,默认为no。", |
| "required": false,
| | "type": "line", |
| "description": "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}}",
| | "required": false |
| "aliases": [
| |
| "latest_release_date"
| |
| ]
| |
| },
| |
| "latest preview version": {
| |
| "label": "Latest preview version",
| |
| "type": "string",
| |
| "required": false,
| |
| "description": "The version number of the latest preview version or development branch. Should only be specified when development of a new version of the software 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.", | |
| "aliases": [
| |
| "latest_preview_version"
| |
| ]
| |
| },
| |
| "latest preview date": {
| |
| "label": "Latest preview date",
| |
| "type": "string", | |
| "required": false, | |
| "description": "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 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.",
| |
| "aliases": [
| |
| "latest_preview_date"
| |
| ]
| |
| }, | | }, |
| "programming language": { | | "programming language": { |
| "label": "Programming language", | | "label": "编程语言", |
| "type": "string",
| | "description": "编写软件的语言。如果该语言在维基百科中有相应条目,请加上链接,如 [[C++]]、[[Python]]。", |
| "required": false,
| | "type": "unbalanced-wikitext", |
| "description": "The programming language in which the subject of the infobox is created. If the programming language of the software has a corresponding article on Wikipedia, please link to it. E.g. '[[C++]] and [[C Sharp (programming language)|C#]]'. Be advised that Wikipedia policies such as [[Wikipedia:Verifiability]] and [[Wikipedia:No original research]] also apply here.", | |
| "aliases": [ | | "aliases": [ |
| "programming_language" | | "programming_language" |
| ] | | ], |
| },
| | "required": false |
| "engine": {
| |
| "label": "Software engine",
| |
| "description": "[[Software engine]] used by this program. In absence of this parameter, infobox attempts to acquire the engine from Wikidata. This parameter overrides the Wikidata engine. May also use plural.", | |
| "type": "wiki-page-name",
| |
| "aliases": [
| |
| "engines"
| |
| ]
| |
| }, | | }, |
| "operating system": { | | "operating system": { |
| "label": "Operating system", | | "label": "操作系统", |
| | "description": "软件适用的操作系统。请尽可能准确指明(同时也注意长度)、避免模糊的表达,如跨平台、多平台。对于可运行于 unix/linux 所有版本的软件可使用‘[[Unix-like]]’,对于适用 Windows 平台的则可使用‘[[Microsoft Windows]]’、‘[[Windows]]’或‘[[Windows XP]] 及更高版本’。如果软件是与操作系统无关的网页程序,则忽略此参数。", |
| "type": "string", | | "type": "string", |
| "required": false,
| |
| "description": "The operating system on which the given software works. E.g. '[[Microsoft Windows]]' or '[[Windows]]', '[[Windows XP]] and later'. If the subject of the article is a web app, library or an SO-agnostic source code, ignore this parameter. Please be as accurate as possible in specifying this parameter (but also be mindful of the length) and avoid specifying vague phrases such as 'Cross-platform' (or its redirect, Multi-platform) or 'Unix-like' (implies that the subject runs on most desktops, server and mobile devices).",
| |
| "aliases": [ | | "aliases": [ |
| "operating_system" | | "operating_system" |
| ] | | ], |
| | "required": false |
| }, | | }, |
| "platform": { | | "platform": { |
| "label": "Platform", | | "label": "平台", |
| "type": "string",
| | "description": "软件运行的计算平台。可以指定处理器,如‘[[IA-32]]’(i386)、‘[[x86-64]]’、‘Itanium’、‘ARM’或‘MIPS’。", |
| "required": false,
| | "type": "unbalanced-wikitext", |
| "description": "The computing platform on which the software runs. Can be specific processors like '[[IA-32]]' (i386), '[[x86-64]]' 'Itanium', 'ARM' or 'MIPS'." | | "required": false |
| },
| |
| "included with": {
| |
| "label": "Included with",
| |
| "description": "Devices and operating systems that come preloaded with this browser.", | |
| "type": "string" | |
| }, | | }, |
| "size": { | | "size": { |
| "label": "Size", | | "label": "安装包大小", |
| "type": "string", | | "description": "安装包大小。只适用于可下载的软件。如‘{{Nowrap|48 MB}}’。", |
| "required": false, | | "type": "unbalanced-wikitext", |
| "description": "Size of the installer package. Only applies to software available via download. E.g. '{{Nowrap|48 MB}}'." | | "required": false |
| }, | | }, |
| "language": { | | "language": { |
| "label": "Language", | | "label": "语言", |
| | "description": "软件用户界面支持的自然语言列表。不要使用‘多语言’或类似的模糊说法。", |
| "type": "string", | | "type": "string", |
| "required": false, | | "required": false |
| "description": "Lists the natural languages in which the software's user interface can interact with user. Please do not supply 'Multilingual' or such vague phrases."
| |
| }, | | }, |
| "language count": { | | "language count": { |
| "label": "Language count", | | "label": "支持语言数", |
| | "description": "软件用户界面支持的自然语言数。", |
| "type": "number", | | "type": "number", |
| "required": false, | | "required": false |
| "description": "Number of natural languages in which the software's user interface can interact with user."
| |
| }, | | }, |
| "language footnote": { | | "language footnote": { |
| "label": "Language footnote", | | "label": "对支持语言的脚注", |
| | "description": "该参数用于提供可用翻译的引文。", |
| "type": "string", | | "type": "string", |
| "required": false, | | "required": false |
| "description": "Use this parameter to supply citation on available translations."
| |
| }, | | }, |
| "genre": { | | "genre": { |
| "label": "Genre", | | "label": "类型", |
| "type": "wiki-page-name", | | "description": "程序类型。应该内部链接到其他条目。更多信息请参考软件分类列表。", |
| | "type": "unbalanced-wikitext", |
| "required": false, | | "required": false, |
| "description": "Type of program. Should be wikilinked to an article such as '[[Geographic information system]]'. For more information, consult List of software categories." | | "example": "[[桌面搜索]]" |
| }, | | }, |
| "license": { | | "license": { |
| "label": "License", | | "label": "许可证", |
| "type": "string", | | "description": "允许消费者使用软件的许可证类型。", |
| | "type": "unbalanced-wikitext", |
| "required": false, | | "required": false, |
| "description": "Name of the software license under which the user is allowed to use the software. E.g. '[[Proprietary software|Proprietary]]', '[[GNU General Public License]] version 3', '[[Modified BSD License]]'. May also use Commonwealth English spelling.", | | "example": "[[专有软件|专有]]" |
| "aliases": [
| |
| "licence"
| |
| ]
| |
| }, | | }, |
| "website": { | | "licence": { |
| "label": "Website", | | "label": "licence", |
| | "description": "Alternative to license for articles using Commonwealth English.", |
| "type": "string", | | "type": "string", |
| "required": false, | | "required": false |
| "description": "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 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. This is useful for articles with several infoboxes, to avoid repeating one Wikidata link."
| |
| }, | | }, |
| "repo": { | | "repo": { |
| "label": "Source code repository", | | "label": "代码库", |
| | "description": "软件[[仓库 (版本控制)|代码库]]的網址。格式:{{URL|http://www.example.com/repo}}。", |
| "type": "string", | | "type": "string", |
| "required": false, | | "required": false |
| "description": "The online source code repository, 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." | | }, |
| | "website": { |
| | "label": "网站", |
| | "description": "软件包网站的网址。格式:{{URL|http://www.example.com}}。", |
| | "type": "unbalanced-wikitext", |
| | "required": false |
| }, | | }, |
| "standard": { | | "standard": { |
| "label": "Standard(s)", | | "label": "技术标准", |
| | "description": "软件的技术标准。", |
| "type": "string", | | "type": "string", |
| "required": false, | | "required": false |
| "description": "Technical standard of the software."
| |
| }, | | }, |
| "AsOf": { | | "AsOf": { |
| "label": "Infobox timestamp (AsOf)", | | "label": "AsOf", |
| | "description": "Month Year.", |
| "type": "string", | | "type": "string", |
| "required": false, | | "required": false |
| "description": "Infobox timestamp in the form of month name, space character, year (four digits). Used by maintenance procedures and bots."
| |
| }, | | }, |
| "bodystyle": { | | "bodystyle": { |
| "label": "Body style (CSS)", | | "label": "bodystyle", |
| | "description": "应用于信息框整体的 CSS 样式。", |
| "type": "string", | | "type": "string", |
| "required": false, | | "required": false |
| "description": "CSS styling for the infobox as a whole"
| |
| }, | | }, |
| "other_names": { | | "screenshot-hans": { |
| "type": "string", | | "label": "简体版截图", |
| "label": "Other names", | | "description": "简体版截图的文件名。", |
| "description": "Other (or former) names for the software" | | "example": "GIMP_screenshot_(zh-hans).png", |
| | "type": "wiki-file-name" |
| }, | | }, |
| "qid": { | | "screenshot-hant": { |
| "type": "string", | | "label": "繁体版截图", |
| "description": "Wikidata QID" | | "description": "繁体版截图的文件名。", |
| | "example": "GIMP_screenshot_(zh-hant).png", |
| | "type": "wiki-file-name" |
| }, | | }, |
| "middleware": { | | "discontinued": { |
| "type": "string", | | "label": "是否停产", |
| "label": "Middleware", | | "description": "如果软件已停产,则设为“yes”,否则省略。", |
| "description": "The middleware used by the software", | | "example": "yes", |
| "example": "Havok" | | "type": "string" |
| }, | | }, |
| "replaces": { | | "included with": { |
| "type": "string", | | "aliases": [ |
| "label": "Replaces", | | "included_with" |
| "description": "What the software replaces" | | ], |
| | "label": "内置于", |
| | "type": "string" |
| }, | | }, |
| "replaced_by": { | | "middleware": { |
| "type": "wiki-page-name",
| | "label": "中间件", |
| "label": "Replaced by", | | "description": "软件的中间件。", |
| "description": "Software that replaces this one" | |
| },
| |
| "service_name": {
| |
| "type": "string",
| |
| "label": "Service name",
| |
| "description": "The service name for the software"
| |
| },
| |
| "logo title": {
| |
| "label": "Logo title",
| |
| "type": "string" | | "type": "string" |
| }, | | }, |
| "screenshot title": { | | "other_names": { |
| "label": "Screenshot title", | | "label": "别名", |
| | "description": "其它的名称", |
| "type": "string" | | "type": "string" |
| } | | } |
| }, | | }, |
| | "format": "block", |
| "paramOrder": [ | | "paramOrder": [ |
| "bodystyle",
| |
| "title", | | "title", |
| | "name", |
| "logo", | | "logo", |
| "logo upright", | | "logo_size", |
| "logo size", | | "logo_alt", |
| "logo title",
| |
| "logo alt",
| |
| "logo caption", | | "logo caption", |
| "screenshot", | | "screenshot", |
| | "screenshot-hans", |
| | "screenshot-hant", |
| | "screenshot_size", |
| | "screenshot_alt", |
| | "caption", |
| "collapsible", | | "collapsible", |
| "collapsetext",
| |
| "background",
| |
| "screenshot upright",
| |
| "screenshot size",
| |
| "screenshot alt",
| |
| "screenshot title",
| |
| "caption",
| |
| "other_names",
| |
| "author", | | "author", |
| "developer", | | "developer", |
| "released", | | "released", |
| "ver layout",
| | "latest release", |
| "discontinued",
| | "latest release qid", |
| "latest release version", | | "hide latest release", |
| "latest release date", | |
| "latest preview version", | |
| "latest preview date",
| |
| "repo",
| |
| "qid",
| |
| "programming language", | | "programming language", |
| "middleware",
| |
| "engine",
| |
| "operating system", | | "operating system", |
| "platform", | | "platform", |
| "included with",
| |
| "replaces",
| |
| "replaced_by",
| |
| "service_name",
| |
| "size", | | "size", |
| "standard",
| |
| "language", | | "language", |
| "language count", | | "language count", |
第666行: |
第355行: |
| "genre", | | "genre", |
| "license", | | "license", |
| | "licence", |
| | "repo", |
| "website", | | "website", |
| "AsOf" | | "standard", |
| | "AsOf", |
| | "bodystyle", |
| | "discontinued", |
| | "included with", |
| | "middleware", |
| | "other_names" |
| ] | | ] |
| } | | } |
| </templatedata> | | </templatedata> |
| {{Collapse bottom}}
| |
|
| |
|
| == Tracking categories == | | == 微格式 == |
| * {{clc|Pages using Infobox software with unknown parameters}}
| | {{UF-hcal}} |
| * {{clc|Pages using Infobox software with version errors}}
| |
|
| |
|
| == See also == | | == 追踪模板 == |
| '''Compatible derivatives'''
| | * {{clc|使用未知软件信息框参数的页面}} |
| * {{Lts|Infobox programming language}} – [[programming language]]s, [[integrated development environment]]s and [[development tool]]s | |
|
| |
|
| === Related === | | == 參見 == |
| * {{Lts|Infobox OS}} for [[operating system]]s | | * {{tl|Infobox OS}}:操作系統專用 |
| * {{Lts|Infobox software platform}} for [[software platform]]s
| | * {{tl|Infobox VG}}:電子遊戲專用 |
| * {{Lts|Infobox video game}} for [[video game]]s | | * {{tl|Infobox programming language}}:编程语言专用 |
| * {{Lts|Infobox website}} for [[website]]s and [[web application]]s | |
| * [[WP:IB]] - list of infoboxes
| |
|
| |
|
| <includeonly>{{Sandbox other|| | | <includeonly> |
| <!-- Categories below this line, please; interwikis at Wikidata --> | | <!-- ADD CATEGORIES BELOW THIS LINE --> |
| [[Category:Software infobox templates|Software]] | | [[Category:软件信息框模板|{{PAGENAME}}]] |
| [[Category:Infobox templates using Wikidata|Software]]
| | [[Category:添加追踪分类的模板]] |
| [[Category:Templates that add a tracking category]] | | </includeonly> |
| }}</includeonly>
| |