Template:English variant notice/documentation: Difference between revisions

Content deleted Content added
rm id
m rm whitespace
 
(40 intermediate revisions by 20 users not shown)
Line 1:
<noinclude>{{Short description|Shared documentation page}}
</noinclude><includeonly>{{Short description|For talk pages and editnotices}}</includeonly>
{{#invoke:English variant notice|_main|variant = ''|nocat = yes}}
 
{{documentation|Template:English_variant_notice/documentation|content=
{{#switch:{{PAGENAME}}
* {{tl | British English = {{High-use|9981}}
* {{tl | British English Oxford spelling = {{wrapper|British English}}
| American English = {{High-use|5476}}
* {{tl | Indian English = {{High-use|2992}}
* {{tl | 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.
Line 8 ⟶ 19:
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:
Line 14 ⟶ 26:
{{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 ===
Line 21 ⟶ 34:
{{#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 editnotice {{{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|adminhelpEdit template-protected}}.
 
An example talk page request you might emulate appears below:
 
<code><nowiki>{{adminhelpEdit_template-protected}}</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>
 
=== 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 ===
* {{tltlx|American EnglishLangx|en}}
{{div col}}
* {{tl|Australian English}}
* {{tl|Bangladeshi English variant notice}}
 
* {{tl|British English}}
{{div col end}}
* {{tl|British English Oxford spelling}}
}}
* {{tl|Canadian English}}
<includeonly>{{Sandbox other||
* {{tl|Ghanaian English}}
[[Category:Varieties of English templates]]
* {{tl|Hiberno-English}}
{{#switch:{{first word|{{FULLPAGENAME}}}}
* {{tl|Hong Kong English}}
|Template:American=[[Category:United States language templates|English]]
* {{tl|Indian English}}
|Template:British=[[Category:United Kingdom language templates|English]]
* {{tl|Israeli English}}
|Template:Canadian=[[Category:Canada language templates|English]]
* {{tl|Jamaican English}}
* {{tl|IUPAC spelling}}
* {{tl|IUPAC spelling US}}
* {{tl|Liberian English}}
* {{tl|Malawian English}}
* {{tl|New Zealand English}}
* {{tl|Nigerian English}}
* {{tl|Pakistani English}}
* {{tl|Philippine English}}
* {{tl|Scottish English}}
* {{tl|Singaporean English}}
* {{tl|South African English}}
* {{tl|Sudanese English}}
* {{tl|Trinidadian English}}
}}
}}</includeonly>[[Category:Varieties of English templates]]</includeonlynoinclude>
<noinclude>
[[Category:Template documentation pages]]
</noinclude>