Difference between revisions of "Template:Ambox/template"

From blackwiki
Jump to navigation Jump to search
blackwiki>MSGJ
(show small version on template version, if parameter defined)
blackwiki>MSGJ
(tweak logic)
Line 56: Line 56:
 
}}{{Category handler
 
}}{{Category handler
 
  |nocat={{{nocat|<noinclude>true</noinclude>}}}
 
  |nocat={{{nocat|<noinclude>true</noinclude>}}}
  |template=[[Category:Article message templates]]{{#ifexpr:{{#ifeq:{{{issue|¬}}}|¬|1|0}}+{{#ifeq:{{{fix|¬}}}|¬|1|0}}+{{#ifeq:{{{subst|¬}}}|¬|1|0}}
+
  |template=[[Category:Article message templates]]{{#ifexpr:{{#if:{{{issue|}}}|0|1}}+{{#if:{{{fix|}}}|0|1}}+{{#if:{{{subst|}}}|0|1}}
   |[[Category:Article message templates with missing parameters|{{#expr:{{#ifeq:{{{issue|¬}}}|¬|1|0}}+{{#ifeq:{{{fix|¬}}}|¬|1|0}}+{{#ifeq:{{{subst|¬}}}|¬|1|0}}}}]]
+
   |[[Category:Article message templates with missing parameters|{{#expr:{{#if:{{{issue|}}}|0|1}}+{{#if:{{{fix|}}}|0|1}}+{{#if:{{{subst|}}}|0|1}}}}]]
 
  }}{{#if:{{{category|}}}{{{category2|}}}{{{category3|}}}
 
  }}{{#if:{{{category|}}}{{{category2|}}}{{{category3|}}}
 
   |[[Category:Article message templates with missing parameters|C]]
 
   |[[Category:Article message templates with missing parameters|C]]
 
  }}
 
  }}
 
}}
 
}}

Revision as of 19:22, 4 July 2012