Template:Infobox foobar2000 component: Difference between revisions
Beardgoggles (talk | contribs) m (Minor update to infobox CSS.) |
Beardgoggles (talk | contribs) m (Updated screenshot variable to try and set image width automatically.) |
||
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" | {{{screenshot|[[Image:foobar2000 component placeholder.png|256x128px|link=|alt=]] | | colspan="2" | {{#if: {{{screenshot|}}} | {{#ifeq: {{#sub:{{{screenshot}}}|0|2}} | <nowiki>[[</nowiki> | {{{screenshot}}} | [[File:{{{screenshot}}}|240px]] }} | [[Image: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)''' | ||
Line 15: | 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}}}}}}} | ||
|- {{#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}})}} |
Revision as of 16:37, 14 August 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:
{{Foobar Component Infobox | name = | screenshot = | caption = | module_name = | developer = | repository = | released = | released_ref = | stable_release = | stable_release_date = | preview_release = | preview_release_date = | foobar2000_minimum = | 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".