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.)
 
(40 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{| class="infobox bordered" style="border:1px solid #C0C090;width: 25em; text-align: left; font-size: 95%;"
{{DISPLAYTITLE:{{{name|{{PAGENAME}}}}}}}
|+ style="font-size: larger;" | '''{{{name}}}'''
{| style="width: 256px; float: right; margin-left: 10px; margin-bottom: 10px; border: solid 1px #AAAAAA; background-color: #F9F9F9; font-size: 88%;"
|+ style="font-size: 130%" | '''{{{name|{{PAGENAME}}}}}'''
|-
|-
| colspan="2" style="text-align:center;" | [[Image:{{{image}}}|300px| ]]<br>{{{caption}}}
! 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|}}}
|- style="vertical-align: top;"
| '''Developer(s)'''
| {{{maintainer|{{{developer|TBC}}}}}}
|-
! colspan="2" style="background: #DDDDDD;" | Release information
|- {{#if: {{{released|}}} | | style="display: none;" }}
| '''Initial release'''
| {{#dateformat:{{{released}}}|dmy}}
|-  
|-  
! Data 1:
| '''Stable release'''
| {{{data1}}}
| {{{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}}}
|-  
|-  
! Data 2:
! colspan="2" style="background: #DDDDDD;" | Additional information
| {{{data2|''this text displayed if data2 not defined''}}}
|-
|-
| '''Use'''
! Data 3 (data hidden if data3 empty or not defined):
| {{{use|TBC}}}
| {{{data3|}}}
|-  
|-  
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
| '''License'''
|}
| {{{license|TBC}}}
|- {{#if: {{{website|}}} | | style="display: none;" }}
| '''Website'''
| {{{website}}}
|}<noinclude>
== Usage ==
<pre style="display:table;">{{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              =
}}
</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]