Template:English variant notice/documentation

{{Short description|Shared documentation page}}

{{Short description|For talk pages and editnotices}}

{{#invoke:English variant notice|_main|variant = ''|nocat = yes}}

{{documentation|Template:English_variant_notice/documentation|content=

{{#switch:{{PAGENAME}}

| British English = {{High-use|9981}}

| British English Oxford spelling = {{wrapper|British English}}

| American English = {{High-use|5476}}

| Indian English = {{High-use|2992}}

| Canadian English = {{High-use|2148}}

}}

{{Lua|Module:English variant notice}}

This template may be included on talk pages or editnotices to alert other editors that the associated article is written in {{{variant}}}. Usually, the article either has evolved using predominantly this variety or has strong ties to a particular English-speaking nation that uses this variety.

= Talk page usage =

To use this template on an article's talk page, place {{tlx|1={{PAGENAME}}}} near the top of the talk page. This produces the following:

{{#invoke:English variant notice|_main|variant = ''|nocat = yes}}

Except that, for this and the smaller version, rather than "This template", on an article talk page, it would say, "This article"; on a draft talk page it would say "This page".

A smaller version is also available, by typing {{tlx|1={{PAGENAME}}|2=small=yes}}. This looks like this:

{{#invoke:English variant notice|_main|small = yes|variant = ''|nocat = yes}}

{{clear}}

Placing this template will also add the page to :Category:Wikipedia articles that use {{{variant}}}.

Additional options of {{para|Oxford}} for Oxford spelling, and {{para|IUPAC}} for IUPAC spelling, exist.

= Editnotice usage =

To use this template on an article's editnotice, {{tlx|1={{PAGENAME}}|2=form=editnotice}} is placed (without {{para|form|editnotice}} if the template name ends with "editnotice") on the editnotice template. This produces the following:

{{#invoke:English variant notice|_main|form = editnotice|variant = ''|nocat = yes}}

{{#if:{{{editnotice_cat|}}}|Placing this edit notice will also add the page to :Category:Pages with {{{variant}}} editnotice.}}.

All users can create editnotices for their user and talk pages but only administrators and template editors can create or edit editnotices in other namespaces. Thus, to request this template be added to an article or other page in a restricted namespace, you can make your request at its talk page, using the template {{tl|Edit template-protected}}.

An example talk page request you might emulate appears below:

{{Edit_template-protected}}

Please create an edit notice for the article, placing in it the template {{{{BASEPAGENAME}}|form=editnotice}} Thank you--~~~~

= Variants =

This template should have a "Use X English" counterpart from :Category:Use English templates that can be placed on the article itself to indicate the English variant used and assist with scripts and bots that normalize spelling. See the below table.

{{English variant templates}}

= See also =

  • {{tlx|Langx|en}}

{{div col}}

  • {{tl|English variant notice}}

{{div col end}}

}}

{{Sandbox other||

Category:Varieties of English templates

{{#switch:{{first word|{{FULLPAGENAME}}}}

|Template:American=English

|Template:British=English

|Template:Canadian=English

}}

}}

Category:Template documentation pages