To contact staff directly or to report bugs, please use Special:Contact.
I have this code in template:
{| align="center" border="0" cellpadding="0" cellspacing="0" |- {{#if: {{{1|}}}| {{!}}[[File:a.svg|32px|alt=A]]}} {{#if: {{{2|}}}| {{!}}[[File:b.svg|32px|alt=B]]}} {{#if: {{{3|}}}| {{!}}[[File:c.svg|32px|alt=C]]}} {{#if: {{{4|}}}| {{!}}[[File:d.svg|32px|alt=D]]}} {{#if: {{{5|}}}| {{!}}[[File:e.svg|32px|alt=E]]}} |- |} when param 1,2,3 is defined(param 5,6 is empty/null), wikia renders a.svg, b.svg and c.svg correctly
however, immediately after anchor element of c.svg,
<p><br></p>
is added into the third cell generating new line.
I don't want the new line. How can I remove it? Thx for any advice. —This unsigned comment is by Kevinlaw (talk • contribs) 12:35, 7. Jul. 2011. Please sign your posts with Kevin Law 12:50, July 7, 2011 (UTC)!
Yes, but still no luck.I believe param 4 & 5 is generating the new lines, so I tried stacking all #if without line break too, but the layout is broken that way:
{| align="center" border="0" cellpadding="0" cellspacing="0" |- {{#if: {{{1|}}}| {{!}}[[File:a.svg|32px|alt=A]]}}{{#if: {{{2|}}}| {{!}}[[File:b.svg|32px|alt=B]]}}{{#if: {{{3|}}}| {{!}}[[File:c.svg|32px|alt=C]]}}{{#if: {{{4|}}}| {{!}}[[File:d.svg|32px|alt=D]]}}{{#if: {{{5|}}}| {{!}}[[File:e.svg|32px|alt=E]]}} |- |} Kevin Law 12:50, July 7, 2011 (UTC)
- template in http://fishhunt.wikia.com/wiki/Template:Sandbox01
- sandbox for testing in http://fishhunt.wikia.com/wiki/Sandbox01
- notice the "D2" icon in infobox at right sideKevin Law
- The last thing I can think of is to use multiple span instead of single row table.
If there's no workaround then nevermind. thx for your help =) —This unsigned comment is by Kevinlaw (wall • contribs) 13:32, 7 July 2011 (UTC). Please sign your comments by adding "~~~~" in the source editor.