Difference between revisions of "Template:Hong Kong English"

From blackwiki
Jump to navigation Jump to search
imported>Primefac
m (Protected "Template:Hong Kong English": semi-protecting highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed acce...)
imported>Galobtter
(convert to lua)
Line 1: Line 1:
{{ {{{|safesubst:}}}#invoke:Unsubst||date=__DATE__ |$B=
+
{{#invoke:English variant notice|main
{{English variant notice
+
| id    = hke
| id    = breeditnotice
 
| small  = {{{small|}}}
 
 
| image  = Flag of Hong Kong.svg
 
| image  = Flag of Hong Kong.svg
| text  = This {{SUBJECTSPACE formatted}} '''is written in [[Hong Kong English]]''' (''colour'', ''realise'', ''travelled''), and some terms used in it are different or absent from other [[List of dialects of the English language|varieties of English]].  According to the [[Wikipedia:Manual of Style#National varieties of English|relevant style guide]], this should not be changed without broad consensus.
+
| spelling_examples = ''colour'', ''realise'', ''travelled''
| variant= Hong Kong English
+
| variant = Hong Kong English
| form  = {{{form|}}}
+
| editnotice_cat = yes
| expiry = {{{expiry|indefinite}}}
 
}}{{#ifeq: {{{form}}} | editnotice | [[Category:Pages with editnotice Hong Kong English editnotice]]}}
 
 
}}
 
}}

Revision as of 04:04, 21 February 2018

50px Template documentation[view] [edit] [history] [purge]

This template may be included on talk pages or editnotices to alert other editors that the associated article is written in Hong Kong English. 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 {{Hong Kong English}} near the top of the talk page. This produces the following:

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 {{Hong Kong English|small=yes}}. This looks like this:

Placing this template will also add the page to Category:Wikipedia articles that use Hong Kong English. Additional options of |Oxford= for Oxford spelling, and |IUPAC= for IUPAC spelling, exist.

Editnotice usage

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


Placing this edit notice will also add the page to Category:Pages with editnotice Hong Kong English 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 {{Edit template-protected}}.

An example talk page request you might emulate appears below:

{{Edit_template-protected}}
Please create an [[Wikipedia:Editnotice|edit notice]] for the article, placing in it the template <nowiki>{{Hong Kong English|form=editnotice}}</nowiki> Thank you--~~~~

See also