Template:Infobox foobar2000 component: Difference between revisions

From Hydrogenaudio Knowledgebase
mNo edit summary
m (Attempt to fix "256px" below screenshot image)
 
(6 intermediate revisions by one other user not shown)
Line 3: Line 3:
! colspan="2" style="font-size: 125%" | {{{name|{{PAGENAME}}}}}
! colspan="2" style="font-size: 125%" | {{{name|{{PAGENAME}}}}}
|- style="text-align: center; font-size: 75%; margin: 0px; padding: 0px"
|- style="text-align: center; font-size: 75%; margin: 0px; padding: 0px"
| colspan="2" | {{#if:{{{screenshot|}}}|{{#ifeq:{{#sub:{{{screenshot}}}|2|4}}|File|{{{screenshot}}}|[[File:{{{screenshot}}}|256px]] }}<br/>{{{caption|}}}|[[File:foobar2000 component placeholder.png|256x128px|link=|alt=]]<br/>{{{module_name|foobar2000 component}}}}}
| colspan="2" | {{#if:{{{screenshot|}}}|{{#ifeq:{{#sub:{{{screenshot}}}|2|5}}|File:|{{{screenshot}}}|{{#ifeq:{{#sub:{{{screenshot}}}|2|6}}|Image:|{{{screenshot}}}|{{{screenshot}}}}}}}<br/>{{{caption|}}}|[[File:foobar2000 component placeholder.png|256x128px|link=|alt=]]<br/>{{{module_name|foobar2000 component}}}}}
|- style="vertical-align: top;"
|- style="vertical-align: top;"
| style="width: 100px" | '''Developer(s)'''
| style="width: 100px" | '''Developer(s)'''
Line 24: Line 24:
! colspan="2" style="background: #DDDDDD;" | foobar2000 compatibility
! colspan="2" style="background: #DDDDDD;" | foobar2000 compatibility
|- {{#if: {{{foobar2000_architecture|}}} | style="vertical-align: top;" | style="display: none;" }}
|- {{#if: {{{foobar2000_architecture|}}} | style="vertical-align: top;" | style="display: none;" }}
| '''Architecture'''
| '''<abbr title="Supported architecture, e.g., 32-bit, 64-bit, ARM">Architecture</abbr>'''
| {{{foobar2000_architecture}}}
| {{{foobar2000_architecture}}}
|- style="vertical-align: top;"
|- style="vertical-align: top;"
Line 108: Line 108:
}}
}}
{{#switch: {{#sub:{{{foobar2000_ui_module}}}|0|10}}
{{#switch: {{#sub:{{{foobar2000_ui_module}}}|0|10}}
| Default UI = [[Category:foobar2000 Default UI components|{{{name|}}}]]
| Default UI = {{#ifeq: {{lc:{{{foobar2000_legacy}}}}} | true | [[Category:foobar2000 Legacy Default UI components|{{{name}}}]] | [[Category:foobar2000 Default UI components|{{{name}}}]] }}
| Columns UI = [[Category:foobar2000 Columns UI components|{{{name|}}}]]
| Columns UI = {{#ifeq: {{lc:{{{foobar2000_legacy}}}}} | true | [[Category:foobar2000 Legacy Columns UI components|{{{name}}}]] | [[Category:foobar2000 Columns UI components|{{{name|}}}]] }}
}}
}}
{{#switch: {{#sub:{{{foobar2000_ui_module}}}|-10}}
{{#switch: {{#sub:{{{foobar2000_ui_module}}}|-10}}
| Columns UI = [[Category:foobar2000 Columns UI components|{{{name|}}}]]
| Columns UI = {{#ifeq: {{lc:{{{foobar2000_legacy}}}}} | true | [[Category:foobar2000 Legacy Columns UI components|{{{name}}}]] | [[Category:foobar2000 Columns UI components|{{{name|}}}]] }}
}}
}}
{{#switch: {{{maintainer|{{{developer}}}}}}
{{#switch: {{{maintainer|{{{developer}}}}}}

Latest revision as of 12:08, 31 May 2024

Infobox foobar2000 component

foobar2000 component
Developer(s) TBC
Repository {{{repository}}}
Release information
Initial release {{{released}}}
Stable release TBC
Preview release N/A
foobar2000 compatibility
Architecture {{{foobar2000_architecture}}}
Minimum version TBC
Maximum version {{{foobar2000_maximum}}}
UI module(s) N/A
Additional information
Use TBC
License {{{license}}}
Discussion thread {{{discussion_thread}}}
View all components

This infobox provides at-a-glance information for foobar2000 components.

Using this template automatically adds the page to the foobar2000 category , so the {{fb2k}} template is not required.

Usage

Insert the following template at the beginning of the article, but below any hatnote templates:

{{infobox foobar2000 component
| name                    = 
| screenshot              = 
| caption                 = 
| module_name             = 
| developer               = 
| repository              = 
| released                = 
| released_ref            = 
| stable_release          = 
| stable_release_date     = 
| preview_release         = 
| preview_release_date    = 
| foobar2000_architecture = 
| foobar2000_minimum      = 
| foobar2000_maximum      = 
| foobar2000_legacy       = 
| foobar2000_ui_module    = 
| use                     = 
| license                 = 
}}

Fields

screenshot
An image in the following format: [[Image:...|256px]]
released
The component’s release date in the following format: YYYY-MM-DD
released_ref
This should be a link to source of the release date, using standard wiki formatting, i.e. [https://www.example.com Example].
<ref> tags are not required and should not be used.
foobar2000_architecture
This should be x86 32-bit, x86 64-bit, or both.
foobar2000_legacy
Whether the component is considered "legacy", i.e. it does not work as expected with foobar2000 v2.0 and later. This should be either true or false. Leaving this parameter blank is the equivalent of false.
foobar2000_ui_module
This should be either Default UI, Columns UI, or both. If left blank, the field will show "N/A".