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

Template:Message box: Difference between revisions

Template page
(Created fully customizable message box)
 
m (Fixing line break)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:Message box|main|text={{{text|}}}|image=[[File:{{{image|}}}|52px|link=|alt=]]}}</includeonly>
<includeonly>{{#invoke:Message box|main|text={{{text|}}}|image=[[File:{{{image|}}}|52px|link=|alt=]]}}</includeonly><noinclude>
This template's CSS is located in [[MediaWiki:Templates.css]].
 
Usage:
<nowiki>
{{Message box
|image =
|text =
}}
</nowiki>
 
e.g.:
<nowiki>
{{Message box
|image = Warning icon.png
|text = This is a warning message box
}}
</nowiki>
{{Message box
|image = Warning icon.png
|text = This is a warning message box
}}
</noinclude>

Latest revision as of 13:44, 26 August 2024

This template's CSS is located in MediaWiki:Templates.css.

Usage:

 {{Message box
 |image = 
 |text =
 }}
 

e.g.:

 {{Message box
 |image = Warning icon.png
 |text = This is a warning message box
 }}
 
This is a warning message box