Difference between revisions of "Template:Humor/doc"

From blackwiki
Jump to navigation Jump to search
imported>Benzband
(→‎Usage: irony parameter)
imported>Kephir
(hiding instructions)
Line 9: Line 9:
  
 
{{humor|irony=yes}}
 
{{humor|irony=yes}}
 +
 +
If you dislike having your jokes spoiled, append the following to [[Special:MyPage/common.css]]:
 +
<source lang="css">
 +
body.ns-4.action-view .ombox-humor,            /* hide [[Template:Humor]] */
 +
body.ns-4.action-view .ombox-humorantipolicy { /* hide [[Template:Humorantipolicy]] too */
 +
display: none;
 +
}
 +
</source>
  
 
=== See also ===
 
=== See also ===

Revision as of 10:43, 27 December 2012

Usage

This template should never be used on pages in the article namespace, since it should never include any non-factual or non-encyclopedic articles. Only use it in other spaces such as Wikipedia namespace.

Use {{humor|irony=yes}} to display an irony caution:

If you dislike having your jokes spoiled, append the following to Special:MyPage/common.css:

body.ns-4.action-view .ombox-humor,            /* hide [[Template:Humor]] */
body.ns-4.action-view .ombox-humorantipolicy { /* hide [[Template:Humorantipolicy]] too */
	display: none;
}

See also