Difference between revisions of "Template:Language with name/for/doc"

From blackwiki
Jump to navigation Jump to search
imported>Hyacinth
({{Documentation subpage}} <!-- Categories and interwikis go at the bottom of this page. --> == Usage == {{tl|{{PAGENAME}}}} is a template used to indicate to readers that the previous term or phrase is from a non-English or foreign language, providing a)
 
imported>Hyacinth
(→‎Example: * {{Language with name/for|1=1|2=2|3=3}})
Line 11: Line 11:
 
'''Edit'''
 
'''Edit'''
 
* Weimar is located in the federal state of Thuringia (<code><nowiki>{{Language with name/for||German|Thüringen}}</nowiki></code>).
 
* Weimar is located in the federal state of Thuringia (<code><nowiki>{{Language with name/for||German|Thüringen}}</nowiki></code>).
* Weimar is located in the federal state of Thuringia (<code><nowiki>{{Language with name/for|2=German|3=Thüringen}}</nowiki></code>).
+
* Weimar is located in the federal state of Thuringia (<code><nowiki>{{Language with name/for|2=German|3=[[Thüringen]]}}</nowiki></code>).
 +
* <code><nowiki>{{Language with name/for|1=1|2=2|3=3}}</nowiki></code>
  
 
'''Resulting text'''
 
'''Resulting text'''
 
* Weimar is located in the federal state of Thuringia ({{Language with name/for||German|Thüringen}}).
 
* Weimar is located in the federal state of Thuringia ({{Language with name/for||German|Thüringen}}).
* Weimar is located in the federal state of Thuringia ({{Language with name/for|2=German|3=Thüringen}}).
+
* Weimar is located in the federal state of Thuringia ({{Language with name/for|2=German|3=[[Thüringen]]}}).
 +
* {{Language with name/for|1=1|2=2|3=3}}
  
 
== See also ==
 
== See also ==

Revision as of 09:46, 27 December 2012

Usage

{{Language with name/for/doc}} is a template used to indicate to readers that the previous term or phrase is from a non-English or foreign language, providing a translation of the non-English term. There appear to be three parameters, one being the foreign language and one being the foreign language term or phrase.

It should generally be placed after the non-English term or phrase, and contain the English translation of the term or phrase.

Example

Edit

  • Weimar is located in the federal state of Thuringia ({{Language with name/for||German|Thüringen}}).
  • Weimar is located in the federal state of Thuringia ({{Language with name/for|2=German|3=[[Thüringen]]}}).
  • {{Language with name/for|1=1|2=2|3=3}}

Resulting text

  • Weimar is located in the federal state of Thuringia (German for 'Thüringen').
  • Weimar is located in the federal state of Thuringia (German for 'Thüringen').
  • 2 for '[3] error: {{lang}}: unrecognized language tag: 1 (help)'

See also