Template:Foreign language: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Fredg999 (talk | contribs)
m Fix typo
ArrowHead294 (talk | contribs)
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{{Mbox
{{Mbox|type=notice|text='''This page is written in {{{1|}}}.''' It is temporarily hosted on the English Xenharmonic Wiki since there is no {{{1|}}} subdomain for the Xenharmonic Wiki.}}
| type = notice
[[Category:{{{1|}}}-language pages]]</includeonly><noinclude>
| text = '''This page is written in {{{1|}}}.''' It is temporarily hosted on the English Xenharmonic Wiki since there is no {{{1|}}} subdomain for the Xenharmonic Wiki.
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.
}}</includeonly>{{#ifeq: {{lc: {{ARTICLEROOTPAGENAME}}}}|template:foreign language||[[Category:{{{1|}}}-language pages]]}}<noinclude>
{{documentation}}


{{doc}}
[[Category:Message boxes]]
[[Category:Message boxes]]</noinclude>
</noinclude>

Latest revision as of 15:44, 7 July 2025

Template documentation[view] [edit] [history] [purge]
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).