Difference between revisions of "Template:Fmbox warning ruler/doc"
Jump to navigation
Jump to search
imported>Davidgothberg (Adding more explanation.) |
imported>Davidgothberg (We don't have "div.fmbox-warning" anymore, but we have "table.fmbox-warning", so changing to ".fmbox-warning".) |
||
| Line 4: | Line 4: | ||
This is the {{tl|fmbox warning ruler}} template. | This is the {{tl|fmbox warning ruler}} template. | ||
| − | It takes no parameters and produces a horizontal ruler in the same colour as the red border for the {{tl|fmbox}} warning type and the " | + | It takes no parameters and produces a horizontal ruler in the same colour as the red border for the {{tl|fmbox}} warning type and the ".fmbox-warning" CSS class in [[MediaWiki:Common.css]]. |
It is used to separate parts of some interface messages, such as [[MediaWiki:Cascadeprotectedwarning]]. See [[Special:WhatLinksHere/Template:Fmbox warning ruler|what links here]] for the rest of the interface messages that use it. | It is used to separate parts of some interface messages, such as [[MediaWiki:Cascadeprotectedwarning]]. See [[Special:WhatLinksHere/Template:Fmbox warning ruler|what links here]] for the rest of the interface messages that use it. | ||
Revision as of 23:07, 21 April 2009
| This is a documentation subpage for Template:Fmbox warning ruler. It contains usage information, categories and other content that is not part of the original template page. |
This is the {{fmbox warning ruler}} template.
It takes no parameters and produces a horizontal ruler in the same colour as the red border for the {{fmbox}} warning type and the ".fmbox-warning" CSS class in MediaWiki:Common.css.
It is used to separate parts of some interface messages, such as MediaWiki:Cascadeprotectedwarning. See what links here for the rest of the interface messages that use it.
Note: MediaWiki doesn't parse and convert HTML wikimarkup in interface messages. Thus this template must be fully XHTML compliant. This means that any HTML tag in it must have a proper ending. For instance <hr> is wrong, but <hr /> is right.
See also
- {{fmbox}} – Can be used to build pink system warning notices.
- Template talk:Fmbox#New type, section break 1 – The discussion that resulted in this style.