Module:English variant notice/doc: Difference between revisions

Content deleted Content added
add
m Reverted 2 edits by 223.24.198.94 (talk) to last revision by Warudo
 
(9 intermediate revisions by 6 users not shown)
Line 1:
{{high use|2000025000+}}
 
ModuleThis module is for generatatinggenerating 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).
Line 9:
== 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.
Line 19:
* '''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}})
* '''doc''' if set to no, disables automatic documentation on template pages
 
=== Example ===
Line 27:
| image = Four Provinces Flag.svg{{!}}border
| spelling_examples = ''colour'', ''realise'', ''travelled''
| compare = [[British English|English]], [[Scottish English|Scottish]], and
}}
</pre>
Line 35:
| 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<noinclude>
[[Category:Module documentation pages]]
</noinclude>