Difference between revisions of "Template:Infobox foobar2000 component"
From Hydrogenaudio Knowledgebase
Beardgoggles (Talk | contribs) m (Minor update to categorisation switch.) |
Beardgoggles (Talk | contribs) m (Beardgoggles moved page Template:Foobar Component Infobox to Template:Infobox foobar2000 component: Updated template name to use more standard nomenclature) |
||
(26 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | {| class="ha-infobox | + | {| class="ha-infobox" style="background-color: #F9F9F9; border: solid 1px #AAAAAA; float: right; font-size: 88%; margin: 0 0 1em 1em; width: 256px;" |
|- | |- | ||
! 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" | {{{screenshot|[[ | + | | colspan="2" | {{{screenshot|[[File:foobar2000 component placeholder.png|256x128px|link=|alt=]]}}}<br/>{{{caption|{{{module_name|}}}}}} |
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| style="width: 100px" | '''Developer(s)''' | | style="width: 100px" | '''Developer(s)''' | ||
| {{{maintainer|{{{developer|TBC}}}}}} | | {{{maintainer|{{{developer|TBC}}}}}} | ||
+ | |- {{#if: {{{repository|}}} | style="vertical-align: top;" | style="display: none;" }} | ||
+ | | '''Repository''' | ||
+ | | {{{repository}}} | ||
|- | |- | ||
! colspan="2" style="background: #DDDDDD;" | Release information | ! colspan="2" style="background: #DDDDDD;" | Release information | ||
Line 12: | Line 15: | ||
| '''Initial release''' | | '''Initial release''' | ||
| {{#dateformat:{{{released}}}|mdy}}{{#if:{{{released_ref|}}}|{{#tag:ref|{{{released_ref}}}}}}} | | {{#dateformat:{{{released}}}|mdy}}{{#if:{{{released_ref|}}}|{{#tag:ref|{{{released_ref}}}}}}} | ||
− | |- style="vertical-align: top;" | + | |- {{#if: {{{stable_release|}}} | style="vertical-align: top;" | style="display: none;" }} |
| '''Stable release''' | | '''Stable release''' | ||
| {{{stable_release|TBC}}} {{#if:{{{stable_release_date|}}}|({{#dateformat:{{{stable_release_date}}}|mdy}})}} | | {{{stable_release|TBC}}} {{#if:{{{stable_release_date|}}}|({{#dateformat:{{{stable_release_date}}}|mdy}})}} | ||
Line 22: | Line 25: | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| '''Minimum version''' | | '''Minimum version''' | ||
− | | {{{foobar2000_version|{{{foobar_version|TBC}}}}}} | + | | {{#if:{{{foobar2000_minimum|{{{foobar2000_version|{{{foobar_version|}}}}}}}}}|{{{foobar2000_minimum|{{{foobar2000_version|{{{foobar_version}}}}}}}}}|TBC}} |
+ | |- {{#if: {{{foobar2000_maximum|}}} | style="vertical-align: top;" | style="display: none;" }} | ||
+ | | '''Maximum version''' | ||
+ | | {{{foobar2000_maximum}}} | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| '''UI module(s)''' | | '''UI module(s)''' | ||
− | | {{{foobar2000_ui_module|N/A | + | | {{#if:{{{foobar2000_ui_module|}}}|{{{foobar2000_ui_module}}}|N/A}} |
|- | |- | ||
! colspan="2" style="background: #DDDDDD;" | Additional information | ! colspan="2" style="background: #DDDDDD;" | Additional information | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| '''Use''' | | '''Use''' | ||
− | | {{{use| | + | | {{#if:{{{use|}}}|{{{use}}}|TBC}} |
|- {{#if: {{{license|}}} | style="vertical-align: top;" | style="display: none;" }} | |- {{#if: {{{license|}}} | style="vertical-align: top;" | style="display: none;" }} | ||
| '''License''' | | '''License''' | ||
Line 37: | Line 43: | ||
| '''Discussion thread''' | | '''Discussion thread''' | ||
| {{{discussion_thread|N/A}}} | | {{{discussion_thread|N/A}}} | ||
− | |} | + | |}{{DISPLAYTITLE:foobar2000:Components/{{{name}}} ({{{module_name}}})}} |
<noinclude>This infobox provides at-a-glance information for [[foobar2000]] components. | <noinclude>This infobox provides at-a-glance information for [[foobar2000]] components. | ||
Line 45: | Line 51: | ||
Insert the following template '''at the beginning''' of the article, but '''below''' any [[:Category:Hatnote templates|hatnote templates]]: | Insert the following template '''at the beginning''' of the article, but '''below''' any [[:Category:Hatnote templates|hatnote templates]]: | ||
− | <pre style="display:table;">{{ | + | <pre style="display:table;">{{infobox foobar2000 component |
| name = | | name = | ||
| screenshot = | | screenshot = | ||
Line 51: | Line 57: | ||
| module_name = | | module_name = | ||
| developer = | | developer = | ||
+ | | repository = | ||
| released = | | released = | ||
| released_ref = | | released_ref = | ||
Line 57: | Line 64: | ||
| preview_release = | | preview_release = | ||
| preview_release_date = | | preview_release_date = | ||
− | | | + | | foobar2000_minimum = |
+ | | foobar2000_maximum = | ||
| foobar2000_ui_module = | | foobar2000_ui_module = | ||
| use = | | use = | ||
Line 75: | Line 83: | ||
<includeonly>[[Category:foobar2000]] | <includeonly>[[Category:foobar2000]] | ||
{{#switch: {{{use}}} | {{#switch: {{{use}}} | ||
− | | DSP = [[Category:foobar2000 DSP components|{{{name}}}]] | + | | Diagnostic = [[Category:foobar2000 diagnostic components|{{{name}}}]] |
− | | Output = [[Category:foobar2000 output components|{{{name}}}]] | + | | DSP = [[Category:foobar2000 DSP components|{{{name}}}]] |
− | | Tagging = [[Category:foobar2000 tagging components|{{{name}}}]] | + | | Decoder |
− | | UI = [[Category:foobar2000 UI components|{{{name}}}]] | + | | Input = [[Category:foobar2000 input components|{{{name}}}]] |
− | | [[Category:foobar2000 components]] | + | | Output = [[Category:foobar2000 output components|{{{name}}}]] |
+ | | Tagging = [[Category:foobar2000 tagging components|{{{name}}}]] | ||
+ | | UI = [[Category:foobar2000 UI components|{{{name}}}]] | ||
+ | | Visualization = [[Category:foobar2000 visualization components|{{{name}}}]] | ||
+ | | [[Category:foobar2000 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: {{{maintainer|{{{developer}}}}}} | {{#switch: {{{maintainer|{{{developer}}}}}} |
Revision as of 21:36, 2 December 2019
Infobox foobar2000 component | |
---|---|
| |
Developer(s) | TBC |
Release information | |
foobar2000 compatibility | |
Minimum version | TBC |
UI module(s) | N/A |
Additional information | |
Use | TBC |
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 User Inferface", "Columns UI", or both. If left blank, the field will show "N/A".