Difference between revisions of "Template:Humor"
imported>InvalidOS m (Changed a sentence in the ombox version to match the topicon version) |
imported>John of Reading (Removed the option to change the spelling to "humourous". This is a spelling error, see wikt:humourous and wikt:humorous.) |
||
| Line 3: | Line 3: | ||
| image = Ambox humor.svg | | image = Ambox humor.svg | ||
| wikilink = WP:JOKE | | wikilink = WP:JOKE | ||
| − | | description = {{{text|This page '''[[Wikipedia:Silly Things|contains material that is kept because it is considered | + | | description = {{{text|This page '''[[Wikipedia:Silly Things|contains material that is kept because it is considered humorous]]'''. It is not meant to be taken seriously.}}} |
| id = humor-icon | | id = humor-icon | ||
}} | }} | ||
| Line 10: | Line 10: | ||
| image = [[File:Ambox humor.svg|60x40px|alt=|link=]] | | image = [[File:Ambox humor.svg|60x40px|alt=|link=]] | ||
| style = text-align:center; | | style = text-align:center; | ||
| − | | text = {{{text|This {{#ifeq:{{{section|}}}|yes|section|page}} '''[[Wikipedia:Silly Things|contains material that is kept because it is considered | + | | text = {{{text|This {{#ifeq:{{{section|}}}|yes|section|page}} '''[[Wikipedia:Silly Things|contains material that is kept because it is considered humorous]]'''. <br/> It is not meant to be taken seriously.}}} |
| imageright = {{#if:{{{1|}}} | {{Ombox/shortcut|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}} }} }} | | imageright = {{#if:{{{1|}}} | {{Ombox/shortcut|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}} }} }} | ||
}}}}<includeonly>{{#ifeq: {{lc:{{{nocat|false}}}}} | false | | }}}}<includeonly>{{#ifeq: {{lc:{{{nocat|false}}}}} | false | | ||
Revision as of 10:43, 15 September 2019
| This page contains material that is kept because it is considered humorous. It is not meant to be taken seriously. |
| 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)
| The above documentation is transcluded from Template:Humor/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |