Difference between revisions of "Template:Ambox"

From Self-sufficiency
Jump to: navigation, search
(remove category sortkey which is now the default after bugzilla:16552)
m (Add code for incorrectly substed templates, or minor tidy up using AWB)
Line 1: Line 1:
{{#switch:{{{small|}}}
+
<!--{{Ambox}} begin-->{{#switch:{{{small|}}}
 
| left =  
 
| left =  
   {{ambox/core
+
   {{Ambox/core
 
   | small      = left
 
   | small      = left
 
   | type      = {{{type|}}}
 
   | type      = {{{type|}}}
Line 20: Line 20:
 
   }}
 
   }}
 
| #default =  
 
| #default =  
   {{ambox/core
+
   {{Ambox/core
 
   | type      = {{{type|}}}
 
   | type      = {{{type|}}}
 
   | image      = {{{image|}}}
 
   | image      = {{{image|}}}
Line 32: Line 32:
 
--><includeonly>{{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Template|[[Category:Article message boxes]]}}}}</includeonly><!--
 
--><includeonly>{{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Template|[[Category:Article message boxes]]}}}}</includeonly><!--
  
--><noinclude>
+
--><!--{{Ambox}} end--><noinclude>
  
 
{{pp-template}}
 
{{pp-template}}
{{documentation}}
+
{{Documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 13:01, 15 October 2009