Difference between revisions of "Template:Lang-en-emodeng/doc"

From blackwiki
Jump to navigation Jump to search
imported>SMcCandlish
m (code presetnation fix)
imported>Trappist the monk
(lua doc;)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
{{COinS safe|n}}
 +
{{lua|Module:lang}}
 
<!-- 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 [[Early Modern English language]]. It does {{em|not}} automatically italicizes the content by default as something other than [[Modern English language|Modern English]]. This can be done optionally if the content needs to be distinguished from fully Modern English.  It links by default to the Early Modern English language article, but in the HTML metadata classifies the content simply as English (i.e., Modern English) because there is no ISO language code for Early 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 [[Early Modern English language]]. It does {{em|not}} automatically italicizes the content by default as something other than [[Modern English language|Modern English]]. This can be done optionally if the content needs to be distinguished from fully Modern English.  It links by default to the Early Modern English language article, but in the HTML metadata classifies the content simply as English (i.e., Modern English) because there is no ISO language code for Early Modern English.
  
Line 9: Line 12:
 
The {{para|1}} part is optional, if the Early Modern English content does not contain the character "=".
 
The {{para|1}} part is optional, if the Early Modern 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}} or {{para|links|no}}:
:{{tlx|lang-en-emodeng|1{{=}}<var>more Early Modern English content here</var>|l{{=}}n}}
+
:{{tlx|lang-en-emodeng|1{{=}}<var>more Early Modern English content here</var>|link{{=}}no}}
  
For subsequent occurrences in the same passage (e.g., a series of Early Modern English to Modern English translations) it may be helpful to also abbreviate the language name display with {{para|abbr|EModEng}} or {{para|abbr|EME}}:
+
To cause italicization of the content, use {{para|italic|yes}}:
:{{tlx|lang-en-emodeng|1{{=}}<var>another Early Modern English example here</var>|abbr{{=}}EModEng}}
+
:{{tlx|lang-en-emodeng|1{{=}}<var>Early Modern English content here</var>|italic{{=}}yes}}
Doing so automatically also disables the link, as if {{para|l|n}} had been specified.
 
 
 
To cause italicization of the content, use {{para|i|y}} or {{para|i|yes}}:
 
:{{tlx|lang-en-emodeng|1{{=}}<var>Early Modern English content here</var>|i{{=}}y}}
 
 
This should only be done when a passage is not likely to be understandable to modern readers, e.g.:  
 
This should only be done when a passage is not likely to be understandable to modern readers, e.g.:  
 
*Pre-Elizabethan quotations
 
*Pre-Elizabethan quotations
 
*Particularly difficult Elizabethan and later quotations using forms that no longer survive
 
*Particularly difficult Elizabethan and later quotations using forms that no longer survive
 
*When the PME content is being distinguished from or contrasted with the ME version
 
*When the PME content is being distinguished from or contrasted with the ME version
*The PME term is extinct or definitely obsolete in ME and unlikely to be interpreted as ME at all, e.g. {{lang-en-emodeng|stonied|i=y}}, Modern English: 'stunned, astonished', and {{lang-en-emodeng|an hungred|i=y|abbr=EModEng}}, ModEng: 'a-hungered' [obsolete, poetic], i.e. 'hungry').
+
*The PME term is extinct or definitely obsolete in ME and unlikely to be interpreted as ME at all, e.g. {{lang-en-emodeng|stonied|italic=yes}}, Modern English: 'stunned, astonished', and {{lang-en-emodeng|an hungred|italic=yes}}, ModEng: 'a-hungered' [obsolete, poetic], i.e. 'hungry').
 
This can also be accomplished with <code><nowiki>''{{lang-en-emodeng|1=</nowiki><var>Early Modern English content here</var><nowiki>}}''</nowiki></code>, but a later editor might remove the <code><nowiki>''italicization''</nowiki></code>, mistaking it for an inappropriate attempt at {{em|emphasis}}, while <code>{{tnull|lang-en-emodeng|1{{=}}<var>Early Modern English content here</var>|i{{=}}y}}</code> is also more efficient by one character.
 
This can also be accomplished with <code><nowiki>''{{lang-en-emodeng|1=</nowiki><var>Early Modern English content here</var><nowiki>}}''</nowiki></code>, but a later editor might remove the <code><nowiki>''italicization''</nowiki></code>, mistaking it for an inappropriate attempt at {{em|emphasis}}, while <code>{{tnull|lang-en-emodeng|1{{=}}<var>Early Modern English content here</var>|i{{=}}y}}</code> is also more efficient by one character.
 +
 +
== Parameters ==
 +
{{#lst:Template:Lang-x/doc/parameters|lang_xx_parameters}}
  
 
== See also ==
 
== See also ==

Revision as of 18:49, 9 December 2017

Usage

settings
code en-emodeng
style: inherit

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 Early Modern English language. It does not automatically italicizes the content by default as something other than Modern English. This can be done optionally if the content needs to be distinguished from fully Modern English. It links by default to the Early Modern English language article, but in the HTML metadata classifies the content simply as English (i.e., Modern English) because there is no ISO language code for Early Modern English.

{{lang-en-emodeng|1=|Early Modern English content here}}

The |1= part is optional, if the Early Modern 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 or |links=no:

{{lang-en-emodeng|1=more Early Modern English content here|link=no}}

To cause italicization of the content, use |italic=yes:

{{lang-en-emodeng|1=Early Modern English content here|italic=yes}}

This should only be done when a passage is not likely to be understandable to modern readers, e.g.:

  • Pre-Elizabethan quotations
  • Particularly difficult Elizabethan and later quotations using forms that no longer survive
  • When the PME content is being distinguished from or contrasted with the ME version
  • The PME term is extinct or definitely obsolete in ME and unlikely to be interpreted as ME at all, e.g. Early Modern English: stonied, Modern English: 'stunned, astonished', and Early Modern English: an hungred, ModEng: 'a-hungered' [obsolete, poetic], i.e. 'hungry').

This can also be accomplished with ''{{lang-en-emodeng|1=Early Modern English content here}}'', but a later editor might remove the ''italicization'', mistaking it for an inappropriate attempt at emphasis, while {{lang-en-emodeng|1=Early Modern English content here|i=y}} is also more efficient by one character.

Parameters

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

See also