Difference between revisions of "Template:Software"

From LDraw.org Wiki
Jump to navigation Jump to search
m (Updated with "Code" template)
(Updated style and added links to field titles)
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="background-color: #F9F9F9; border: 1px solid #AAAAAA; border-radius: 5px; width: 300px; float:right; margin-left: 10px; font-size: 9pt" cellspacing="5" cellpadding="0"
|-valign="middle"
+
|-align="center" valign="middle"
| colspan="2" style="background-color: #4775A3; color: white; text-align:center; font-size: 12pt" | '''{{{title|{{{name|{{PAGENAME}}}}}}}}'''
+
| colspan="2" style="font-size: 12pt; font-weight: bold" | {{{name|{{PAGENAME}}}}}
|-
+
|-align="center" valign="middle"
| colspan="2" style="background-color: #4775A3; color: black; text-align:center;" | [[File:{{{logo|{{{image|Software icon.png}}}}}}|48px|link=]]
+
| colspan="2" | [[File:{{{logo|{{{image|Software icon.png}}}}}}|48px|link=]]
|-valign="top"
+
|-align="left" valign="top"
| style="background-color: #4775A3; color: black; width: 120px" | '''Developer(s)'''
+
| style="width: 120px;" | '''{{w|page=Software_developer|text=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>}}}
+
| {{{developer|<span style="color:#999">''unknown''</span>}}}
|-valign="top"
+
|-align="left" valign="top"
| style="background-color: #4775A3; color: black;" | '''Current version'''
+
| style="width: 120px;" | '''{{w|page=Software_release_life_cycle|text=Current version}}'''
| style="background-color: #EEE; color: black; border-left: 1px solid black" | {{{version|<span style="color:#999">''unknown''</span>}}}
+
| {{{version|<span style="color:#999">''unknown''</span>}}}
|-valign="top"
+
|-align="left" valign="top"
| style="background-color: #4775A3; color: black;" | '''Development status'''
+
| style="width: 120px;" | '''Development status'''
| style="background-color: #EEE; color: black; border-left: 1px solid black" | {{{status|<span style="color:#999">''unknown''</span>}}}
+
| {{{status|<span style="color:#999">''unknown''</span>}}}
|-valign="top"
+
|-align="left" valign="top"
| style="background-color: #4775A3; color: black;" | '''Operating system'''
+
| style="width: 120px;" | '''{{w|page=Operating_system|text=Operating system}}'''
| style="background-color: #EEE; color: black; border-left: 1px solid black" | {{{operating system|{{{platform|<span style="color:#999">''unknown''</span>}}}}}}
+
| {{{operating system|{{{platform|<span style="color:#999">''unknown''</span>}}}}}}
|-valign="top"
+
|-align="left" valign="top"
| style="background-color: #4775A3; color: black;" | '''Available in'''
+
| style="width: 120px;" | '''Available in'''
| style="background-color: #EEE; color: black; border-left: 1px solid black" | {{{language|<span style="color:#999">''unknown''</span>}}}
+
| {{{language|<span style="color:#999">''unknown''</span>}}}
|-valign="top"
+
|-align="left" valign="top"
| style="background-color: #4775A3; color: black;" | '''Type'''
+
| style="width: 120px;" | '''{{w|page=List_of_software_categories|text=Type}}'''
| style="background-color: #EEE; color: black; border-left: 1px solid black" | {{{genre|{{{function|<span style="color:#999">''unknown''</span>}}}}}}
+
| {{{genre|{{{function|<span style="color:#999">''unknown''</span>}}}}}}
|-valign="top"
+
|-align="left" valign="top"
| style="background-color: #4775A3; color: black;" | '''License'''
+
| style="width: 120px;" | '''{{w|page=Software_license|text=License}}'''
| style="background-color: #EEE; color: black; border-left: 1px solid black" | {{{license|<span style="color:#999">''unknown''</span>}}}
+
| {{{license|<span style="color:#999">''unknown''</span>}}}
|-valign="top"
+
|-align="left" valign="top"
| style="background-color: #4775A3; color: black;" | '''Website'''
+
| style="width: 120px;" | '''Website'''
| style="background-color: #EEE; color: black; border-left: 1px solid black" | {{{website|<span style="color:#999">''unknown''</span>}}}
+
| {{{website|<span style="color:#999">''unknown''</span>}}}
 
|-
 
|-
 
|}<noinclude>
 
|}<noinclude>
Line 33: Line 33:
 
==Usage==
 
==Usage==
 
<pre style="overflow:auto">{{Software
 
<pre style="overflow:auto">{{Software
|title            = <!-- Delete this line completely to use the {{{PAGENAME}}} variable -->
+
|title            = <!-- Delete this parameter completely to use the {{{PAGENAME}}} parameter -->
|logo            = <!-- Delete this line completely to use the generic software icon -->
+
|logo            = <!-- Delete this parameter completely to use the generic software icon -->
 
|developer        =  
 
|developer        =  
 
|version          =  
 
|version          =  
Line 84: Line 84:
 
'''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:Templates|{{PAGENAME}}]]</noinclude>
+
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
 
<includeonly>[[Category:Software]]</includeonly>
 
<includeonly>[[Category:Software]]</includeonly>

Revision as of 08:32, 18 January 2015

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

Usage

{{Software
|title            = <!-- Delete this parameter completely to use the {{{PAGENAME}}} parameter -->
|logo             = <!-- Delete this parameter 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.

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