Template:Course infobox: Difference between revisions

Those {{b}} are alot more complicated than first glance.
(Undo revision 1156 by JoshDuMan (talk))
(Those {{b}} are alot more complicated than first glance.)
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: {{{red-coins|}}} | {{#if: {{{yellow-coins|}}} |  {{b}}  | }} | }}{{#if:{{{red-coins|}}}|[[File:Red_Coin.gif|link=Red_Coin|20px]] ×{{{red-coins}}}|}}{{#if: {{{blue-coins|}}} | {{#if: {{{red-coins|}}} |  {{b}}  | {{#if: {{{yellow-coins|}}} |  {{b}}  | }} }} | }}{{#if:{{{blue-coins|}}}|[[File:Blue_Coin.gif|link=Blue_Coin|20px]] ×{{{blue-coins}}}|}}
| }}
| }}
|}
|}