Difference between revisions of "Template:Fmbox warning ruler/doc"

From blackwiki
Jump to navigation Jump to search
imported>Davidgothberg
(We don't have "div.fmbox-warning" anymore, but we have "table.fmbox-warning", so changing to ".fmbox-warning".)
imported>Jo-Jo Eumerus
 
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
+
{{used in system}}
 
This is the {{tl|fmbox warning ruler}} template.
 
This is the {{tl|fmbox warning ruler}} template.
  

Latest revision as of 20:05, 23 March 2017

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