Difference between revisions of "Template:Infobox foobar2000 component"

From Hydrogenaudio Knowledgebase
Jump to: navigation, search
m (Fields: Updated usage details.)
m (Updated template to hide "discussion_thread" row if not included.)
Line 34: Line 34:
 
| '''License'''
 
| '''License'''
 
| {{{license|Unknown}}}
 
| {{{license|Unknown}}}
|- style="vertical-align: top;"
+
|- {{#if: {{{discussion_thread|}}} | style="vertical-align: top;" | style="display: none;" }}
 
| '''Discussion thread'''
 
| '''Discussion thread'''
 
| {{{discussion_thread|N/A}}}
 
| {{{discussion_thread|N/A}}}
Line 69: Line 69:
 
: The component’s release date in the following format: {{code|YYYY-MM-DD}}
 
: The component’s release date in the following format: {{code|YYYY-MM-DD}}
 
; released_ref
 
; released_ref
: This should be a link to source of the release date, using standard wiki formatting. {{code|<nowiki><ref></nowiki>}} tags are not required and '''should not''' be included.
+
: This should be a link to source of the release date, using standard wiki formatting. {{code|<nowiki><ref></nowiki>}} tags are not required and '''should not''' be used.
 
; foobar2000_ui_module
 
; foobar2000_ui_module
 
: This should be either "Default User Inferface", "Columns UI", or both. If left blank, the field will show "N/A".
 
: This should be either "Default User Inferface", "Columns UI", or both. If left blank, the field will show "N/A".
Line 75: Line 75:
 
</noinclude>
 
</noinclude>
 
<includeonly>[[Category:foobar2000]]
 
<includeonly>[[Category:foobar2000]]
{{#switch: {{{maintainer|{{{developer}}}}}}
 
| Peter Pawlowski = [[Category:foobar2000 1st-party components|{{{name}}}]]
 
| [[Category:foobar2000 3rd-Party Components|{{{name}}}]]
 
}}
 
 
{{#switch: {{{use}}}
 
{{#switch: {{{use}}}
 
| DSP = [[Category:foobar2000 DSP components|{{{name}}}]]
 
| DSP = [[Category:foobar2000 DSP components|{{{name}}}]]
Line 85: Line 81:
 
| UI = [[Category:foobar2000 UI components|{{{name}}}]]
 
| UI = [[Category:foobar2000 UI components|{{{name}}}]]
 
| [[Category:foobar2000]]
 
| [[Category:foobar2000]]
 +
}}
 +
{{#switch: {{{maintainer|{{{developer}}}}}}
 +
| Peter
 +
| Peter Pawlowski
 +
| Peter Pawłowski = [[Category:foobar2000 1st-party components|{{{name}}}]]
 +
| [[Category:foobar2000 3rd-Party Components|{{{name}}}]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 18:37, 7 July 2019

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:

{{Foobar Component Infobox
| name                 = 
| screenshot           = 
| caption              = 
| module_name          = 
| developer            = 
| released             = 
| released_ref         = 
| stable_release       = 
| stable_release_date  = 
| preview_release      = 
| preview_release_date = 
| foobar2000_version   = 
| foobar2000_ui_module = 
| use                  = 
| license              = 
| discussion_thread    = 
}}

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 User Inferface", "Columns UI", or both. If left blank, the field will show "N/A".