Template:Foreign language/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
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]]

Latest revision as of 03:46, 15 July 2026

This template should not be substituted.

The Foreign language template adds a 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

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

For example, {{Foreign language|Korean}} displays as:

This page is written in Korean. It is temporarily hosted on the English Xenharmonic Wiki since there is no Korean subdomain for the Xenharmonic Wiki.

See also