Template:Foreign language/doc: Difference between revisions

Created page with "{{dochead}} == Usage == Place at the top of a page that is written in a foreign language. The template accepts one unnamed parameter: * 1: Name of the language (use the Engli..."
 
Add usage example, link to new help page
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{dochead}}
{{dochead}}{{substitute|no}}
The '''Foreign language''' template adds a [[Template:Mbox|message box]], to be placed at the top of a page, to indicate in which language the page is written, when it is not in English. The page is automatically categorized in "X-language pages", where X is replaced by the English name of the language.
 
== Usage ==
== Usage ==
Place at the top of a page that is written in a foreign language.
Place at the top of a page that is written in a foreign language.


The template accepts one unnamed parameter:
The template accepts one unnamed parameter:
* 1: Name of the language (use the English name)
; <code><nowiki>{{{1}}}</nowiki></code>
: Name of the language (use the English name).
 
For example, <code><nowiki>{{Foreign language|Korean}}</nowiki></code> displays as:
{{Foreign language|Korean}}


[[Category:Template documentation]]
== See also ==
* [[Help:Other languages]]