Template:Software Infobox: Difference between revisions

From Hydrogenaudio Knowledgebase
No edit summary
m (Added "DISPLAYTITLE" behaviour switch to simplify code on pages where titles start with lower-case letter.)
 
(38 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="5" style="width: 24em; font-size: 90%; text-align: left;"
{{DISPLAYTITLE:{{{name|{{PAGENAME}}}}}}}
|+ style="font-size: 130%; font-weight: bold;" | {{{name}}}
{| style="width: 256px; float: right; margin-left: 10px; margin-bottom: 10px; border: solid 1px #AAAAAA; background-color: #F9F9F9; font-size: 88%;"
! colspan="2" style="text-align: center" | {{{logo|}}}
|+ style="font-size: 130%" | '''{{{name|{{PAGENAME}}}}}'''
{{#if:{{{screenshot|}}}|
|-
<tr><td colspan="2" style="text-align: center;">{{{screenshot|}}}<br />{{{caption}}}</td></tr>
! colspan="2" style="text-align:center; font-weight: normal; {{#if: {{{logo|}}} | | display:none; }}" | {{{logo}}}
}}{{#if:{{{developer|}}}|
|- style="text-align: center; font-size: 75%; margin: 0px; padding: 0px; {{#if: {{{screenshot|}}} | | display:none; }}"
<tr><th>[[Software maintenance|Maintainer]]:</th><td>{{{developer|}}}</td></tr>
| colspan="2" | {{{screenshot}}}<br/>{{{caption|}}}
}}{{#if:{{{latest release version|{{{latest_release_version|}}}}}}|
|- style="vertical-align: top;"
<tr><th>[[Software release|Latest release]]:</th><td>{{{latest release version|{{{latest_release_version|}}}}}} / {{{latest release date|{{{latest_release_date|}}}}}}</td></tr>
| '''Developer(s)'''
}}{{#if:{{{latest preview version|{{{latest_preview_version|}}}}}}|
| {{{maintainer|{{{developer|TBC}}}}}}
<tr><th>[[Software release|Preview release]]:</th><td>{{{latest preview version|{{{latest_preview_version|}}}}}} / {{{latest preview date|{{{latest_preview_date|}}}}}}</td></tr>
|-
}}{{#if:{{{operating system|{{{operating_system|}}}}}}|
! colspan="2" style="background: #DDDDDD;" | Release information
<tr><th>[[Operating system|OS]]:</th><td>{{{operating system|{{{operating_system}}}}}}</td></tr>
|- {{#if: {{{released|}}} | | style="display: none;" }}
}}{{#if:{{{platform|}}}|
| '''Initial release'''
<tr><th>[[Platform (computing)|Platform]]:</th><td>{{{platform|}}}</td></tr>
| {{#dateformat:{{{released}}}|dmy}}
}}
|-
| '''Stable release'''
| {{{stable_release|TBC}}} {{#if:{{{stable_release_date|}}} | ({{#dateformat:{{{stable_release_date}}}|mdy}})}}
|- {{#if: {{{preview_release|}}} | | style="display: none;" }}
| '''Preview release'''
| {{{preview_release}}}{{#if:{{{preview_release_date|}}}|&nbsp;/ {{#dateformat:{{{preview_release_date}}}|mdy}}}}{{#if:{{{preview_release_ref|}}}|{{#tag:ref|{{{preview_release_ref}}}}}}}
|-
! colspan="2" style="background: #DDDDDD;" | Compatibility
|- style="vertical-align: top;"
| style="min-width: 90px" | '''Operating system'''
| {{{operating_system|TBC}}}
|-  
|-  
! Use:
! colspan="2" style="background: #DDDDDD;" | Additional information
|{{{genre|{{{use|}}}}}}
|-
{{#if:{{{license|}}}|
| '''Use'''
<tr><th>[[Software license|License]]:</th><td>{{{license}}}</td></tr>|
| {{{use|TBC}}}
{{#if:{{{licence|}}}|
<tr><th>[[Software license|Licence]]:</th><td>{{{licence}}}</td></tr>
}}}}
|-  
|-  
! [[Website]]:
| '''License'''
| {{{license|TBC}}}
|- {{#if: {{{website|}}} | | style="display: none;" }}
| '''Website'''
| {{{website}}}
| {{{website}}}
|}<noinclude>
|}<noinclude>
== Usage ==
== Usage ==
{| style="background: transparent;"
<pre style="display:table;">{{Software Infobox
|<pre>{{Infobox Software
| name                 =  
| name =  
| logo                 =
| logo =  
| screenshot           =  
| screenshot =  
| caption             =  
| caption =  
| developer           =  
| developer =  
| released            = <!-- {{start date and age|YYYY|MM|DD}} -->
| latest release version =  
| stable_release      =
| latest release date =
| stable_release_date  = <!-- {{start date and age|YYYY|MM|DD}} -->
| latest preview version =  
| preview_release      =  
| latest preview date =
| preview_release_date = <!-- {{start date and age|YYYY|MM|DD}} -->
| operating system =  
| preview_release_ref  =
| platform =  
| operating_system    =  
| genre =  
| use                  =  
| license =  
| license             =  
| website =  
| website             =  
}}
}}
</pre></noinclude>
</pre>
|}
===Usage notes===
; screenshot
: A 250px width is preferred. If your picture is larger than 250px, reduce it to 250px by inserting the resize option, e.g. <code><nowiki>[[Image:MyPicture.png|250px]]</nowiki></code>
; released
: This should be the date in the <code><nowiki>YYYY-DD-MM</nowiki></code> format.
; website
: If the URL is too long, enclose it in the WikiLink syntax, i.e. <code><nowiki>[http://www.somewhere.net/ somewhere.net]</nowiki></code>
[[Category:Infobox templates]]
</noinclude>

Latest revision as of 17:25, 30 November 2019

Software Infobox
{{{logo}}}
{{{screenshot}}}
Developer(s) TBC
Release information
Initial release {{{released}}}
Stable release TBC
Preview release {{{preview_release}}}
Compatibility
Operating system TBC
Additional information
Use TBC
License TBC
Website {{{website}}}

Usage

{{Software Infobox
| name                 = 
| logo                 =
| screenshot           = 
| caption              = 
| developer            = 
| released             = <!-- {{start date and age|YYYY|MM|DD}} -->
| stable_release       = 
| stable_release_date  = <!-- {{start date and age|YYYY|MM|DD}} -->
| preview_release      = 
| preview_release_date = <!-- {{start date and age|YYYY|MM|DD}} -->
| preview_release_ref  =
| operating_system     = 
| use                  = 
| license              = 
| website              = 
}}

Usage notes

screenshot
A 250px width is preferred. If your picture is larger than 250px, reduce it to 250px by inserting the resize option, e.g. [[Image:MyPicture.png|250px]]
released
This should be the date in the YYYY-DD-MM format.
website
If the URL is too long, enclose it in the WikiLink syntax, i.e. [http://www.somewhere.net/ somewhere.net]