Template:MultiLanguageSupport: Difference between revisions

From EarthMC
Jump to navigation Jump to search
(add Category)
m (Fix Text)
Line 11: Line 11:


==Usage==
==Usage==
Please use with <nowiki>{{</nowiki>[[Template:MultiLanguageKey]]<nowiki>}}</nowiki>.
Please use with <nowiki>{{</nowiki>[[Template:MultiLanguageKey]]<nowiki>}}</nowiki> or <nowiki>{{</nowiki>[[Template:MLK]]<nowiki>}}</nowiki>.
 
This template can be abbreviated as '''<nowiki>{{MLS}}</nowiki>'''.


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);">
<pre>
<nowiki>{{MultiLanguageSupport|</nowiki>
{{MLS|
 
{{MultiLanguageKey|English|Ronne}}{{MLK|简体中文|Ronne/Ronne(简体中文)}}}}
<nowiki>{{MultiLanguageKey|English|Ronne}}</nowiki>
</pre>
 
<nowiki>{{MultiLanguageKey|简体中文|Ronne/Ronne(简体中文)}}</nowiki>
 
<nowiki>}}</nowiki>
</div>


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


{{MultiLanguageSupport|{{MultiLanguageKey|English|Ronne}}{{MultiLanguageKey|简体中文|Ronne/Ronne(简体中文)}}}}
{{MLS|
{{MultiLanguageKey|English|Ronne}}{{MLK|简体中文|Ronne/Ronne(简体中文)}}}}


[[Category:Article management templates]][[Category: Top prompt template]]</noinclude>
[[Category:Article management templates]][[Category: Top prompt template]]</noinclude>

Revision as of 06:27, 29 December 2022

Wiki-wordmark-Language.png
This page is also available in the following languages:

{{{1}}}


Usage

Please use with {{Template:MultiLanguageKey}} or {{Template:MLK}}.

This template can be abbreviated as {{MLS}}.

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

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

Effect:

Wiki-wordmark-Language.png
This page is also available in the following languages:

-English- -简体中文-