Difference between revisions of "Template:Asbox"

From Self-sufficiency
Jump to: navigation, search
m (take template out of CAT:STUBFIX)
m (Check if the image exists)
(3 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
  |<td>{{#if:{{{icon|}}}
 
  |<td>{{#if:{{{icon|}}}
 
   |{{{icon}}}
 
   |{{{icon}}}
   |[[File:{{{image}}}|{{#if:{{{pix|}}}|{{{pix}}}|40x30}}px|alt={{{imagealt|Stub 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}}]]}}
 
  }}</td>
 
  }}</td>
 
}}
 
}}
<td>''This {{{subject|}}} {{{article|article}}} {{{qualifier|}}} is a [[Wikipedia:stub|stub]].  You can help Wikipedia by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it].''{{#if:{{{note|}}}|<br /><span style="font-style: normal; font-size: smaller;">{{{note|}}} }}</td></tr></table>{{#ifeq:{{NAMESPACE}}|{{ns:0}}<!--Article space-->|<!--
+
<td>''This {{{subject|}}} {{{article|article}}} {{{qualifier|}}} is a [[Wikipedia:stub|stub]].  You can help Wikipedia by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it].''{{#if:{{{name|}}}
 +
|{{navbar|{{{name}}}|mini=yes|style=position:absolute; right:15px; font-size:smaller; display:none;}}
 +
}}{{#if:{{{note|}}}
 +
|<br /><span style="font-style: normal; font-size: smaller;">{{{note}}}
 +
}}</td>
 +
</tr></table>{{#ifeq:{{NAMESPACE}}|{{ns:0}}<!--Article space-->|<!--
  
 
  *** Stub category ***
 
  *** Stub category ***

Revision as of 10:12, 5 September 2010