Difference between revisions of "Template:Lang-de/doc"

From blackwiki
Jump to navigation Jump to search
imported>Lfdder
Line 3: Line 3:
  
 
=== Usage ===
 
=== Usage ===
{{tl|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 {{Tl|Noitalic}}.
+
{{tl|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 {{Tl|Noitalic}}.
  
 
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.
Line 18: Line 18:
 
!colspan=2|Italics, no language link
 
!colspan=2|Italics, no language link
 
|-
 
|-
|<code><nowiki>Albert the Bear ({{Lang-de|Albrecht der Bär|links=no}})</nowiki></code>
+
|<code><nowiki>Albert the Bear ({{lang-de|Albrecht der Bär|links=no}})</nowiki></code>
|Albert the Bear ({{Lang-de|Albrecht der Bär|links=no}})
+
|Albert the Bear ({{lang-de|Albrecht der Bär|links=no}})
 
|-
 
|-
 
!colspan=2|No italics, no language link
 
!colspan=2|No italics, no language link

Revision as of 18:14, 20 January 2016

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.

Example

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).

See also