Template:Lang-en-US

From Hârn
Jump to navigation Jump to search


Template documentation

Usage

settings
code en-US
style: inherit

This template is used to identify (in HTML metadata) that the text enclosed within the template is written in a specific national English-language dialect, and to preface it with a link to the article on that variety. It is most commonly used:

  • In glossaries, when presenting two regional variations of a term sharing the same definition (e.g. tire vs. tyre, aluminium vs. aluminum)
  • When giving alternative names for an article's topic, in the lead section
  • When demonstrating differences between dialectal usages in language articles.

This template does not italicize the output, since English dialects are not foreign languages.

It is never used to mark entire articles or sections of articles as being written in a particular variety of English.

Do not use it to indicate a general English example among other-language examples.

Parameters[edit source]

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

Parameters and examples[edit source]

Basic usage:

  • {{Lang-en-US|1=Everyone should come over and we'll eat hotdogs and watch football on TV.}}
  • American English: Everyone should come over and we'll eat hotdogs and watch football on TV.

To not link the name again (i.e., because it's already been linked in the same article or same long-article section), use |links=no or |link=no:

  • {{Lang-en-US|1=Everyone should come over and we'll eat hotdogs and watch football on TV. |link=no}}
  • American English: Everyone should come over and we'll eat hotdogs and watch football on TV.

See also

External links