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

From blackwiki
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 "div.fmbox-warning" CSS class in [[MediaWiki:Common.css]].
+
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 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