Template:Fmbox: Difference between revisions

m
double hyphens => em dashes
m (excess spaces annoy me)
m (double hyphens => em dashes)
Line 33: Line 33:
| system    =    <!-- Do nothing, valid "type" -->
| system    =    <!-- Do nothing, valid "type" -->
| #default  = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
| #default  = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
}}</includeonly><noinclude>Gonna be honest -- I basically brought this over as a hasty cut-and-paste so I could get the [[Template:Script doc auto]] system to work. This is one of Wikipedia's standard templates for making message boxes with the color and message icon of your choice. The template is somewhat redundant of [[Template:Divbox]], except that this is a more powerful, less user-friendly version. '''--Iritscen'''<br />
}}</includeonly><noinclude>Gonna be honest I basically brought this over as a hasty cut-and-paste so I could get the [[Template:Script doc auto]] system to work. This is one of Wikipedia's standard templates for making message boxes with the color and message icon of your choice. The template is somewhat redundant of [[Template:Divbox]], except that this is a more powerful, less user-friendly version. '''--Iritscen'''<br />


'''Sample usages'''<br />
'''Sample usages'''<br />
The most interesting parameter is "type" -- you can choose either "warning", "editnotice", or "system". These types have different appearances, based on classes defined in [[MediaWiki:Common.css]]. We'll explore a few ways to use Fmbox below, but see the link at the bottom for more information on the many abilities of this template.
The most interesting parameter is "type" you can choose either "warning", "editnotice", or "system". These types have different appearances, based on classes defined in [[MediaWiki:Common.css]]. We'll explore a few ways to use Fmbox below, but see the link at the bottom for more information on the many abilities of this template.


First let's start with a basic warning-type box.
First let's start with a basic warning-type box.