Template:Asbox: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>TheDJ
m Check if the image exists
meta>TheDJ
use different Error indicator for broken images.
Line 3: Line 3:
  |<td>{{#if:{{{icon|}}}
  |<td>{{#if:{{{icon|}}}
   |{{{icon}}}
   |{{{icon}}}
   |{{#ifexist:Media:{{{image}}}|[[File:{{{image}}}|{{#if:{{{pix|}}}|{{{pix}}}|40x30}}px|alt={{{imagealt|Stub icon}}}]]|[[Category:Stub message boxes needing attention|{{#if:{{{name|}}}|E|W}}{{PAGENAME}}]]}}
   |{{#ifexist:Media:{{{image}}}|[[File:{{{image}}}|{{#if:{{{pix|}}}|{{{pix}}}|40x30}}px|alt={{{imagealt|Stub icon}}}]]|[[Category:Stub message boxes needing attention|B{{PAGENAME}}]]}}
  }}</td>
  }}</td>
}}
}}

Revision as of 09:16, 5 September 2010