Difference between revisions of "Template:Mbox"

From The VG Resource Wiki
Jump to: navigation, search
(Undo revision 1832 by Kosheh (talk))
(Tag: Undo)
 
(5 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
  | text=        Text inside the box
 
  | text=        Text inside the box
 
  <u>optional:</u>
 
  <u>optional:</u>
  | image=      Image to use (1:1 aspect ratio), file name only, e.g. [[:File:Placeholder.png]] would be ''Placeholder.png'' only.
+
  | image=      Image to use (1:1 aspect ratio), file name only.
 
  | iwidth=      Image width in pixels.
 
  | iwidth=      Image width in pixels.
 
  | caption=    Image caption.
 
  | caption=    Image caption.
Line 19: Line 19:
 
  <nowiki>}}</nowiki>
 
  <nowiki>}}</nowiki>
  
[[Category:Templates]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 17:00, 26 February 2019

px
Message box template.
Use attribute 'text' to change this!

Message box template, used for generating an easy-to-make nagbox for people.

{{mbox
| text=        Text inside the box
optional:
| image=       Image to use (1:1 aspect ratio), file name only.
| iwidth=      Image width in pixels.
| caption=     Image caption.
| border=      Border color, e.g. named constants, #0123456, #123, etc.
| background=  Background color.
| color=       Text color.
| category1=   Category to put this page in.
| category2=   Second category to put this page in.
| category3=   Third category to put this page in.
| min-width=   Minimum width to put the picture in.
| pic-align=   Picture alignment. Use left, right, or center. Defaults to center.
}}