Template:Infobox Software: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Improved documentation; Doc style)
(fix; +-doc: Update and clarifying automatic categorization and also mentioning it in the lead section)
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| style="background: white; width: 260px; font-size: 90%; text-align: left; border: 1px silver solid; border-collapse: collapse; margin-left:1em; float:right; clear:right;" cellpadding="3" border="1"
{{Infobox
! colspan="7" style="text-align: center; background-color: #0f7a71; color: white; font-size: larger;" | {{{title}}}
|title = {{{title|'''Input title'''}}}
|-
|image = {{#if: {{{logo|}}} | [[File:{{{logo}}}|{{{logosize|270px}}}|{{{title}}} logo]] }}
{{#if:{{{logo|<noinclude>x</noinclude>}}}|
|image2 = {{#if: {{{image|}}} | [[File:{{{image}}}|270px|{{{alt|}}}]] }}
! colspan="7" {{!}} <center>[[Image:{{{logo|}}}|{{{width|270px}}}]]</center>|}}
|caption2 = {{{alt|}}}
|-
|label1 = Developed by
{{#if:{{{image|<noinclude>x</noinclude>}}}|
|data1 = {{{developedby|}}}
! colspan="7" {{!}} <center>[[Image:{{{image|}}}|{{{width|270px}}}|{{{alt|}}}]]<br/><small>{{{alt|}}}</small></center>|}}
|label2 = Initial release
|-
|data2 = {{{initialrelease|}}}
{{#if:{{{developedby|<noinclude>x</noinclude>}}}|
|label3 = Latest release
{{!}} colspan="2"  {{!}}  '''Developed by'''
|data3 = {{{latestrelease|}}}
{{!}} colspan="5"  {{!}}
|label4 = Written in
{{{developedby|}}} }}
|data4 = {{{writtenin|}}}{{{writteninversion|}}}{{#if: {{{writteninlibs|}}} | &nbsp;({{{writteninlibs}}}) }}
|-
|label5 = OS
{{#if:{{{initialrelease|<noinclude>x</noinclude>}}}|
|data5 = {{{os|}}}
{{!}} colspan="2"  {{!}}  '''Initial release'''
|label6 = Platform  
{{!}} colspan="5"  {{!}} {{{initialrelease|}}} }}
|data6 = {{{platform|}}}
|-
|label7 = Development status
{{#if:{{{latestrelease|<noinclude>x</noinclude>}}}|
|data7 = {{{developmentstatus|}}}
{{!}} colspan="2"  {{!}}  '''Latest release'''
|label8 = Development progress
{{!}} colspan="5"  {{!}} {{{latestrelease|}}} }}
|data8 = {{{developmentprogress|}}}
|-
|label9 = Type
{{#if:{{{writtenin|<noinclude>x</noinclude>}}}|
|data9 = {{{type|}}}
{{!}} colspan="2"  {{!}}  '''Written in'''
|label10 = License
{{!}} colspan="5"  {{!}}
|data10 = {{{license|}}}
{{{writtenin}}} }}
|data11 = {{#if: {{{website|}}} | [{{{website}}} Website] }}
|-
}}
{{#if:{{{os|<noinclude>x</noinclude>}}}|
<includeonly>
{{!}} colspan="2"  {{!}} '''OS'''
[[Category:{{{writtenin|}}} software]]
{{!}} colspan="5"  {{!}}
</includeonly>
{{{os}}} }}
 
|-
{{#if:{{{platform|<noinclude>x</noinclude>}}}|
{{!}} colspan="2"  {{!}}  '''Platform'''
{{!}} colspan="5"  {{!}}
{{{platform|}}} }}
|-
{{#if:{{{developmentstatus|<noinclude>x</noinclude>}}}|
{{!}} colspan="2"  {{!}}  '''Development status'''
{{!}} colspan="5"  {{!}}
{{{developmentstatus}}} }}
|-
{{#if:{{{developmentprogress|<noinclude>x</noinclude>}}}|
{{!}} colspan="2"  {{!}}  '''Development Progress'''
{{!}} colspan="5"  {{!}}
{{{developmentprogress}}} }}
|-
{{#if:{{{type|<noinclude>x</noinclude>}}}|
{{!}} colspan="2"  {{!}}  '''Type'''
{{!}} colspan="5"  {{!}}
{{{type}}} }}
|-
{{#if:{{{license|<noinclude>x</noinclude>}}}|
{{!}} colspan="2"  {{!}} '''License'''
{{!}} colspan="5"  {{!}}
{{{license}}} }}
|-
{{#if:{{{website|}}}|
{{!}} colspan="7" style="text-align: center;" {{!}} '''[{{{website}}} Website]'''  }}
|}
<noinclude>
<noinclude>
{{-}}
{{-}}
Line 64: Line 35:
__NOTOC__
__NOTOC__
== Goal ==
== Goal ==
This template can be used to...
This template is used to give a quick overview of the basic information about a piece of software.


Adding this template to a page will automatically add [[:Category:...]] to that page.
Pages will automatically be added to Category:'''writtenin''' software if '''writtenin''' is not empty.


== Usage ==
== Usage ==
Add this to the top of  the article describing the software.
  <nowiki>{{</nowiki>'''Infobox Software'''
  <nowiki>{{</nowiki>'''Infobox Software'''
  <nowiki>|</nowiki> title              =  
  <nowiki>|</nowiki> title              =  
  <nowiki>|</nowiki> ''logo''                =  
  <nowiki>|</nowiki> ''logo''                =  
<nowiki>|</nowiki> ''logosize''            =
  <nowiki>|</nowiki> ''image''              =  
  <nowiki>|</nowiki> ''image''              =  
  <nowiki>|</nowiki> ''alt''                =  
  <nowiki>|</nowiki> ''alt''                =  
Line 86: Line 59:
  <nowiki>|</nowiki> ''website''            =  
  <nowiki>|</nowiki> ''website''            =  
  <nowiki>}}</nowiki>
  <nowiki>}}</nowiki>
All parameters but '''title''' are optional.


; title:  Title of the software
; title:  Title of the software


; logo:  Logo of the software
; logo:  Logo of the software
; logosize: Size of logo. See {{mediawiki|Help:Images#Size and frame}} for accepted size formats. Default 270px.


; image:  Screenshot from the software
; image:  Screenshot from the software
Line 101: Line 78:
; latestrelease:  Date and version of the last release
; latestrelease:  Date and version of the last release


; writtenin:  Language the software was written in
; writtenin:  Language the software was written in (this will automatically add <nowiki>[[</nowiki>Category:'''writtenin''' software<nowiki>]]</nowiki> to the article, e.g. see [[:Category:Python software]]


; os:  Operating systems the software is available for
; os:  Operating systems the software is available for

Revision as of 08:51, 25 March 2020

Input title



The following template description is not displayed when the template is inserted in an article.

Goal

This template is used to give a quick overview of the basic information about a piece of software.

Pages will automatically be added to Category:writtenin software if writtenin is not empty.

Usage

Add this to the top of the article describing the software.

{{Infobox Software
| title               = 
| logo                = 
| logosize            = 
| image               = 
| alt                 = 
| developedby         = 
| initialrelease      = 
| latestrelease       = 
| writtenin           = 
| os                  = 
| platform            = 
| developmentstatus   = 
| developmentprogress = 
| type                = 
| license             = 
| website             = 
}}

All parameters but title are optional.

title
Title of the software
logo
Logo of the software
logosize
Size of logo. See mw:Help:Images#Size and frame for accepted size formats. Default 270px.
image
Screenshot from the software
alt
Caption for the screenshot
developedby
List of developers
initialrelease
Date and preferably also version of the first release
latestrelease
Date and version of the last release
writtenin
Language the software was written in (this will automatically add [[Category:writtenin software]] to the article, e.g. see Category:Python software
os
Operating systems the software is available for
platform
Platforms the software is available for, for example Mac, PC and/or Arduino.
developmentstatus
Development status, for example active, stalled or abandoned
developmentprogress
Development progress
type
Type of software
license
License the software is released under
website
Website of the software project