Difference between revisions of "Template:Essay/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>ProcrastinatingReader
(Reading time)
imported>ProcrastinatingReader
(+demo)
 
Line 4: Line 4:
 
|type      = notice
 
|type      = notice
 
|image      = [[File:Essay.svg|30px]]
 
|image      = [[File:Essay.svg|30px]]
|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%;"><small>{{#if:{{{readtime|}}}|''Reading time: approx. {{{readtime}}} mins.''|}}</small> 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]] and may reflect varying levels of [[WP:CONACHIEVE|vetting]] and [[WP:CONSENSUS|community consensus]]. Some essays represent widespread norms; others only represent minority viewpoints.</div></div>
+
|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%;"><small><includeonly>{{#if:{{{readtime|}}}|</includeonly>''Reading time: approx. <noinclude>8</noinclude><includeonly>{{{readtime}}}</includeonly> mins.''<includeonly>|}}</includeonly></small> 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]] and may reflect varying levels of [[WP:CONACHIEVE|vetting]] and [[WP:CONSENSUS|community consensus]]. Some essays represent widespread norms; others only represent minority viewpoints.</div></div>
 
| 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:{{{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}}
 
}}{{#ifeq:{{{demo}}}|yes||<includeonly>{{#switch:{{NAMESPACE}}

Latest revision as of 12:36, 4 July 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