Template:MultiLanguageKey: Difference between revisions

From EarthMC
Jump to navigation Jump to search
m (Hi?)
m (Fix Text)
Line 5: Line 5:
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>.


<code><nowiki>{{Template:MultiLanguageKey|1|2}}</nowiki></code>
<code><nowiki>{{MultiLanguageKey|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>").
Line 11: Line 11:
===Example:===
===Example:===


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


===Effect:===
===Effect:===


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


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

Revision as of 16:19, 28 December 2022

English


Usage

This template is a child template of {{Template:MultiLanguageSupport}}.

{{MultiLanguageKey|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(简体中文)}}

Effect:

简体中文