Difference between revisions of "Template:Lang-de/doc"
Jump to navigation
Jump to search
imported>Mcewan (Document 'lit' parameter) |
|||
Line 8: | Line 8: | ||
The parameter {{Para|links|no}} will prevent the language name from being linked. | The parameter {{Para|links|no}} will prevent the language name from being linked. | ||
− | == | + | The parameter {{Para|lit|literal translation}} renders a literal translation of the term within single quotes. |
+ | |||
+ | == Examples == | ||
{| class=wikitable | {| class=wikitable | ||
!width=50%|Wikicode!!width=50%|Resulting text | !width=50%|Wikicode!!width=50%|Resulting text | ||
Line 26: | Line 28: | ||
|<code><nowiki>Weimar is located in the federal state of Thuringia ({{lang-de|{{Noitalic|Thüringen}}|links=no}}).</nowiki></code> | |<code><nowiki>Weimar is located in the federal state of Thuringia ({{lang-de|{{Noitalic|Thüringen}}|links=no}}).</nowiki></code> | ||
|Weimar is located in the federal state of Thuringia ({{lang-de|{{Noitalic|Thüringen}}|links=no}}). | |Weimar is located in the federal state of Thuringia ({{lang-de|{{Noitalic|Thüringen}}|links=no}}). | ||
+ | |- | ||
+ | !colspan=2|Italics, no language link, with a literal translation | ||
+ | |- | ||
+ | |<code><nowiki>Slug, ({{lang-de|Nacktschnecke|links=no|lit=Naked Snail}}).</nowiki></code> | ||
+ | |Slug, ({{lang-de|Nacktschnecke|links=no|lit=Naked Snail}}). | ||
|} | |} | ||
Revision as of 12:57, 26 November 2016
![]() | This is a documentation subpage for Template:Lang-de. It contains usage information, categories and other content that is not part of the original template page. |
Usage
{{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.
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 (German: Die Seefahrer von Catan) 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 (German: Albrecht der Bär) |
No italics, no language link | |
Weimar is located in the federal state of Thuringia ({{lang-de|{{Noitalic|Thüringen}}|links=no}}).
|
Weimar is located in the federal state of Thuringia (German: Thüringen). |
Italics, no language link, with a literal translation | |
Slug, ({{lang-de|Nacktschnecke|links=no|lit=Naked Snail}}).
|
Slug, (German: Nacktschnecke, lit. 'Naked Snail'). |