Template:Course infobox: Difference between revisions

If this is right, nothing should look different...
(While I must concede this looks sloppy, the new lines effected the outcome of the actual template.)
(If this is right, nothing should look different...)
Line 18: Line 18:
{{#if:{{{yellow-coins|}}}{{{red-coins|}}}{{{blue-coins|}}}|{{!}}- style="vertical-align: top;"
{{#if:{{{yellow-coins|}}}{{{red-coins|}}}{{{blue-coins|}}}|{{!}}- style="vertical-align: top;"
{{!}} '''Coins'''
{{!}} '''Coins'''
{{!}} {{#if:{{{yellow-coins|}}}|[[File:Yellow_Coin.gif|link=Yellow_Coin|20px]] ×{{{yellow-coins}}}|}}{{b}}{{#if:{{{red-coins|}}}|[[File:Red_Coin.gif|link=Red_Coin|20px]] ×{{{red-coins}}}|}}{{b}}{{#if:{{{blue-coins|}}}|[[File:Blue_Coin.gif|link=Blue_Coin|20px]] ×{{{blue-coins}}}|}}
{{!}} {{#if:{{{yellow-coins|}}}|[[File:Yellow_Coin.gif|link=Yellow_Coin|20px]] ×{{{yellow-coins}}}|}}{{#if{{{yellow-coins}}}{{#if:{{{red-coins|}}}|{{#if{{{yellow-coins|}}}{{b}}}}[[File:Red_Coin.gif|link=Red_Coin|20px]] ×{{{red-coins}}}|}}{{b}}{{#if:{{{blue-coins|}}}|[[File:Blue_Coin.gif|link=Blue_Coin|20px]] ×{{{blue-coins}}}|}}
| }}
| }}
|}
|}