Vorlage:Asbox: Unterschied zwischen den Versionen

simplify logic
(mbox magic)
imported>Happy-melon
(simplify logic)
Zeile 1: Zeile 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><!--


Anonymer Benutzer