Difference between revisions of "Template:Humorous essay"

From blackwiki
Jump to navigation Jump to search
imported>Soumya-8974
 
(31 intermediate revisions by 22 users not shown)
Line 1: Line 1:
{{topicon|image=Ambox humor.svg|width=25|wikilink=Humor|description=This page '''contains material which is considered humorous'''. It may also contain advice.}}
+
<includeonly>{{short description|Humorous Wikipedia essay|noreplace}}</includeonly>
 +
{{#if:{{{demo|}}}||{{topicon|image=Ambox humor.svg|width=20|wikilink=Humour|description=This page '''contains material which is considered humorous'''. It may also contain advice.}}}}
 +
{{ {{{|safesubst:}}}#invoke:Unsubst||date=__DATE__ |$B=
 +
{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{essay-like|{{{1|article}}}|{{{2|}}}|date={{{date|}}}}}|
 
{{ombox
 
{{ombox
|type = notice
+
|type       = notice
|image = [[File:Essay.svg|30px]]
+
|image     = [[File:Humorous essay.svg|30px]]
|text = This humorous [[Wikipedia:Wikipedia essays|essay]] contains comments by one or more Wikipedia contributors. It is not a [[Wikipedia:Policies and guidelines|Wikipedia policy or guideline]], though it may contain advice. A potential [[Wikipedia:Consensus|measure]] of how the community views this essay may be gained by consulting the history and talk pages, and checking [[Help:What links here|What links here]].
+
|text       = <div style="padding-top: 6px; padding-bottom: 5px;">'''This is a [[Wikipedia:Silly Things|humorous]] [[Wikipedia:Essays|essay]]{{#if:{{{interprets|}}}|<nowiki> </nowiki>on {{#ifexist:{{{interprets}}}|[[{{{interprets}}}]]|{{{interprets|}}} }} }}.'''<br /><div style="font-size: 90%;">It contains the advice or opinions of one or more Wikipedia contributors. This page is not one of [[Wikipedia:Policies and guidelines|Wikipedia's policies or guidelines]], as it has not been [[Wikipedia:Consensus#Levels of consensus|thoroughly vetted by the community]]. Some essays represent widespread norms; others only represent minority viewpoints.</div></div>
<includeonly>{{{category|[[Category:Humorous Wikipedia essays|{{PAGENAME}}]]}}}</includeonly>
+
| imageright = {{#if:{{{shortcut|{{{shortcut1|{{{sc1|{{{sc|{{{1<includeonly>|</includeonly>}}}}}}}}}}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|{{{sc1|{{{sc|{{{1}}}}}}}}}}}}}}}|{{{shortcut2|{{{sc2|{{{2|}}}}}}}}}|{{{shortcut3|{{{sc3|{{{3|}}}}}}}}}|{{{shortcut4|{{{sc4|{{{4|}}}}}}}}}|{{{shortcut5|{{{sc5|{{{5|}}}}}}}}}<noinclude>|category=no</noinclude>}} }}
|imageright = {{#if:{{{1<includeonly>|</includeonly>}}} | {{Ombox/Shortcut|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}} }} | [[Image:Ambox humor.svg|60x40px]] }}
+
}}{{#ifeq:{{{demo}}}|yes||<includeonly>{{#switch:{{NAMESPACE}}
 +
  |{{ns:4}} = {{#ifexist:Category:{{{category|{{{cat}}}}}}|[[Category:{{{category|{{{cat}}}}}}|{{PAGENAME}}]]|{{#ifexist:{{{category|{{{cat}}}}}}|[[{{{category|{{{cat}}}}}}|{{PAGENAME}}]]|{{{category|{{{cat|[[Category:Humorous Wikipedia essays|{{PAGENAME}}]]}}}}}} }} }}
 +
  |{{ns:2}} = {{#ifexist:Category:{{{category|{{{cat}}}}}}|[[Category:{{{category|{{{cat}}}}}}|{{SUBPAGENAME}}]]|{{#ifexist:{{{category|{{{cat}}}}}}|[[{{{category|{{{cat}}}}}}|{{SUBPAGENAME}}]]|{{{category|{{{cat|[[Category:User essays|{{SUBPAGENAME}}]]}}}}}} }} }}
 +
}}</includeonly>}}}}
 
}}<noinclude>
 
}}<noinclude>
[[Category:Wikipedia header templates]]
 
[[Category:Wikipedia humor]]
 
 
{{documentation}}
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 05:30, 14 July 2020

Template:Topicon

Template documentation[view] [edit] [history] [purge]
Template:Subpage other

This template adds a box to the top of a humorous essay designating the essay as such. Per this RfC, it or another disclosure template must be used on all essays of this type.

Parameters

  • |demo=y suppresses the topicon. Do not use unless on a documentation page or similar.

Other parameters are similar to the {{Essay}}.

See also