Difference between revisions of "Template:Software Infobox"

From Hydrogenaudio Knowledgebase
Jump to: navigation, search
(Usage)
m (Minor code fix.)
(22 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{| align="right" style="padding-left: 15px;"
+
{| style="width: 22em; float: right; margin-left: 10px; margin-bottom: 10px; border: solid 1px #AAAAAA; background-color: #F9F9F9; font-size: 88%;"
|
+
|+ style="font-size: 130%" | '''{{{name|{{PAGENAME}}}}}'''
{| cellspacing="5" style="width: 24em; font-size: 90%; text-align: left; border:1px solid; background: #efefef;"
+
|+ style="font-size: 130%; font-weight: bold;" | {{{name}}}
+
 
|-
 
|-
! colspan="2" style="text-align:center; font-weight: normal;" | {{{screenshot}}}
+
! colspan="2" style="text-align:center; font-weight: normal; {{#if: {{{logo|}}} | | display:none; }}" | {{{logo}}}
 +
|- style="text-align: center; font-size: 75%; margin: 0px; padding: 0px; {{#if: {{{screenshot|}}} | | display:none; }}"
 +
| colspan="2" | {{{screenshot}}}<br/>{{{caption|}}}
 +
|-
 +
| '''Developer(s)'''
 +
| {{{maintainer|{{{developer|TBC}}}}}}
 
|-
 
|-
! colspan="2" style="text-align:center; font-size: 80%; font-weight: normal;" | {{{caption}}}
+
! colspan="2" style="background: #DDDDDD;" | Release information
|- style="text-align:left; font-weight:bold;"
+
|-
| Maintainer: || {{{maintainer}}}
+
| '''Initial release'''
|- style="text-align:left; font-weight:bold;"
+
| {{#dateformat:{{{released|Unknown}}}|dmy}}
| Stable release: || {{{stable_release}}}
+
|-  
|- style="text-align:left; font-weight:bold;"
+
| '''Stable release'''
| Preview release: || {{{preview_release}}}
+
| {{{stable_release|TBC}}} {{#if:{{{stable_release_date|}}}|/ {{#dateformat:{{{stable_release_date}}}|mdy}}}}
|- style="text-align:left; font-weight:bold;"
+
|- {{#if: {{{preview_release|}}} | | style="display: none;" }}
| OS: || {{{operating_system}}}
+
| '''Preview release'''
|- style="text-align:left; font-weight:bold;"
+
| {{{preview_release}}}{{#if:{{{preview_release_date|}}}|&nbsp;/ {{#dateformat:{{{preview_release_date}}}|mdy}}}}{{#if:{{{preview_release_ref|}}}|{{#tag:ref|{{{preview_release_ref}}}}}}}
| Use: || {{{use}}}
+
|-
|- style="text-align:left; font-weight:bold;"
+
! colspan="2" style="background: #DDDDDD;" | Compatibility
| License: || {{{license}}}
+
|-
|- style="text-align:left; font-weight:bold;"
+
| style="min-width: 90px" | '''Operating system'''
| Website: || {{{website}}}
+
| {{{operating_system|TBC}}}
|}
+
|-  
|}
+
! colspan="2" style="background: #DDDDDD;" | Additional information
<noinclude>
+
|-
 +
| '''Use'''
 +
| {{{use|TBC}}}
 +
|-  
 +
| '''License'''
 +
| {{{license|TBC}}}
 +
|- {{#if: {{{website|}}} | | style="display: none;" }}
 +
| '''Website'''
 +
| {{{website}}}
 +
|}<noinclude>
 
== Usage ==
 
== Usage ==
{| style="background: transparent;"
+
<pre style="display:table;">{{Software Infobox
|<pre>{{Software Infobox
+
| name                 =
| name =  
+
| logo                =
| screenshot =  
+
| screenshot           =  
| caption =  
+
| caption             =  
| maintainer =  
+
| developer            =
| stable_release =  
+
| released            =  
| preview_release =  
+
| stable_release       =
| operating_system =  
+
| stable_release_date  =  
| use =  
+
| preview_release     =
| license =  
+
| preview_release_date =
| website =  
+
| preview_release_ref  =
 +
| operating_system     =  
 +
| use                 =  
 +
| license             =  
 +
| website             =  
 
}}
 
}}
 
</pre>
 
</pre>
|}
+
===Usage notes===
 
+
; screenshot
'''Special note on website field:''' If the URL is too long, enclose it in the WikiLink syntax, i.e. '''<nowiki>[</nowiki><font style="color:#ccccff;"><nowiki>http://www.somewhere.net/</nowiki></font> Click Here]'''.
+
: 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
'''Use of 250px pictures in preferred in the screenshot field.'''
+
: This should be the date in the <code><nowiki>YYYY-DD-MM</nowiki></code> format.
 
+
; website
[[Category:Templates|{{PAGENAME}}]]
+
: 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>
 
</noinclude>

Revision as of 16:58, 13 July 2019

Software Infobox
{{{logo}}}
{{{screenshot}}}
Developer(s) TBC
Release information
Initial release Unknown
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             = 
| stable_release       = 
| stable_release_date  = 
| preview_release      = 
| preview_release_date = 
| 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]