Template:Infobox foobar2000 component: Difference between revisions

From Hydrogenaudio Knowledgebase
m (Updated to ensure all components are listed in "foobar2000 components" category.)
m (Partial reversion of previous change.)
Line 82: Line 82:
</noinclude>
</noinclude>
<includeonly>[[Category:foobar2000|{{{name}}}]]
<includeonly>[[Category:foobar2000|{{{name}}}]]
[[Category:foobar2000 components|{{{name}}}]]
{{#switch: {{{maintainer|{{{developer}}}}}}
{{#switch: {{{maintainer|{{{developer}}}}}}
| Peter
| Peter
Line 88: Line 87:
| Peter Pawłowski = [[Category:foobar2000 1st-party components|{{{name}}}]]
| Peter Pawłowski = [[Category:foobar2000 1st-party components|{{{name}}}]]
| [[Category:foobar2000 3rd-Party Components|{{{name}}}]]
| [[Category:foobar2000 3rd-Party Components|{{{name}}}]]
}}
{{#switch: {{#sub:{{{foobar2000_ui_module}}}|0|10}}
| Default UI = [[Category:foobar2000 Default UI components|{{{name|}}}]]
| Columns UI = [[Category:foobar2000 Columns UI components|{{{name|}}}]]
}}
{{#switch: {{#sub:{{{foobar2000_ui_module}}}|-10}}
| Columns UI = [[Category:foobar2000 Columns UI components|{{{name|}}}]]
}}
}}
{{#switch: {{{use}}}
{{#switch: {{{use}}}
Line 101: Line 107:
| [[Category:foobar2000 components|{{{name}}}]]
| [[Category:foobar2000 components|{{{name}}}]]
}}
}}
{{#switch: {{#sub:{{{foobar2000_ui_module}}}|0|10}}
</includeonly>
| Default UI = [[Category:foobar2000 Default UI components|{{{name|}}}]]
| Columns UI = [[Category:foobar2000 Columns UI components|{{{name|}}}]]
}}
{{#switch: {{#sub:{{{foobar2000_ui_module}}}|-10}}
| Columns UI = [[Category:foobar2000 Columns UI components|{{{name|}}}]]
}}</includeonly>

Revision as of 09:49, 11 June 2022

Infobox foobar2000 component

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

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_minimum   = 
| foobar2000_maximum   = 
| 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. <ref> tags are not required and should not be used.
foobar2000_ui_module
This should be either "Default UI", "Columns UI", or both. If left blank, the field will show "N/A".