Difference between revisions of "Template:Humor/doc"

From blackwiki
Jump to navigation Jump to search
imported>Sdkb
(→‎See also: added navbox)
(0)
Line 1: Line 1:
{{Documentation subpage}}
+
0
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
{{Template redirect|Funny|Humour}}
 
This template adds a box at the top of a humorous page to let readers know not to take it seriously.
 
 
 
===Usage===
 
 
 
Per [[Wikipedia:Requests_for_comment/April_Fools%27#Require_all_jokes_other_than_the_main_page_to_be_tagged|this RfC]], this template or another disclosure template '''''must'' be used on all humorous pages'''.
 
 
 
It '''should ''never'' be used on pages in the article namespace''', because the article namespace should never include any non-factual or non-encyclopedic pages. Only use it in ''other'' [[WP:Namespace|namespaces]], such as the Wikipedia namespace.
 
 
 
===Opting out===
 
If you dislike having jokes on pages that you view spoiled, append the following to [[Special:MyPage/common.css]]:
 
<syntaxhighlight lang="css">
 
.ombox-humor,            /* hide [[Template:Humor]] */
 
.ombox-humorantipolicy { /* hide [[Template:Humorantipolicy]] too */
 
    display: none;
 
}
 
</syntaxhighlight>
 
 
 
===See also===
 
 
 
*{{tl|Humorantipolicy}}
 
*{{tl|Humorous essay}}
 
 
 
{{Humor disclosure templates}}
 
 
 
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Wikipedia humor header templates|{{PAGENAME}}]]
 
[[Category:Wikipedia templates which apply NOINDEX]]
 
 
 
}}</includeonly>
 
<templatedata>
 
{
 
"params": {
 
"1": {
 
"label": "Shortcuts",
 
"description": "Adds up to five shortcuts. No brackets needed.",
 
"example": "WP:END",
 
"type": "wiki-page-name",
 
"suggested": true
 
},
 
"2": {},
 
"3": {},
 
"4": {},
 
"5": {},
 
"small": {
 
"description": "Makes the box small",
 
"example": "yes"
 
},
 
"text": {
 
"description": "Replaces the default text with a custom message",
 
"type": "string"
 
},
 
"section": {
 
"description": "Replaces \"page\" with \"section\"",
 
"example": "yes"
 
},
 
"nocat": {
 
"label": "No category",
 
"description": "Does not add the page to [[:Category:Wikipedia humor]]",
 
"type": "boolean"
 
}
 
},
 
"description": "Adds a box at the top of a humorous page to let readers know not to take it seriously."
 
}
 
</templatedata>
 

Revision as of 21:59, 14 August 2020

0