User:Edgarde/awards

{{#if:{{{grammy|}}}{{{downbeat|}}} | {{{!}} class="collapsible collapsed" style="width: 100%; background: #FAFAFA"; ! style="background-color:{{#if:{{{deathdate|}}}|silver|&#35;ed8}}" {{!}} {{spaces|20}}Awards{{spaces|25}} {{!}}- {{#if:{{{grammy | }}} | ! colspan="2" style="text-align:center; background-color:{{#if:{{{deathdate|}}}|silver|&#35;ed8}}; color:#000;" {{!}} Grammy Awards {{!}}- {{!}} colspan="2" {{!}} {{{grammy}}} {{!}}- {{#if:{{{downbeat | }}} | ! colspan="2" style="text-align:center; background-color:{{#if:{{{deathdate|}}}|silver|&#35;ed8}}; color:#000;" {{!}} Down Beat Jazz Hall of Fame {{!}}- {{!}} colspan="2" {{!}} {{{downbeat}}} {{!}}- }} {{!}}- }} {{!}}- }}

Purpose
This is a demo for parameters I would like added to Infobox Musical artist. This is not intended for use as a freestanding template.

Usage
If no award parameters are entered, this entire box (including the word "Awards") is suppressed.
 * grammy is for artist awards only, not awards to particular works by an artist. For example, albums awards go on the article for that album. (This is necessary to avoid crowding the infobox for some artists.)
 * downbeat has two polls: "Readers Poll" and "Critics Poll". (Do not use quotes.)

Example
input:

output:

{{#if:1975 Best New Artist1984 Critics Poll | {{{!}} class="collapsible collapsed" style="width: 100%; background: #FAFAFA"; ! style="background-color:{{#if:|silver|&#35;ed8}}" {{!}} {{spaces|20}}Awards{{spaces|25}} {{!}}- {{#if:1975 Best New Artist | ! colspan="2" style="text-align:center; background-color:{{#if:|silver|&#35;ed8}}; color:#000;" {{!}} Grammy Award {{!}}- {{!}} colspan="2" {{!}} 1975 Best New Artist {{!}}- {{#if:1984 Critics Poll | ! colspan="2" style="text-align:center; background-color:{{#if:|silver|&#35;ed8}}; color:#000;" {{!}} Down Beat Jazz Hall of Fame {{!}}- {{!}} colspan="2" {{!}} 1984 Critics Poll {{!}}- }} {{!}}- }} {{!}}- }}
 * }