Difference between revisions of "Template:Lang-enm/doc"

From blackwiki
Jump to navigation Jump to search
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

Usage

settings
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