Difference between revisions of "Template:Asbox"

From Self-sufficiency
Jump to: navigation, search
(mbox magic)
(simplify logic)
Line 1: Line 1:
 
<table class="metadata plainlinks asbox" {{#if|{{{id|}}}|id="stub-{{{id}}}" }} style="clear:left; margin: 0em 0em; background: transparent;"><tr>
 
<table class="metadata plainlinks asbox" {{#if|{{{id|}}}|id="stub-{{{id}}}" }} style="clear:left; margin: 0em 0em; background: transparent;"><tr>
{{#ifexpr: {{#if:{{{icon|}}}|1|0}} or {{#if:{{{image|}}}|1|0}}|<td class="mbox-image" style="padding: 0em;" >{{#if:{{{icon|}}}|{{{icon}}}&nbsp;|{{#if:{{{image|}}}|[[Image:{{{image}}}|{{#if:{{{pix|}}}|{{{pix}}}|40x30}}px]]&nbsp;|}}}}</td>}}
+
{{#if: {{{icon|}}}{{{image|}}} |<td class="mbox-image" style="padding: 0em;">{{#if:{{{icon|}}}|{{{icon}}}&nbsp;|{{#if:{{{image|}}}|[[Image:{{{image}}}|{{#if:{{{pix|}}}|{{{pix}}}|40x30}}px]]&nbsp;|}}}}</td>}}
 
<td class="mbox-text" style="font-style: italic; padding: 0em; width: auto;">This {{{subject|}}} 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><includeonly><!--
 
<td class="mbox-text" style="font-style: italic; padding: 0em; width: auto;">This {{{subject|}}} 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><includeonly><!--
  

Revision as of 16:05, 9 May 2009