Difference between revisions of "Template:Humor/doc"

From blackwiki
Jump to navigation Jump to search
imported>Sdkb
(Added TemplateData)
imported>Sdkb
(Added to documentation, removed "improve documentation" tag now that issue has been mostly addressed)
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 -->
{{Improve documentation|date=February 2020}}
 
 
{{Template redirect|Funny|Humour}}
 
{{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. Per [[Wikipedia:Requests_for_comment/April_Fools%27#Require_all_jokes_other_than_the_main_page_to_be_tagged|this RfC]], it or another disclosure template must be used on all such pages.
 +
 
===Usage===
 
===Usage===
  
This template '''should never be used on pages in the article namespace''', because article namespace should never include any non-factual or non-encyclopedic pages. Only use it in ''other'' [[WP:Namespace|namespaces]], such as Wikipedia namespace.
+
This template '''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]]:
 
If you dislike having jokes on pages that you view spoiled, append the following to [[Special:MyPage/common.css]]:
 
<syntaxhighlight lang="css">
 
<syntaxhighlight lang="css">

Revision as of 17:38, 25 April 2020

Template:Template redirect This template adds a box at the top of a humorous page to let readers know not to take it seriously. Per this RfC, it or another disclosure template must be used on all such pages.

Usage

This template 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 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:

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

See also


No description.

Template parameters

ParameterDescriptionTypeStatus
Shortcuts1

Adds up to five shortcuts. No brackets needed.

Example
WP:END
Pagesuggested
22

no description

Unknownoptional
33

no description

Unknownoptional
44

no description

Unknownoptional
55

no description

Unknownoptional
Smallsmall

Makes the box small

Example
yes
Unknownoptional
Texttext

Replaces the default text with a custom message

Stringoptional
Sectionsection

Replaces "page" with "section"

Example
yes
Unknownoptional
No categorynocat

Does not add the page to [[:Category:Wikipedia humor]]

Booleanoptional