Template:Message box: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
m width default
jeez louise i need to concentrate on what i'm doing
Line 34: Line 34:
| linecol = #ddf
| linecol = #ddf
| title = This is a blue message box
| title = This is a blue message box
| text = It has a discuss link and custom CSS
| text = It has a discuss link and custom width
| discuss = true
| discuss = true
| css = width: 320px; font-size: x-large;
| width = 320px
}}
}}
</pre>
</pre>


Will result in:
Will result in:
{{msgbox| type = normal | bgcol = #eef | linecol = #ddf | title = This is a blue message box | text = It has a discuss link and custom width | discuss = true | css = width: 320px; font-size: x-large;}}
{{msgbox| type = normal | bgcol = #eef | linecol = #ddf | title = This is a blue message box | text = It has a discuss link and custom width | discuss = true | width = 320px}}


[[Category:Box templates]]
[[Category:Box templates]]
</noinclude>
</noinclude>

Revision as of 20:03, 12 February 2011


Usage

Basic usage

{{msgbox
| title = This is a normal message box
| text = With helpful and descriptive subtext
}}

Will result in:

This is a normal message box
With helpful and descriptive subtext

Mini usage

{{msgbox
| type = mini
| icon = 8
| text = This is a mini message box with an information icon using [[Template:CommentSprite]]
}}

Will result in:

Template:CommentSprite This is a mini message box with an information icon using Template:CommentSprite

Advanced usage

{{msgbox
| type = normal
| bgcol = #eef
| linecol = #ddf
| title = This is a blue message box
| text = It has a discuss link and custom width
| discuss = true
| width = 320px
}}

Will result in:

This is a blue message boxDiscuss
It has a discuss link and custom width