Difference between revisions of "Template:Ambox/small"

From RobotX
Jump to navigation Jump to search
m (1 revision imported)
m (Text replacement - "<tvar|(.*)>" to "")
Line 1: Line 1:
<table class="metadata plainlinks ambox mbox-small-left {{{class|}}}" style="{{{style|}}}"  role="presentation"><tr>{{#switch:{{{smallimage|}}}
+
{{#switch:{{{smallimage|}}}
 
  |blank
 
  |blank
|none    = <td class="mbox-empty-cell"></td>
+
 
|#default = <td class="mbox-image">{{#if:{{{smallimage|}}}
+
{{#if:{{{smallimage|}}}
 
   |{{{smallimage}}}
 
   |{{{smallimage}}}
 
   |[[File:{{#switch:{{{type|}}}
 
   |[[File:{{#switch:{{{type|}}}
Line 11: Line 11:
 
   |move      = Ambox move.png
 
   |move      = Ambox move.png
 
   |protection = Ambox protection.png
 
   |protection = Ambox protection.png
  |notice <!-- notice = default -->
+
 
 
   |#default  = Ambox notice.png
 
   |#default  = Ambox notice.png
 
   }}|20x20px|link=|alt=]]
 
   }}|20x20px|link=|alt=]]
}}</td>
+
 
}}<td class="mbox-text" style="{{{textstyle|}}}"> <span class="mbox-text-span">{{#if:{{{smalltext|}}}
+
{{#if:{{{smalltext|}}}
 
  |{{{smalltext}}}
 
  |{{{smalltext}}}
 
  |{{{issue}}}
 
  |{{{issue}}}
 
}}{{#if:{{{date|}}}
 
}}{{#if:{{{date|}}}
|&#32;<small>''({{{date}}})''</small>
+
 
}}</span></td>{{#switch:{{{smallimageright|}}}
+
{{#switch:{{{smallimageright|}}}
 
  |
 
  |
|none    = <!-- No image -->
 
|#default = <td class="mbox-imageright">{{{smallimageright}}}</td>
 
}}</tr></table>
 

Revision as of 15:27, 21 December 2019

{{#switch:

|blank

{{#if:

 |{{{smallimage}}}
 |

{{{issue}}}{{#if:

{{#switch:

|