Template:Mbox: Difference between revisions

From No-Intro ~ Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 19: Line 19:
  <nowiki>}}</nowiki>
  <nowiki>}}</nowiki>


</noinclude><noinclude>{{todo|Add the custom HTML classes for all the known templates that use this as a base (by administrators, since most are protected).}}[[Category:TCRF templates]]</noinclude>
</noinclude><noinclude>{{todo|Add the custom HTML classes for all the known templates that use this as a base (by administrators, since most are protected).}}</noinclude>

Latest revision as of 14:16, 12 July 2023

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

Message box template, used for generating an easy-to-make nagbox for people. Will probably be used in other container templates to automate some selections (image, color, etc)... Shouldn't really be used on its own except as a joke on userpages.

{{mbox
| text=        Text inside the box
optional:
| image=       Image to use (1:1 aspect ratio, resized to 50×50), file name only, e.g. File:Placeholder.png would be Placeholder.png only.
| iwidth=      Image width in pixels (keep it at 50 generally), e.g. 50.
| 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.
| classes=     Additional HTML class or classes alongside "msgbox". Make sure any you add are unique, as will be used for custom CSS styles.
}}


To-do:
Add the custom HTML classes for all the known templates that use this as a base (by administrators, since most are protected).