Template:Infobox software/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(tidy, rm bogus params)
(all params are optional; make this a list rather than a table)
Line 68: Line 68:


=== Parameters ===
=== Parameters ===
{| class="wikitable"
 
! parameter
All parameters are optional.
! optional?
 
! description
; name: name of software (note: if you don't put the right thing here it breaks the latest release / latest preview fields when frequently_updated is enabled)
|-
; logo: logo
| '''name'''
; screenshot: screenshot image
| {{no}}
; caption: caption for screenshot
| name of software (note: if you don't put the right thing here it breaks the latest release / latest preview fields when frequently_updated is enabled)
; collapsible: can be set to "yes" in case of long vertical screenshot (see [[QQ]] for example)
|-
; author: original author of the program
| '''logo'''
; developer: current developer of the program
| {{yes}}
; released: the release date of version 1.0 (or closely-matching release). For subsequent or prior releases, use <code>latest release date</code>.<br />Can use {{tl|Start date}} template.
| logo
; latest release version: latest released version number  
|-
; latest release date: release date of the latest released version; suggested use of {{tl|Start date and age}} template
| '''screenshot'''
; latest preview version: version number of preview version or development branch
| {{yes}}
; latest preview date: preview date; suggested use of {{tl|Start date and age}} template
| screenshot image
; frequently updated: if set to "yes", latest release/preview date and version have to be defined in subtemplate by clicking the numbers directly in the infobox (make sure the "name" parameter above exactly matches the name of the subtemplate pages)
|-
; programming language: programming language
| '''caption'''
; operating system: operating system.  For Unix-like multi-OS programs use: Any [[[[Unix-like]]]]
| {{yes}}
; platform: [[Platform (computing)|platform]] (Java, .NET).  For multi-platform programs use: [[[[Cross-platform]]]]
| caption for screenshot
; size: in megabytes
|-
; language: natural language (English, French)
| '''collapsible'''
; status'''
| {{yes}}
| can be set to "yes" in case of long vertical screenshot (see [[QQ]] for example)
|-
| '''author'''
| {{yes}}
| original author of the program
|-
| '''developer'''
| {{yes}}
| current developer of the program
|-
| '''released'''
| {{yes}}
| the release date of version 1.0 (or closely-matching release). For subsequent or prior releases, use <code>latest release date</code>.<br />Can use {{tl|Start date}} template.
|-
| '''latest release version'''
| {{yes}}
| latest released version number  
|-
| '''latest release date'''
| {{yes}}
| release date of the latest released version; suggested use of {{tl|Start date and age}} template
|-
| '''latest preview version'''
| {{yes}}
| version number of preview version or development branch
|-
| '''latest preview date'''
| {{yes}}
| preview date; suggested use of {{tl|Start date and age}} template
|-
| '''frequently updated'''
| {{yes}}
| if set to "yes", latest release/preview date and version have to be defined in subtemplate by clicking the numbers directly in the infobox (make sure the "name" parameter above exactly matches the name of the subtemplate pages)
|-
| '''programming language'''
| {{yes}}
| programming language
|-
| '''operating system'''
| {{yes}}
| operating system.  For Unix-like multi-OS programs use: Any [[[[Unix-like]]]]
|-
| '''platform'''
| {{yes}}
| [[Platform (computing)|platform]] (Java, .NET).  For multi-platform programs use: [[[[Cross-platform]]]]
|-
| '''size'''
| {{yes}}
| in megabytes
|-
| '''language'''
| {{yes}}
| natural language (English, French)
|-
| '''status'''
| {{yes}}  
| {{yes}}  
| Should probably be one of: Planned, Active, Unmaintained
| Should probably be one of: Planned, Active, Unmaintained
|-
; genre: Type of program.  Probably wikilinked to an article such as [[Geographic information system]].
| '''genre'''
; license: License such as <code>proprietary</code>, <code><nowiki>[[GNU General Public License|GPL]]</nowiki></code>.  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.
| {{no}}
; website: Web site of software package.
| Type of program.  Probably wikilinked to an article such as [[Geographic information system]].
|-
| '''license'''
| {{no}}
| License such as <code>proprietary</code>, <code><nowiki>[[GNU General Public License|GPL]]</nowiki></code>.  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'''
| {{no}}
| Web site of software package.
|}


=== Microformat ===
=== Microformat ===

Revision as of 11:28, 21 March 2009


Usage

{{Infobox Software
|name                       = 
|logo                       = 
|screenshot                 = 
|caption                    = 
|collapsible                = 
|author                     = 
|developer                  = 
|released                   = <!-- {{Start date|YYYY|MM|DD}} -->
|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}} -->
|frequently updated         = 
|programming language       = 
|operating system           = 
|platform                   = 
|size                       = 
|language                   = 
|status                     = 
|genre                      = 
|license                    = 
|website                    = 
}}

Example

Template:Infobox Software

{{Infobox Software
|name                   = Example: Yoyodyne
|logo                   = 
|screenshot             = [[Image:Yoyo patent 1866.png|200px]]
|caption                = Yoyodyne v0.9 screenshot
|developer              = Yoyodyne Industries Inc.
|released               = {{Start date|1911}}
|latest_release_version = 0.9
|latest_release_date    = {{Start date and age|2006|1|1}}
|operating_system       = [[Microsoft Windows]]
|operating_system_desc  = 
|size                   = 25MB
|genre                  = Yoyonics
|license                = [[GNU General Public License]]
|website                = [http://www.example.org example.org]
}}


Parameters

All parameters are optional.

name
name of software (note: if you don't put the right thing here it breaks the latest release / latest preview fields when frequently_updated is enabled)
logo
logo
screenshot
screenshot image
caption
caption for screenshot
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.
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
frequently updated
if set to "yes", latest release/preview date and version have to be defined in subtemplate by clicking the numbers directly in the infobox (make sure the "name" parameter above exactly matches the name of the subtemplate pages)
programming language
programming language
operating system
operating system. For Unix-like multi-OS programs use: Any [[Unix-like]]
platform
platform (Java, .NET). For multi-platform programs use: [[Cross-platform]]
size
in megabytes
language
natural language (English, French)
status

| style="background: #90ff90; color: black; vertical-align: middle; text-align:center;" class="table-yes"|Yes | 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, [[GNU General Public License|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.

Microformat

Template:UF-hcal

See also