Difference between revisions of "Template:Ambox/small"

From RobotX
Jump to navigation Jump to search
m (Text replacement - "<tvar|(.*)>" to "")
m
 
Line 1: Line 1:
{{#switch:{{{smallimage|}}}
+
<table class="metadata plainlinks ambox mbox-small-left {{{class|}}}" style="{{{style|}}}"  role="presentation"><tr>{{#switch:{{{smallimage|}}}
 
  |blank
 
  |blank
 
+
|none    = <td class="mbox-empty-cell"></td>
{{#if:{{{smallimage|}}}
+
|#default = <td class="mbox-image">{{#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>
{{#if:{{{smalltext|}}}
+
}}<td class="mbox-text" style="{{{textstyle|}}}"> <span class="mbox-text-span">{{#if:{{{smalltext|}}}
 
  |{{{smalltext}}}
 
  |{{{smalltext}}}
 
  |{{{issue}}}
 
  |{{{issue}}}
 
}}{{#if:{{{date|}}}
 
}}{{#if:{{{date|}}}
 
+
|&#32;<small>''({{{date}}})''</small>
{{#switch:{{{smallimageright|}}}
+
}}</span></td>{{#switch:{{{smallimageright|}}}
 
  |
 
  |
 +
|none    = <!-- No image -->
 +
|#default = <td class="mbox-imageright">{{{smallimageright}}}</td>
 +
}}</tr></table>

Latest revision as of 15:35, 21 December 2019