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

From blackwiki
Jump to navigation Jump to search
imported>Trappist the monk
(lua doc;)
imported>Trappist the monk
m (sortkey;)
 
(3 intermediate revisions by 2 users not shown)
Line 9: Line 9:
 
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]].
  
{{tlx|lang-enm|1{{=}}|<var>Middle English content here</var>}}
+
{{tlx|lang-enm|1{{=}}<var>Middle English content here</var>}}
  
 
The {{para|1}} part is optional, if the Middle English content does not contain the character "=".
 
The {{para|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 {{para|l|n}} or {{para|link|no}}:
+
For subsequent occurrences in the same page, the link to the language name should be turned off with {{para|link|no}}:
:{{tlx|lang-enm|1{{=}}<var>more Middle English content here</var>|l{{=}}n}}
+
:{{tlx|lang-enm|1{{=}}<var>more Middle English content here</var>|link{{=}}no}}
 
 
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 {{para|abbr|MidEng}} or {{para|abbr|ME}}:
 
:{{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.
 
  
 
== Parameters ==
 
== Parameters ==
Line 28: Line 24:
 
*{{tl|lang-sco}} for Scots
 
*{{tl|lang-sco}} for Scots
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- Categories and interwikis go here: -->
 
<!-- Categories and interwikis go here: -->
 
[[Category:Germanic multilingual support templates|{{PAGENAME}}]]
 
[[Category:Germanic multilingual support templates|{{PAGENAME}}]]
 
[[Category:English dialect multilingual support templates|{{PAGENAME}}]]<!--Not technically correct, but non-linguists won't know that.-->
 
[[Category:English dialect multilingual support templates|{{PAGENAME}}]]<!--Not technically correct, but non-linguists won't know that.-->
[[Category:Lang-x templates]]
+
[[Category:Lang-x templates|enm]]
</includeonly>
+
}}</includeonly>

Latest revision as of 00:18, 31 August 2020

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 |link=no:

{{lang-enm|1=more Middle English content here|link=no}}

Parameters

{{#lst:Template:Lang-x/doc/parameters|lang_xx_parameters}}

See also