Template:Foreign language/doc: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
Add usage example, link to new help page
 
Line 2: Line 2:
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.
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.


Line 8: Line 8:
; <code><nowiki>{{{1}}}</nowiki></code>
; <code><nowiki>{{{1}}}</nowiki></code>
: Name of the language (use the English name).
: Name of the language (use the English name).
For example, <code><nowiki>{{Foreign language|Korean}}</nowiki></code> displays as:
{{Foreign language|Korean}}
== See also ==
* [[Help:Other languages]]