Module:English variant notice/doc: Difference between revisions

Content deleted Content added
No edit summary
Tags: Reverted Mobile edit Mobile web edit
Blanked the page
Tags: Blanking Reverted Mobile edit Mobile web edit
Line 1:
{{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}})
 
== See also ==
* The <nowiki>{{</nowiki>[[Template:Use X English|Use {{var|X}} English]]<nowiki>}}</nowiki> templates<noinclude>
[[Category:Module documentation pages]]
</noinclude>