Template:Planet: Difference between revisions

Added a bit to make the image appear only if it's provided
(Trying this)
(Added a bit to make the image appear only if it's provided)
Line 1: Line 1:
{| class="toccolours" style="clear:left; float:right; margin:0 0 0.5em 1em; width:22em; font-size:smaller;"
{| class="toccolours" style="clear:left; float:right; margin:0 0 0.5em 1em; width:22em; font-size:smaller;"
|-
|-
|colspan=2 style="text-align:center;" | [[File:{{{image}}}|210px]]
|colspan=2 style="text-align:center;" | {{#if: {{{image|}}}|[[File:{{{image}}}|210px]]}}
|-
|-
!colspan=2 bgcolor="#999999" style="color:#fff; font-size:larger;" |{{{name}}}
!colspan=2 bgcolor="#999999" style="color:#fff; font-size:larger;" |{{{name}}}