Content deleted Content added
restore a version that looks correct on some of the templates, will luaify later |
m rm whitespace |
||
(45 intermediate revisions by 20 users not shown) | |||
Line 1:
<noinclude>{{Short description|Shared documentation page}}
{{English variant notice/core▼
</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}}
|
|
|
}}
{{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 16 ⟶ 18:
=== 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
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
{{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 43 ⟶ 32:
{{#invoke:English variant notice
{{#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|
An example talk page request you might emulate appears below:
<code><nowiki>{{
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.
=== See also ===
* {{
{{div col}}
* {{tl|
{{div col end}}
▲* {{tl|British English Oxford spelling}}
▲* {{tl|Canadian English}}
<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>
[[Category:Template documentation pages]]
</noinclude>
|