Template:MultiLanguageKey: Difference between revisions

From EarthMC
Jump to navigation Jump to search
(test)
 
m (update)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[{{{2|Earthmc_Wiki}}}|<span style="width:100px;height:24px;border-radius:12.5px;background:linear-gradient(135deg,#72B8FF,#4090FF);color:#FFF;margin:2px;padding:2px;">{{{1|English}}}</span>]]
<big>[[{{{2|Earthmc_Wiki}}}|<span style="width:100px;height:24px;border-radius:12.5px;background:linear-gradient(135deg,#50AAFF,#1050EE);color:#FFF;margin:2px;padding:2px;">-{{{1|English}}}-</span>]]</big>
<noinclude>
<noinclude>


==Usage==
==Usage==
This template is a child template of <nowiki>{{</nowiki>[[Template:MultiLanguageSupport]]<nowiki>}}</nowiki>.
This template is a child template of <nowiki>{{</nowiki>[[Template:MultiLanguageSupport]]<nowiki>}}</nowiki> or <nowiki>{{</nowiki>[[Template:MLS]]<nowiki>}}</nowiki>.


<code><nowiki>{{Template:MultiLanguageKey|1|2}}</nowiki></code>
This template can be abbreviated as '''<nowiki>{{MLK}}</nowiki>'''.
 
<code><nowiki>{{MultiLanguageKey|1|2}}</nowiki></code> or <code><nowiki>{{MLK|1|2}}</nowiki></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>").
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:
==Example==
 
<code><nowiki>{{MultiLanguageKey|简体中文|Ronne/Ronne(简体中文)}}</nowiki></code>
 
<code><nowiki>{{MLK|Русский язык|Ronne/Ronne(Русский язык)}}</nowiki></code>


<code><nowiki>{{Template:MultiLanguageKey|简体中文|Ronne/Ronne(简体中文)}}</nowiki></code>
===Effect===


Effect:
{{MultiLanguageKey|简体中文|Ronne/Ronne(简体中文)}}


{{Template:MultiLanguageKey|简体中文|Ronne/Ronne(简体中文)}}
{{MLK|Русский язык|Ronne/Ronne(Русский язык)}}


[[Category:Article management templates]]</noinclude>
[[Category:Article management templates]]</noinclude>

Latest revision as of 23:10, 6 January 2023

-English-


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(Русский язык)}}

Effect

-简体中文-


-Русский язык-