Template:MultiLanguageKey: Difference between revisions
Jump to navigation
Jump to search
m (add Allow abbreviations) |
m (Format standardization) |
||
Line 11: | Line 11: | ||
Fill in the name of the language in 1 place (Default is "<code>English</code>"), and fill in the title of the corresponding page in 2 places (Default is "<code>Earthmc_Wiki</code>"). | Fill in the name of the language in 1 place (Default is "<code>English</code>"), and fill in the title of the corresponding page in 2 places (Default is "<code>Earthmc_Wiki</code>"). | ||
==Example== | |||
<code><nowiki>{{MultiLanguageKey|简体中文|Ronne/Ronne(简体中文)}}</nowiki></code> | <code><nowiki>{{MultiLanguageKey|简体中文|Ronne/Ronne(简体中文)}}</nowiki></code> | ||
Line 17: | Line 17: | ||
<code><nowiki>{{MLK|Русский язык|Ronne/Ronne(Русский язык)}}</nowiki></code> | <code><nowiki>{{MLK|Русский язык|Ronne/Ronne(Русский язык)}}</nowiki></code> | ||
===Effect | ===Effect=== | ||
{{MultiLanguageKey|简体中文|Ronne/Ronne(简体中文)}} | {{MultiLanguageKey|简体中文|Ronne/Ronne(简体中文)}} |
Revision as of 08:21, 29 December 2022
Usage
This template is a child template of {{Template:MultiLanguageSupport}} or {{Template:MLS}}.
This template can be abbreviated as {{MLK}}.
{{MultiLanguageKey|1|2}}
or {{MLK|1|2}}
Fill in the name of the language in 1 place (Default is "English
"), and fill in the title of the corresponding page in 2 places (Default is "Earthmc_Wiki
").
Example
{{MultiLanguageKey|简体中文|Ronne/Ronne(简体中文)}}
{{MLK|Русский язык|Ronne/Ronne(Русский язык)}}