Difference between revisions of "Template:Humor/doc"

From blackwiki
Jump to navigation Jump to search
imported>Kephir
(hiding instructions)
imported>Kephir
(hide in user namespace too)
Line 12: Line 12:
 
If you dislike having your jokes spoiled, append the following to [[Special:MyPage/common.css]]:
 
If you dislike having your jokes spoiled, append the following to [[Special:MyPage/common.css]]:
 
<source lang="css">
 
<source lang="css">
 +
body.ns-2.action-view .ombox-humor,           
 
body.ns-4.action-view .ombox-humor,            /* hide [[Template:Humor]] */
 
body.ns-4.action-view .ombox-humor,            /* hide [[Template:Humor]] */
 +
body.ns-2.action-view .ombox-humorantipolicy,
 
body.ns-4.action-view .ombox-humorantipolicy { /* hide [[Template:Humorantipolicy]] too */
 
body.ns-4.action-view .ombox-humorantipolicy { /* hide [[Template:Humorantipolicy]] too */
 
display: none;
 
display: none;

Revision as of 10:45, 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-2.action-view .ombox-humor,            
body.ns-4.action-view .ombox-humor,            /* hide [[Template:Humor]] */
body.ns-2.action-view .ombox-humorantipolicy,
body.ns-4.action-view .ombox-humorantipolicy { /* hide [[Template:Humorantipolicy]] too */
	display: none;
}

See also