Template:Foreign language: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
<includeonly>{{Mbox
<includeonly>{{Mbox
| type=notice
| 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.
| 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.
}}</includeonly>{{#ifeq: {{lc:{{ARTICLEROOTPAGENAME}}}}|template:foreign language||[[Category:{{{1|}}}-language pages]]}}<noinclude>
}}</includeonly>{{#ifeq: {{lc: {{ARTICLEROOTPAGENAME}}}}|template:foreign language||[[Category:{{{1|}}}-language pages]]}}<noinclude>
{{documentation}}
{{documentation}}


[[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).