Difference between revisions of "Template:Ambox/template"

From blackwiki
Jump to navigation Jump to search
blackwiki>MSGJ
(fix)
blackwiki>MSGJ
(show small version on template version, if parameter defined)
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>}}}
+
  |text = {{{text|}}}
|fix = {{{fix<includeonly>|</includeonly>}}}
+
  |talk = {{#ifeq:{{{talk|¬}}}|¬||#}}
|date = {{#ifeq:{{{date|¬}}}|¬||{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
+
   |issue = {{{issue<includeonly>|</includeonly>}}}
|info = {{{info|}}}
+
  |fix = {{{fix<includeonly>|</includeonly>}}}
 +
  |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>}}}

Revision as of 14:04, 4 July 2012