Open main menu
Home
Random
Donate
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:English variant notice/doc
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{high use|25000+}} This module is for generating various english variant notice templates. Automatically generates "variant" from title template that invokes it (e.g invoking from "Template:American English" gives "American English" as variant). All templates using this support a {{para|Oxford}} parameter for oxford spelling and {{para|IUPAC}} automatically. == Usage == * '''small''', '''form''' and '''including''' – unnecessary to use in templates as grabbed when passed in from talk pages * '''id''' – the HTML id used in editnotices; "editnotice" is automatically appended * '''image''' – name of file to be used as an icon, without the File: prefix. * '''variant''' – defaults to the template name; the variant of English, which should be a Wikipedia article. * '''spelling examples''' –gives spelling examples in parentheses * '''compare''' –comparison variants of english * '''text''' – custom text, set only if required to be different from the default * '''doc''' if set to no, will not load the automatic documentation at [[Template:English variant notice/documentation]] * '''editnotice_cat''' if set to yes, categorizes in edit notice category * '''nocat''' disables documentation if set to true * '''size''' set the size of the image (example: {{para|size|60px}}) === Example === As of March 2018, [[Template:Hiberno-English]] uses the following parameters: <pre>{{#invoke:English variant notice|main | id = hie | image = Four Provinces Flag.svg{{!}}border | spelling_examples = ''colour'', ''realise'', ''travelled'' | compare = [[British English|English]], [[Scottish English|Scottish]] and }} </pre> which produces: {{#invoke:English variant notice|main | id = hie | image = Four Provinces Flag.svg{{!}}border | spelling_examples = ''colour'', ''realise'', ''travelled'' | compare = [[British English|English]], [[Scottish English|Scottish]] and | variant = Hiberno-English }} == See also == * The <nowiki>{{</nowiki>[[Template:Use X English|Use {{var|X}} English]]<nowiki>}}</nowiki> templates
Summary:
Please note that all contributions to Stockhub may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:High use
(
edit
)
Template:Para
(
edit
)
Template:Var
(
edit
)
Module:Arguments
(
edit
)
Module:Category handler
(
edit
)
Module:Category handler/blacklist
(
edit
)
Module:Category handler/config
(
edit
)
Module:Category handler/data
(
edit
)
Module:Category handler/shared
(
edit
)
Module:English variant notice
(
edit
)
Module:Message box
(
edit
)
Module:Namespace detect
(
edit
)
Module:Namespace detect/config
(
edit
)
Module:Namespace detect/data
(
edit
)
Module:Pagetype
(
edit
)
Module:Pagetype/config
(
edit
)
Module:Yesno
(
edit
)