Template:MultiLanguageSupport: Difference between revisions

m Fix overflow bug
m Fix Text
 
(5 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>{{Template:MultiLanguageSupport|</nowiki>
{{MLS|
 
{{MultiLanguageKey|English|Ronne}}{{MLK|简体中文|Ronne/Ronne(简体中文)}}}}
<nowiki>{{Template:MultiLanguageKey|English|Ronne}}</nowiki>
</pre>
 
<nowiki>{{Template:MultiLanguageKey|简体中文|Ronne/Ronne(简体中文)}}</nowiki>
 
<nowiki>}}</nowiki>
</div>


Effect:
===Effect===


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


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