Difference between revisions of "Template:Asbox"

From Self-sufficiency
Jump to: navigation, search
(use different Error indicator for broken images.)
(undo image check due to issues with borders, e.g. Template:Finland-stub and also check would be better on Template:Asbox/templatepage)
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|B{{PAGENAME}}]]}}
+
   |{{#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}}]]}}
 
  }}</td>
 
  }}</td>
 
}}
 
}}

Revision as of 10:17, 5 September 2010