Difference between revisions of "Template:Lang-en-GB"
imported>Kibi78704 (Dh'ath-ùraich teamplaid (Meant to say, "Updated template")) |
imported>Kibi78704 |
||
| Line 6: | Line 6: | ||
{{lua|Module:lang}} | {{lua|Module:lang}} | ||
| − | + | ==Usage== | |
{{Lang-en-XX usage|1=Blimey, that lorry crash at the railway was a gobsmacking cockup.}} | {{Lang-en-XX usage|1=Blimey, that lorry crash at the railway was a gobsmacking cockup.}} | ||
| − | + | ==See also== | |
*{<nowiki />{[[Template:Lang|Lang]] {{!}}en-GB}<nowiki />} – no language name link ({{Lang|en-GB|metadata only}}) | *{<nowiki />{[[Template:Lang|Lang]] {{!}}en-GB}<nowiki />} – no language name link ({{Lang|en-GB|metadata only}}) | ||
| − | *{{ | + | *{{tl|Lang-en-US}}, etc., in [[:Category:English dialect multilingual support templates]] |
<!--Categories go below this line.--> | <!--Categories go below this line.--> | ||
| − | [[ | + | [[Category:English dialect multilingual support templates]] |
| − | + | ||
}}</noinclude> | }}</noinclude> | ||
Latest revision as of 23:50, 16 May 2020
| 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 | en-GB |
|---|---|
| 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
{{#lst:Template:Lang-x/doc/parameters|lang_xx_parameters}}
Parameters and examples
Basic usage:
{{Lang-en-GB|1=Blimey, that lorry crash at the railway was a gobsmacking cockup.}}- British English: Blimey, that lorry crash at the railway was a gobsmacking cockup.
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-GB|1=Blimey, that lorry crash at the railway was a gobsmacking cockup. |link=no}}- British English: Blimey, that lorry crash at the railway was a gobsmacking cockup.
[[Category:Lang-x templates|]]
See also
- {{Lang |en-GB}} – no language name link (metadata only)
- {{Lang-en-US}}, etc., in Category:English dialect multilingual support templates
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |