Difference between revisions of "Template:Asbox"

From Self-sufficiency
Jump to: navigation, search
m (Check if the image exists)
(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 10:16, 5 September 2010