Template:MultiLanguageSupport: Difference between revisions

From EarthMC
Jump to navigation Jump to search
m Fix overflow bug
m Fix Text
Line 15: Line 15:
It is used to explain that the page supports other languages and provide corresponding links.
It is used to explain that the page supports other languages and provide corresponding links.


Example(In order to display the deconstruction conveniently, carriage return is added. Please do not break lines in actual use.):
===Example(In order to display the deconstruction conveniently, carriage return is added. Please do not break lines in actual use.):===
<div style="background-color: rgba(255, 153, 102, .1);">
<div style="background-color: rgba(255, 153, 102, .1);">
<nowiki>{{Template:MultiLanguageSupport|</nowiki>
<nowiki>{{MultiLanguageSupport|</nowiki>


<nowiki>{{Template:MultiLanguageKey|English|Ronne}}</nowiki>
<nowiki>{{MultiLanguageKey|English|Ronne}}</nowiki>


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


<nowiki>}}</nowiki>
<nowiki>}}</nowiki>
</div>
</div>


Effect:
===Effect:===


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


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

Revision as of 15:20, 28 December 2022

This page is also available in the following languages:

{{{1}}}


Usage

Please use with {{Template:MultiLanguageKey}}.

It is used to explain that the page supports other languages and provide corresponding links.

Example(In order to display the deconstruction conveniently, carriage return is added. Please do not break lines in actual use.):

{{MultiLanguageSupport|

{{MultiLanguageKey|English|Ronne}}

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

}}

Effect:

This page is also available in the following languages:

-English- -简体中文-