Difference between revisions of "Template:Software"

From LDraw.org Wiki
Jump to navigation Jump to search
m (Minor code fix)
(Updated to use subpage template)
Line 6: Line 6:
 
{| style="width: 300px; background-color: #F9F9F9; font-size: 9pt" cellpadding="0" cellspacing="5"
 
{| style="width: 300px; background-color: #F9F9F9; font-size: 9pt" cellpadding="0" cellspacing="5"
 
|-align="center" valign="middle"
 
|-align="center" valign="middle"
| colspan="2" | [[File:{{{logo|{{{image|Software icon.png}}}}}}|48px|link=]]
+
| colspan="2" | {{{logo|{{{image|[[File:Software icon.png|48px]]}}}}}}
 
|-align="left" valign="top"
 
|-align="left" valign="top"
| style="width: 120px; min-width: 120px;" | '''{{w|page=Software_developer|text=Developer(s)}}'''
+
| style="width: 120px; max-width: 120px; min-width: 120px;" | '''{{w|page=Software_developer|text=Developer(s)}}'''
 
| {{{developer|<span style="color:#999">''unknown''</span>}}}
 
| {{{developer|<span style="color:#999">''unknown''</span>}}}
 
|-align="left" valign="top"
 
|-align="left" valign="top"
Line 41: Line 41:
 
==Usage==
 
==Usage==
 
<pre style="overflow:auto">{{Software
 
<pre style="overflow:auto">{{Software
|title            = <!-- Delete this parameter completely to use the {{{PAGENAME}}} parameter -->
+
|title            = <!-- Delete this parameter completely to use the {{PAGENAME}} parameter -->
|logo            = <!-- Delete this parameter completely to use the generic software icon -->
+
|logo            = <!-- Delete this parameter completely if no logo is available -->
 
|developer        =  
 
|developer        =  
 
|released        =  
 
|released        =  
Line 59: Line 59:
  
 
'''title'''
 
'''title'''
:Name of the software product as displayed inside the infobox. To use the {{code|{{{PAGENAME}}}}} parameter, remove this line from the infobox. Leaving the field blank will cause the name to be displayed incorrectly.
+
:Name of the software product as displayed inside the infobox. To use the {{code|<nowiki>{{PAGENAME}}</nowiki>}} parameter, remove this line from the infobox. Leaving the field blank will cause the name to be displayed incorrectly.
  
 
'''logo'''
 
'''logo'''
:Code for a small image to be displayed as software product's logo or computer icon, set to a default width/height of 48px. The image does not function as a clickable link.
+
:Use the {{code|{{tl|software/logo}}}} template to insert an image into this field, e.g. {{code|<nowiki>{{software/logo|ProgramLogo.png}}</nowiki>}}. If no file is available, and the line is deleted, a generic software icon will be used.
 +
 
 +
:Alternatively, an image can be specified using the standard {{code|<nowiki>[[File:]]</nowiki>}} wiki markup.
  
 
:Replaces the previous {{code|<nowiki>|image=</nowiki>}} field.
 
:Replaces the previous {{code|<nowiki>|image=</nowiki>}} field.
Line 95: Line 97:
  
 
'''website'''
 
'''website'''
:The web site URL of the software package. This should only show the website's URL, e.g. {{code|<nowiki>[http://www.example.com/ www.example.com]</nowiki>}}. Avoid using printer-hostile forms like {{code|<nowiki>[http://www.example.com Example website]</nowiki>}}.
+
:The web site URL of the software package. This should only show the website's URL, e.g. {{code|<nowiki>[http://www.example.com/ www.example.com]</nowiki>}}.
 +
:Avoid using printer-hostile forms like {{code|<nowiki>[http://www.example.com Example website]</nowiki>}}.
 
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
 
<includeonly>[[Category:Software]]</includeonly>
 
<includeonly>[[Category:Software]]</includeonly>

Revision as of 14:00, 25 January 2015

Software
Software icon.png
Developer(s) unknown
Initial release unknown
Current version unknown
Development status unknown
Operating system unknown
Available in unknown
Type unknown
License unknown
Website unknown
Software infobox

Usage

{{Software
|title            = <!-- Delete this parameter completely to use the {{PAGENAME}} parameter -->
|logo             = <!-- Delete this parameter completely if no logo is available -->
|developer        = 
|released         = 
|version          = 
|status           = 
|operating system = 
|language         = 
|genre            = 
|license          = 
|website          = 
}}

Parameters

If the parameter is not known, the field should be removed from the infobox to ensure that unknown (see example above right) is displayed, rather than the field appearing empty. [This is due to a wiki limitation.]

title

Name of the software product as displayed inside the infobox. To use the {{PAGENAME}} parameter, remove this line from the infobox. Leaving the field blank will cause the name to be displayed incorrectly.

logo

Use the {{software/logo}} template to insert an image into this field, e.g. {{software/logo|ProgramLogo.png}}. If no file is available, and the line is deleted, a generic software icon will be used.
Alternatively, an image can be specified using the standard [[File:]] wiki markup.
Replaces the previous |image= field.

developer

Name of the current developer of the software product. It can be either an individual or an organization/business.

released

The date on which the initial version of the software product in question is released publicly.

version

The version number of the latest release of the software product.

status

The development status of the computer program, such as: Planned, Active, Unmaintained, Discontinued, Stalled or Abandonware.

operating system

The operating system on which the given software product works.
Replaces the previous |platform= field.

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.

genre

Type of program. For more information, consult Wikipedia's 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".
Replaces the previous |function= field.

license

Type of the software license under which the consumer is allowed to use the product

website

The web site URL of the software package. This should only show the website's URL, e.g. [http://www.example.com/ www.example.com].
Avoid using printer-hostile forms like [http://www.example.com Example website].