Difference between revisions of "Template:Asbox"
From Self-sufficiency
(streamlined image code, removed some duplicate parser functions, improved readability) |
(rv, per talk page) |
||
Line 1: | Line 1: | ||
<table class="metadata plainlinks stub" style="background: transparent;"><tr> | <table class="metadata plainlinks stub" style="background: transparent;"><tr> | ||
− | {{#if:{{{icon|}}}{{{image|}}} | + | {{#if: {{{icon|}}}{{{image|}}} |<td>{{#if:{{{icon|}}}|{{{icon}}}|{{#if:{{{image|}}}|[[Image:{{{image}}}|{{#if:{{{pix|}}}|{{{pix}}}|40x30}}px|alt={{{imagealt|Stub icon}}}]]}}}}</td>}} |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }} | + | |
<td>''This {{#if:{{{article|}}}|{{{article}}}|{{{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>''This {{#if:{{{article|}}}|{{{article}}}|{{{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><!-- | ||
Line 54: | Line 42: | ||
-->{{#ifeq:{{NAMESPACE}}|Template|[[Category:Exclude in print]]|}}<!-- | -->{{#ifeq:{{NAMESPACE}}|Template|[[Category:Exclude in print]]|}}<!-- | ||
+ | |||
--></includeonly><!-- | --></includeonly><!-- | ||
Line 61: | Line 50: | ||
*** Maintenance categories *** | *** Maintenance categories *** | ||
− | -->{{#if:{{{category|}}}|<!-- has category= --> | + | -->{{#if:{{{image|}}} |
+ | |[[Category:Stub message boxes using image parameter]]|{{#if:{{{icon|}}} | ||
+ | |[[Category:Stub message boxes using icon parameter]] | ||
+ | |[[Category:Stub message boxes without images]]}} | ||
+ | }}{{#if:{{{imagealt|}}} | ||
+ | |[[Category:Stub message boxes using imagealt parameter]] | ||
+ | }}{{#if:{{{category|}}}|<!-- has category= --> | ||
|[[Category:Stub message boxes without category parameter]] | |[[Category:Stub message boxes without category parameter]] | ||
}}<!-- | }}<!-- |
Revision as of 11:53, 18 August 2009
This article is a stub. You can help Wikipedia by expanding it. |
[edit]
Documentation