Template:MultiLanguageSupport: Difference between revisions

m Fix Text
m Fix Text
 
(4 intermediate revisions by the same user not shown)
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==
<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]]</noinclude>
[[Category:Article management templates]][[Category: Top prompt template]]</noinclude>