Jump to content

Template:English variant notice/documentation and Template:English variant notice/documentation/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
mNo edit summary
 
m See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other
 
Line 1: Line 1:
{{#invoke:English variant notice|_main|variant = ''|nocat = yes}}
{{English variant notice/core
|small = {{{small|}}}

|form = {{{form|}}}
{{documentation|Template:English_variant_notice/documentation|content=
|id = {{{id|}}}
{{#switch:{{PAGENAME}}
| British English = {{High-use|9981}}
|image = {{{image|}}}
|variant= {{{variant|}}}
| British English Oxford spelling = {{wrapper|British English}}
| American English = {{High-use|5476}}
|text = {{{text|}}}
| Indian English = {{High-use|2992}}
| Canadian English = {{High-use|2148}}
}}
}}
{{documentation|content=

{{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.
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.
Line 16: Line 13:
=== Talk page usage ===
=== 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:
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}}
{{English variant notice/core
|image = {{{image|}}}
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".
|variant= {{{variant|}}}
|text = {{{text|}}}
}}


A smaller version is also available, by typing {{tlx|1={{PAGENAME}}|2=small=yes}}. This looks like this:
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}}
{{English variant notice/core
|small = yes

|image = {{{image|}}}
|variant= {{{variant|}}}
|text = {{{text|}}}
}}
{{clear}}
{{clear}}
Placing this template will also add the page to [[:Category:Wikipedia articles that use {{{variant}}}]].
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 ===
=== Editnotice usage ===
Line 30: Line 33:




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


{{#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 [[Wikipedia:Administrators|administrators]] and [[Wikipedia:Template editor|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 [[Help:Using talk pages|talk page]], using the template {{tl|Edit template-protected}}.
All users can create editnotices for their user and talk pages but only [[Wikipedia:Administrators|administrators]] and [[Wikipedia:Template editor|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 [[Help:Using talk pages|talk page]], using the template {{tl|adminhelp}}.


An example talk page request you might emulate appears below:
An example talk page request you might emulate appears below:


<code><nowiki>{{Edit_template-protected}}</nowiki><br/>
<kbd><nowiki>{{adminhelp}}</nowiki><br/>
Please create an <nowiki>[[Wikipedia:Editnotice|edit notice]]</nowiki> for the article, placing in it the template <nowiki><nowiki></nowiki><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|form=editnotice}}</nowiki><nowiki></nowiki></nowiki><nowiki> Thank you--~~~~</nowiki></code>
Please create an <nowiki>[[Wikipedia:Editnotice|edit notice]]</nowiki> for the article, placing in it the template <nowiki><nowiki></nowiki><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|form=editnotice}}</nowiki><nowiki></nowiki></nowiki><nowiki> Thank you--'''&thinsp;&mdash;'''&nbsp;[[User:Mr. Guye|Mr. Guye]]&nbsp;([[User talk:Mr. Guye|talk]])&nbsp;([[Special:Contributions/Mr. Guye|contribs]])&thinsp; 16:54, 28 September 2017 (UTC)</nowiki></kbd>


=== See also ===
=== See also ===
* [[:Category:Use English templates]], similar templates for use in articles
* {{tlx|Langx|en}}
{{div col}}
* {{tl|English variant notice}}
* {{tl|American English}}
* {{tl|American English}}
* {{tl|Australian English}}
* {{tl|Australian English}}
Line 52: Line 55:
* {{tl|British English Oxford spelling}}
* {{tl|British English Oxford spelling}}
* {{tl|Canadian English}}
* {{tl|Canadian English}}
* {{tl|Ghanaian English}}
* {{tl|Hiberno-English}}
* {{tl|Hiberno-English}}
* {{tl|Hong Kong English}}
* {{tl|Indian English}}
* {{tl|Indian English}}
* {{tl|Israeli English}}
* {{tl|Jamaican English}}
* {{tl|IUPAC spelling}}
* {{tl|IUPAC spelling}}
* {{tl|IUPAC spelling US}}
* {{tl|IUPAC spelling US}}
* {{tl|Jamaican English}}
* {{tl|Malawian English}}
* {{tl|Kenyan English}}
* {{tl|Liberian English}}
* {{tl|New Zealand English}}
* {{tl|New Zealand English}}
* {{tl|Nigerian English}}
* {{tl|Pakistani English}}
* {{tl|Pakistani English}}
* {{tl|Philippine English}}
* {{tl|Philippine English}}
* {{tl|Scottish English}}
* {{tl|Scottish English}}
* {{tl|Sierra Leonean English}}
* {{tl|Singaporean English}}
* {{tl|Singaporean English}}
* {{tl|South African English}}
* {{tl|South African English}}
* {{tl|Sri Lankan English}}
* {{tl|Trinidadian English}}
* {{tl|Trinidadian English}}
* {{tl|Ugandan English}}
{{div col end}}
}}
<includeonly>{{Sandbox other||
[[Category:Varieties of English templates]]
{{#switch:{{first word|{{FULLPAGENAME}}}}
|Template:American=[[Category:United States language templates|English]]
|Template:British=[[Category:United Kingdom language templates|English]]
|Template:Canadian=[[Category:Canada language templates|English]]
}}
}}
<includeonly>{{Sandbox other||[[Category:Varieties of English templates]]}}</includeonly>
}}</includeonly>
<noinclude>
<noinclude>
[[Category:Template documentation pages]]
[[Category:Template documentation pages]]