Difference between revisions of "Template:Lang-enm/doc"
imported>DixonDBot m (Migrating 2 interwiki links, now provided by Wikidata on d:Q5651972) |
imported>Trappist the monk (lua doc;) |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
+ | {{COinS safe|n}} | ||
+ | {{lua|Module:lang}} | ||
+ | {{clear}} | ||
<!-- Categories and interwikis go at the bottom of this page. --> | <!-- Categories and interwikis go at the bottom of this page. --> | ||
== Usage == | == Usage == | ||
+ | {{#invoke:Lang/documentor tool|lang_xx_settings|template={{ROOTPAGENAME}}}} | ||
This template is used inline in article prose or in tables and lists to indicate that the text in the first parameter is in the [[Middle English language]]. It automatically italicizes the content by default as something other than [[Modern English language|Modern English]]. | This template is used inline in article prose or in tables and lists to indicate that the text in the first parameter is in the [[Middle English language]]. It automatically italicizes the content by default as something other than [[Modern English language|Modern English]]. | ||
Line 15: | Line 19: | ||
:{{tlx|lang-enm|1{{=}}<var>another Middle English example here</var>|abbr{{=}}MidEng}} | :{{tlx|lang-enm|1{{=}}<var>another Middle English example here</var>|abbr{{=}}MidEng}} | ||
Doing so automatically also disables the link, as if {{para|l|n}} had been specified. | Doing so automatically also disables the link, as if {{para|l|n}} had been specified. | ||
+ | |||
+ | == Parameters == | ||
+ | {{#lst:Template:Lang-x/doc/parameters|lang_xx_parameters}} | ||
== See also == | == See also == |
Revision as of 13:37, 3 December 2017
![]() | This is a documentation subpage for Template:Lang-enm. It contains usage information, categories and other content that is not part of the original template page. |
![]() | This template should not be used in citation templates such as Citation Style 1 and Citation Style 2, because it includes markup that will pollute the COinS metadata they produce; see Wikipedia:COinS. |
![]() | This template uses Lua: |
Usage
code | enm |
---|---|
style: italic |
This template is used inline in article prose or in tables and lists to indicate that the text in the first parameter is in the Middle English language. It automatically italicizes the content by default as something other than Modern English.
{{lang-enm|1=|Middle English content here}}
The |1=
part is optional, if the Middle English content does not contain the character "=".
For subsequent occurrences in the same page, the link to the language name should be turned off with |l=n
or |link=no
:
{{lang-enm|1=more Middle English content here|l=n}}
For subsequent occurrences in the same passage (e.g., a series of Middle English to Modern English translations) it may be helpful to also abbreviate the language name display with |abbr=MidEng
or |abbr=ME
:
{{lang-enm|1=another Middle English example here|abbr=MidEng}}
Doing so automatically also disables the link, as if |l=n
had been specified.
Parameters
{{#lst:Template:Lang-x/doc/parameters|lang_xx_parameters}}
See also
- {{lang-en-em}} for Early Modern English
- {{lang-ang}} for Old English (Anglo-Saxon)
- {{lang-sco}} for Scots