Difference between revisions of "Template:Ambox"

From ChoralWiki
Jump to navigation Jump to search
(adding a simple category handler)
(using Ambox/category instead)
Line 34: Line 34:
 
  }}
 
  }}
 
  |info = {{{info|}}}
 
  |info = {{{info|}}}
}}<!--{{Category handler
+
}}<!-- {{Category handler
 
  |nocat={{{nocat|<noinclude>true</noinclude>}}}
 
  |nocat={{{nocat|<noinclude>true</noinclude>}}}
  |main={{Ambox/category
+
  |main= -->{{Ambox/category
 
   |cat={{{cat|{{{category|}}}}}}  
 
   |cat={{{cat|{{{category|}}}}}}  
 
   |all={{{all|}}}
 
   |all={{{all|}}}
Line 48: Line 48:
 
   |all={{{all3|}}}
 
   |all={{{all3|}}}
 
   |date={{{date|}}}
 
   |date={{{date|}}}
  }}
+
  }}<!--
 
  |template={{#switch:Template:{{{name|}}}
 
  |template={{#switch:Template:{{{name|}}}
 
   |{{FULLPAGENAME}} = [[Category:Article message templates]]{{#ifexpr:{{#ifeq:{{{issue|¬}}}|¬|1|0}}+{{#ifeq:{{{fix|¬}}}|¬|1|0}}+{{#ifeq:{{{subst|¬}}}|¬|1|0}}
 
   |{{FULLPAGENAME}} = [[Category:Article message templates]]{{#ifexpr:{{#ifeq:{{{issue|¬}}}|¬|1|0}}+{{#ifeq:{{{fix|¬}}}|¬|1|0}}+{{#ifeq:{{{subst|¬}}}|¬|1|0}}
Line 57: Line 57:
 
   |Template:        = {{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|[[Category:Article message templates with missing parameters]]}}
 
   |Template:        = {{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|[[Category:Article message templates with missing parameters]]}}
 
  }}
 
  }}
}}-->{{#if:{{{cat|{{{category|}}}}}}| [[Category:{{{cat|{{{category|}}}}}}]] }}
+
}}-->

Revision as of 17:12, 17 February 2013