Difference between revisions of "Template:Ambox/template"

From blackwiki
Jump to navigation Jump to search
blackwiki>MSGJ
(fix)
m (7 revisions imported)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Ambox/core/sandbox
+
{{#switch:{{{small|¬}}}
|type = {{{type|}}}
+
|left|yes=
|image = {{{image|}}}
+
|#default={{Ambox/core/sandbox
|smallimage = {{#if:{{{smallimage|}}}|{{{smallimage}}}|{{{image|}}}}}
+
  |type = {{{type|}}}
|imageright = {{{imageright|}}}
+
  |image = {{{image|}}}
|smallimageright = {{#if:{{{smallimageright|}}}|{{{smallimageright}}}|{{{imageright|}}}}}
+
  |smallimage = {{#if:{{{smallimage|}}}|{{{smallimage}}}|{{{image|}}}}}
|class = ambox-{{#switch:{{{type|}}}
+
  |imageright = {{{imageright|}}}
  |speedy = speedy
+
  |smallimageright = {{#if:{{{smallimageright|}}}|{{{smallimageright}}}|{{{imageright|}}}}}
  |delete = delete
+
  |class = ambox-{{#switch:{{{type|}}}
  |content = content
+
  |speedy = speedy
   |style = style
+
  |delete = delete
   |move = move
+
  |content = content
  |protection = protection
+
  |style = style
  |notice|#default = notice
+
  |move = move
}} {{{class|}}}
+
  |protection = protection
|style = {{{style|}}}
+
  |notice|#default = notice
|textstyle  = {{{textstyle|}}}
+
  }} {{{class|}}}
|text = {{{text|}}}
+
   |style = {{{style|}}}
|smalltext  = {{{smalltext|}}}
+
  |textstyle  = {{{textstyle|}}}
|text = {{{text|}}}
+
  |text = {{{text|}}}
|talk = {{#ifeq:{{{talk|¬}}}|¬||#}}
+
  |smalltext  = {{{smalltext|}}}
|issue = {{{issue<includeonly>|</includeonly>}}}
+
  |talk = {{#ifeq:{{{talk|¬}}}|¬||#}}
|fix = {{{fix<includeonly>|</includeonly>}}}
+
  |issue = {{{issue<includeonly>|</includeonly>}}}
|date = {{#ifeq:{{{date|¬}}}|¬||{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
+
  |fix = {{{fix<includeonly>|</includeonly>}}}
|info = {{{info|}}}
+
  |date = {{#ifeq:{{{date|¬}}}|¬||{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
 +
  |info = {{{info|}}}
 +
}}
 +
}}{{#ifeq:{{{small|¬}}}|¬|
 +
|{{Ambox/small
 +
  |type = {{{type|}}}
 +
  |image = {{{image|}}}
 +
  |smallimage = {{#if:{{{smallimage|}}}|{{{smallimage}}}|{{{image|}}}}}
 +
   |imageright = {{{imageright|}}}
 +
  |smallimageright = {{#if:{{{smallimageright|}}}|{{{smallimageright}}}|{{{imageright|}}}}}
 +
  |class = ambox-{{#switch:{{{type|}}}
 +
  |speedy = speedy
 +
  |delete = delete
 +
  |content = content
 +
  |style = style
 +
  |move = move
 +
  |protection = protection
 +
  |notice|#default = notice
 +
  }} {{{class|}}}
 +
  |style = {{{style|}}}
 +
  |textstyle  = {{{textstyle|}}}
 +
  |text = {{{text|}}}
 +
  |smalltext  = {{{smalltext|}}}
 +
  |text = {{{text|}}}
 +
  |talk = {{#ifeq:{{{talk|¬}}}|¬||#}}
 +
  |issue = {{{issue<includeonly>|</includeonly>}}}
 +
  |fix = {{{fix<includeonly>|</includeonly>}}}
 +
  |date = {{#ifeq:{{{date|¬}}}|¬||{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
 +
  |info = {{{info|}}}
 +
}}
 
}}{{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