Difference between revisions of "Template:Software"

From LDraw.org Wiki
Jump to navigation Jump to search
m (Added to "Templates" category)
(Updated and added clarification of parameters, based on Wikipedia's "Infobox software" template.)
Line 1: Line 1:
 
{| style="border: 1px solid black; border-radius: 4px; width: 300px; float:right; margin-left: 10px; font-size: 9pt" cellspacing="0" cellpadding="3"
 
{| style="border: 1px solid black; border-radius: 4px; width: 300px; float:right; margin-left: 10px; font-size: 9pt" cellspacing="0" cellpadding="3"
 
|-valign="middle"
 
|-valign="middle"
| colspan="2" style="background-color: #4775A3; color: black; text-align:center; font-size: 13pt" | '''{{{name|{{PAGENAME}}}}}'''
+
| colspan="2" style="background-color: #4775A3; color: black; text-align:center; font-size: 13pt" | '''{{{title|{{{name|{{PAGENAME}}}}}}}}'''
 
|-
 
|-
| colspan="2" style="background-color: #4775A3; color: black; text-align:center;" | [[File:{{{image|Software icon.png}}}|48px]]
+
| colspan="2" style="background-color: #4775A3; color: black; text-align:center;" | [[File:{{{logo|{{{image|Software icon.png}}}}}}|48px|link=]]
 
|-valign="top"
 
|-valign="top"
 
| style="background-color: #4775A3; color: black; width: 120px" | '''Developer(s)'''
 
| style="background-color: #4775A3; color: black; width: 120px" | '''Developer(s)'''
 
| style="background-color: #EEE; color: black; border-top: 1px solid black; border-left: 1px solid black; border-radius: 4px 0px 0px 0px" | {{{developer|<span style="color:#999">''unknown''</span>}}}
 
| style="background-color: #EEE; color: black; border-top: 1px solid black; border-left: 1px solid black; border-radius: 4px 0px 0px 0px" | {{{developer|<span style="color:#999">''unknown''</span>}}}
|-valign="top"
 
| style="background-color: #4775A3; color: black;" | '''Purpose'''
 
| style="background-color: #EEE; color: black; border-left: 1px solid black" | {{{function|<span style="color:#999">''unknown''</span>}}}
 
 
|-valign="top"
 
|-valign="top"
 
| style="background-color: #4775A3; color: black;" | '''Current version'''
 
| style="background-color: #4775A3; color: black;" | '''Current version'''
Line 17: Line 14:
 
| style="background-color: #EEE; color: black; border-left: 1px solid black" | {{{status|<span style="color:#999">''unknown''</span>}}}
 
| style="background-color: #EEE; color: black; border-left: 1px solid black" | {{{status|<span style="color:#999">''unknown''</span>}}}
 
|-valign="top"
 
|-valign="top"
| style="background-color: #4775A3; color: black;" | '''Platform(s)'''
+
| style="background-color: #4775A3; color: black;" | '''Operating system'''
| style="background-color: #EEE; color: black; border-left: 1px solid black" | {{{platform|<span style="color:#999">''unknown''</span>}}}
+
| style="background-color: #EEE; color: black; border-left: 1px solid black" | {{{operating system|{{{platform|<span style="color:#999">''unknown''</span>}}}}}}
 
|-valign="top"
 
|-valign="top"
 
| style="background-color: #4775A3; color: black;" | '''Available in'''
 
| style="background-color: #4775A3; color: black;" | '''Available in'''
 
| style="background-color: #EEE; color: black; border-left: 1px solid black" | {{{language|<span style="color:#999">''unknown''</span>}}}
 
| style="background-color: #EEE; color: black; border-left: 1px solid black" | {{{language|<span style="color:#999">''unknown''</span>}}}
 
|-valign="top"
 
|-valign="top"
| style="background-color: #4775A3; color: black;" | '''License'''
+
| style="background-color: #4775A3; color: black;" | '''Type'''
 +
| style="background-color: #EEE; color: black; border-left: 1px solid black" | {{{genre|{{{function|<span style="color:#999">''unknown''</span>}}}}}}
 +
|-valign="top"
 +
| style="background-color: #4775A3; color: black;" | '''Licence'''
 
| style="background-color: #EEE; color: black; border-left: 1px solid black" | {{{license|<span style="color:#999">''unknown''</span>}}}
 
| style="background-color: #EEE; color: black; border-left: 1px solid black" | {{{license|<span style="color:#999">''unknown''</span>}}}
 
|-valign="top"
 
|-valign="top"
Line 33: Line 33:
 
==Usage==
 
==Usage==
 
<pre style="overflow:auto">{{Software
 
<pre style="overflow:auto">{{Software
|name= <!-- Delete this line completely to use the {{{PAGENAME}}} variable -->
+
|title            = <!-- Delete this line completely to use the {{{PAGENAME}}} variable -->
|image= <!-- A generic software icon is displayed here if no image is defined -->
+
|logo            = <!-- Delete this line completely to use the generic software icon -->
|developer=
+
|developer       =
|function=
+
|version          =
|version=
+
|status          =
|status=
+
|operating system =
|platform=
+
|language        =
|language=
+
|genre            =
|license=
+
|license         =
|website=
+
|website         =
 
}}</pre>
 
}}</pre>
[[Category:Templates|{{PAGENAME}}]]
+
 
</noinclude>
+
==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.
 +
:Replaces the previous "<code><nowiki>|name=</nowiki></code>" field.
 +
 
 +
'''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.
 +
:Replaces the previous "<code><nowiki>|image=</nowiki></code>" field.
 +
 
 +
'''developer'''
 +
:Name of the current developer of the software product. It can be either an individual or an organization/business.
 +
 
 +
'''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 "<code><nowiki>|platform=</nowiki></code>" 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 [http://en.wikipedia.org/wiki/List_of_software_categories 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 "<code><nowiki>|function=</nowiki></code>" 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. "<code><nowiki>[http://www.example.com]</nowiki></code>". Avoid using printer-hostile forms like "<code><nowiki>[http://www.example.com Example website]</nowiki></code>".
 +
[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
<includeonly>[[Category:Software]]</includeonly>
 
<includeonly>[[Category:Software]]</includeonly>

Revision as of 04:16, 17 January 2015

Software
Software icon.png
Developer(s) unknown
Current version unknown
Development status unknown
Operating system unknown
Available in unknown
Type unknown
Licence unknown
Website unknown

Usage

{{Software
|title            = <!-- Delete this line completely to use the {{{PAGENAME}}} variable -->
|logo             = <!-- Delete this line completely to use the generic software icon -->
|developer        =
|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.
Replaces the previous "|name=" field.

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.
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.

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]". Avoid using printer-hostile forms like "[http://www.example.com Example website]".