Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

The new Help Guide is now live.

You can now see it by clicking the 'Help Portal' link above.

- Edgewurth -

Template:Mbox: Difference between revisions

Template page
No edit summary
 
m (1 revision imported)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table class="msgbox" style="{{ #if: {{{border|}}} | border-color: {{{border}}}; | }} {{ #if: {{{background|}}} | background: {{{background}}}; | }} {{ #if: {{{color|}}} | color: {{{color}}}; | }} min-width: 100px;"><tr><td class="msgboximg" style="min-width:{{{min-width|50}}}px;">[[File:{{{image|Placeholder.png}}}| {{{pic-align|center}}} | {{{caption|Hmmm...}}} | {{{iwidth|50}}}px]]</td><td>{{{text|'''Message box template'''.<br>Use attribute 'text' to change this!}}}</td></tr></table>{{ #if: {{{category1|}}} | [[Category:{{{category1}}}]] | }}{{ #if: {{{category2|}}} | [[Category:{{{category2}}}]] | }}{{ #if: {{{category3|}}} | [[Category:{{{category3}}}]] | }}<noinclude>
<table class="msgbox" style="{{ #if: {{{border|}}} | border-color: {{{border}}}; | }} {{ #if: {{{background|}}} | background: {{{background}}}; | }} {{ #if: {{{color|}}} | color: {{{color}}}; | }} min-width: 100%;"><tr><td class="msgboximg" style="min-width:{{{min-width|50}}}px;">[[File:{{{image|Placeholder.png}}}| {{{pic-align|center}}} | {{{caption|Hmmm...}}} | {{{iwidth|50}}}px]]</td><td>{{{text|'''Message box template'''.<br>Use attribute 'text' to change this!}}}</td></tr></table>{{ #if: {{{category1|}}} | [[Category:{{{category1}}}]] | }}{{ #if: {{{category2|}}} | [[Category:{{{category2}}}]] | }}{{ #if: {{{category3|}}} | [[Category:{{{category3}}}]] | }}<noinclude>


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.
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.

Latest revision as of 16:16, 20 November 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.
| 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.
}}