Difference between revisions of "Template:Humor/doc"
imported>Sdkb (→See also: humor section) |
imported>Paine Ellsworth (update /doc) |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
+ | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
{{no substitution}} | {{no substitution}} | ||
− | |||
{{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. | This template adds a box at the top of a humorous page to let readers know not to take it seriously. | ||
Line 20: | Line 20: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | === | + | ===Template data=== |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 69: | Line 56: | ||
} | } | ||
</templatedata> | </templatedata> | ||
+ | |||
+ | ===See also=== | ||
+ | |||
+ | *{{tl|Humorantipolicy}} | ||
+ | *{{tl|Humorous essay}} | ||
+ | *{{tl|Humor section}} ([[WP:Wrapper templates|wrapper]]) | ||
+ | |||
+ | {{Humor disclosure templates}} | ||
+ | |||
+ | <includeonly>{{Sandbox other|| | ||
+ | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
+ | [[Category:Wikipedia humor header templates|{{PAGENAME}}]] | ||
+ | [[Category:Wikipedia templates which apply NOINDEX]] | ||
+ | |||
+ | }}</includeonly> |
Latest revision as of 05:30, 2 December 2020
![]() | This is a documentation subpage for Template:Humor. It contains usage information, categories and other content that is not part of the original template page. |
![]() | This template should not be substituted. |
Template:Template redirect This template adds a box at the top of a humorous page to let readers know not to take it seriously.
Contents
Usage
Per 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 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;
}
Template data
Adds a box at the top of a humorous page to let readers know not to take it seriously.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Shortcuts | 1 | Adds up to five shortcuts. No brackets needed.
| Page | suggested |
2 | 2 | no description | Unknown | optional |
3 | 3 | no description | Unknown | optional |
4 | 4 | no description | Unknown | optional |
5 | 5 | no description | Unknown | optional |
Small | small | Makes the box small
| Unknown | optional |
Text | text | Replaces the default text with a custom message | String | optional |
Section | section | Replaces "page" with "section"
| Unknown | optional |
No category | nocat | Does not add the page to [[:Category:Wikipedia humor]] | Boolean | optional |
See also
- {{Humorantipolicy}}
- {{Humorous essay}}
- {{Humor section}} (wrapper)