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)
m (7 revisions imported)
 
(2 intermediate revisions by 2 users not shown)
Line 20: Line 20:
 
   |text = {{{text|}}}
 
   |text = {{{text|}}}
 
   |smalltext  = {{{smalltext|}}}
 
   |smalltext  = {{{smalltext|}}}
  |text = {{{text|}}}
 
 
   |talk = {{#ifeq:{{{talk|¬}}}|¬||#}}
 
   |talk = {{#ifeq:{{{talk|¬}}}|¬||#}}
 
   |issue = {{{issue<includeonly>|</includeonly>}}}
 
   |issue = {{{issue<includeonly>|</includeonly>}}}
Line 56: Line 55:
 
}}{{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]]
 
  }}
 
  }}
 
}}
 
}}

Latest revision as of 13:20, 20 October 2020