Difference between revisions of "Template:Lang-de"
Jump to navigation
Jump to search
imported>Illegitimate Barrister (rv0.) |
imported>Trappist the monk (use Module:Lang; see Template talk:Lang#converting to lua;) |
||
Line 1: | Line 1: | ||
− | {{ | + | <includeonly>{{#invoke:lang|lang_xx |
+ | |code=de | ||
+ | }}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 20:16, 2 December 2017
![]() | This template uses Lua: |
Contents
Usage
Lua error in Module:Lang/documentor_tool at line 43: invalid value (nil) at index 3 in table for 'concat'. {{lang-de}} is a template usually used to indicate to readers that the previous term or phrase is translated from a foreign language; one parameter is necessary: the German language term or phrase. It should generally be placed after the English translation of the German term or phrase. That German term is shown in italics unless it's wrapped inside {{Noitalic}}.
The parameter |links=no
will prevent the language name from being linked.
The parameter |lit=literal translation
renders a literal translation of the term within single quotes.
Parameters
{{#lst:Template:Lang-x/doc/parameters|lang_xx_parameters}}
Examples
Wikicode | Resulting text |
---|---|
Italics, language link | |
''The Seafarers of Catan'' ({{lang-de|Die Seefahrer von Catan}}) is an expansion of the board game ''[[The Settlers of Catan]]''.
|
The Seafarers of Catan (Script error: The function "lang_xx" does not exist.) is an expansion of the board game The Settlers of Catan. |
Italics, no language link | |
Albert the Bear ({{lang-de|Albrecht der Bär|links=no}})
|
Albert the Bear (Script error: The function "lang_xx" does not exist.) |
No italics, no language link | |
Weimar is located in the federal state of Thuringia ({{lang-de|Thüringen|italic=no|links=no}}).
|
Weimar is located in the federal state of Thuringia (Script error: The function "lang_xx" does not exist.). |
Italics, no language link, with a literal translation | |
Slug, ({{lang-de|Nacktschnecke|links=no|lit=Naked Snail}}).
|
Slug, (Script error: The function "lang_xx" does not exist.). |
See also
- {{lang}}
The above documentation is transcluded from Template:Lang-de/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |