Difference between revisions of "Template:Asbox"

From Self-sufficiency
Jump to: navigation, search
(sort templates by pagename rather than article id per talk request)
(adding maintenance categories, please feel free to prettify the code ...)
Line 39: Line 39:
 
-->}}<!--
 
-->}}<!--
  
*** exclude in print category***
+
*** exclude in print category ***
  
 
-->{{#ifeq:{{NAMESPACE}}|Template|[[Category:Exclude in print]]|}}<!--
 
-->{{#ifeq:{{NAMESPACE}}|Template|[[Category:Exclude in print]]|}}<!--
Line 46: Line 46:
 
--></includeonly><!--
 
--></includeonly><!--
  
--><includeonly>{{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Template|[[Category:Stub message boxes|{{PAGENAME}}]]}}}}</includeonly><!--
+
--><includeonly>{{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Template|[[Category:Stub message boxes|{{PAGENAME}}]]<!--  
  
--><noinclude><!--
+
*** Maintenance categories ***
 +
 
 +
-->{{#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]]
 +
}}<!--
 +
 
 +
-->}}}}</includeonly><noinclude><!--
  
 
  *** Documentation ***
 
  *** Documentation ***

Revision as of 17:18, 12 August 2009