Template:English variant notice/documentation: Difference between revisions

Content deleted Content added
Except that rather than "This template", on an article talk page, it would say, "This article"; on a draft talk page it would say "This page".
m rm whitespace
 
(20 intermediate revisions by 12 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}}
 
Line 4 ⟶ 6:
{{#switch:{{PAGENAME}}
| British English = {{High-use|9981}}
* {{tl | 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}}
 
Line 30 ⟶ 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|Edit template-protected}}.
Line 38 ⟶ 42:
<code><nowiki>{{Edit_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|Langx|Lang-en}}
{{div col}}
* {{tl|English variant notice}}
 
* {{tl|American English}}
* {{tl|Australian English}}
* {{tl|Bangladeshi English}}
* {{tl|Botswana English}}
* {{tl|British English}}
* {{tl|British English Oxford spelling}}
* {{tl|Canadian English}}
* {{tl|Commonwealth English}}
* {{tl|EngvarB spelling}}
* {{tl|EngvarO spelling}}
* {{tl|Gambian English}}
* {{tl|Ghanaian English}}
* {{tl|Hiberno-English}}
* {{tl|Hong Kong English}}
* {{tl|Indian English}}
* {{tl|Israeli English}}
* {{tl|IUPAC spelling}}
* {{tl|IUPAC spelling US}}
* {{tl|Jamaican English}}
* {{tl|Kenyan English}}
* {{tl|Liberian English}}
* {{tl|Malawian English}}
* {{tl|Namibian English}}
* {{tl|New Zealand English}}
* {{tl|Nigerian English}}
* {{tl|Pakistani English}}
* {{tl|Papua New Guinean English}}
* {{tl|Philippine English}}
* {{tl|Scottish English}}
* {{tl|Sierra Leonean English}}
* {{tl|Singaporean English}}
* {{tl|South African English}}
* {{tl|Sri Lankan English}}
* {{tl|Sudanese English}}
* {{tl|Trinidadian English}}
* {{tl|Ugandan English}}
* {{tl|Welsh English}}
{{div col end}}
}}
<includeonly>{{Sandbox other||
[[Category:Varieties of English templates]]
{{#switch:{{first word|{{FULLPAGENAME}}}}
}}</includeonly>
|Template:American=[[Category:United States language templates|English]]
<noinclude>
|Template:British=[[Category:United Kingdom language templates|English]]
|Template:Canadian=[[Category:Canada language templates|English]]
}}
}}</includeonly><noinclude>
[[Category:Template documentation pages]]
</noinclude>