Difference between revisions of "Template:Essay"

From blackwiki
Jump to navigation Jump to search
(spelling)
imported>Sdkb
(Adding "not an encyclopedia article" note, per talk)
 
(112 intermediate revisions by 57 users not shown)
Line 1: Line 1:
{{ ombox
+
{{ {{{|safesubst:}}}#invoke:Unsubst||date=__DATE__ |$B=
| type      = notice
+
{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{essay-like|{{{1|article}}}|{{{2|}}}|date={{{date|}}}}}|
| image      = [[Image:Text-x-generic with pencil.svg|60x40px]]
+
{{ombox
| text      = This [[Wikipedia:Wikipedia essays|essay]] contains the advice or opinions of one or more Wikipedia contributors. Essays may represent widespread norms or minority viewpoints. Heed them or not based upon your judgment and discretion. {{#if:{{{interprets|}}}|It should be read in conjunction with {{#ifexist:{{{interprets}}}|[[{{{interprets}}}]]|{{{interprets|}}}}}.}}
+
|type      = notice
| imageright = {{#if:{{{1|}}} | {{Ombox/Shortcut|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}} }} }}
+
|image      = [[File:Essay.svg|30px]]
}}<includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:4}}|{{{category|[[Category:Wikipedia essays|{{PAGENAME}}]]}}}}}{{#ifeq:{{NAMESPACE}}|{{ns:2}}|{{{category|[[Category:User essays|{{PAGENAME}}]]}}}}}</includeonly><noinclude>
+
|text      = <div style="padding-top: 6px; padding-bottom: 5px;">'''This is an [[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 an encyclopedia article, nor is it 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>
{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --></noinclude>
+
| 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>}} }}
 +
}}{{#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: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>
 +
{{documentation}}
 +
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 +
</noinclude>

Latest revision as of 20:26, 22 September 2020

Template documentation[view] [edit] [history] [purge]
  1. REDIRECT Template:Never substitute

Usage

This template adds the page to Category:Wikipedia essays or to Category:User essays, depending on namespace.

Please do not subst this template.

  • {{essay|WP:SHORTCUT1}} becomes:

Parameters

This template has an |interprets= a.k.a. |pages= parameter. Replaces "This page is an essay" with "This page is an essay on [whatever you put in the parameter]":

  • |interprets=the [[Wikipedia:No original research]] policy
  • |interprets=the [[Wikipedia:Manual of Style]] guideline
  • |interprets=the [[Wikipedia:No original research]] and [[Wikipedia:Neutral point of view]] policies
  • |interprets=the [[Wikipedia:Verifiability]] policy and [[Wikipedia:Reliable sources]] guideline

You can have up to 5 shortcuts displayed. The shortcut parameters can also be named as |shortcut= or |shortcut1=, |shortcut2= ... |shortcut5=.

You can also use |cat= or |category= to specify a more specific category than the default Category:Wikipedia essays or (in userspace) Category:User essays. It can be done with or without "Category:"

  • |cat=Wikipedia essays on consensus
  • |category=Category:Wikipedia essays on consensus
  • |category=User essays on style‎
  • |cat=Category:User essays on style‎

Userspace essays should remain categorized in Category:User essays or one of its subcategories with this template.

Essays are sorted by their page name, or in userspace by subpage name.

If you want to use a different category sort, you can specify an entire category link with a sort key:

  • |cat=[[Category:User essays on style|Comprise, Use of]]‎

Additional categories (and sort keys) are added at the bottom of the essay page, as at any other page. User essays can be additionally categorized in topical subcategories of Category:Wikipedia essays in this way.

Display

  • {{essay|WP:SHORTCUT1|WP:SHORTCUT2|interprets=the [[Wikipedia:Consensus|Consensus]] and [[Wikipedia:Ignore all rules|Ignore all rules]] policies}} becomes:

Variant templates

To place essays in appropriate sub-categories by subject, you can use:

Template:Notability essay

Template:Orphaned essay

The following templates are available to WikiProjects for clarifying the distinction between WikiProject guidance and other essays and information pages:

Template:WikiProject content advice

Template:Wikiproject notability essay

Template:WikiProject style advice

See also

Alternatives
  • {{Information page}} – the banner template for pages that are more just informational and non-opinionated like WP:GOV.
  • {{Wikipedia how-to}} – the banner template for pages that are more directly instructional and non-opinionated like H:EDIT.
  • {{Supplement|interprets=}} – to tag a well-established page that adds something to a policy or guideline, to make up for a deficiency, and when it is referenced in the guideline or policy like WP:BRD.
Article notice
  • {{Essay-like}} – designed for the main namespace, not "Wikipedia:" namespace; use if an article reads like an essay.
Talk pages
Data