Template:Localized link: Difference between revisions

From Vintage Story Wiki
Update to make LL highlight current links in bold. This should work for all languages.
(add cat)
(Update to make LL highlight current links in bold. This should work for all languages.)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
{{#ifeq:{{BASEPAGENAME:{{{1}}}}}|{{BASEPAGENAME}}<!--self link (including translation pages)-->
<languages/>
</noinclude><!--
-->{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME:{{translatable}}}}<!--self link (including translation pages)-->
   |<b>
   |<b>
}}[[Special:MyLanguage/{{{1}}}|{{#if:{{{2|}}}|{{{2}}}|{{{2|{{#ifexist:Translations:{{#if:{{NAMESPACE:{{{1}}}}}|{{NAMESPACE:{{{1}}}}}:}}{{PAGENAME:{{{1}}}}}/Page display title/{{PAGELANGUAGE}}<!--if the source page, PAGELANGUAGE returns en-->
}}[[Special:MyLanguage/{{{1}}}|{{#if:{{{2|}}}|{{{2}}}|{{{2|{{#ifexist:Translations:{{#if:{{NAMESPACE:{{{1}}}}}|{{NAMESPACE:{{{1}}}}}:}}{{PAGENAME:{{{1}}}}}/Page display title/{{PAGELANGUAGE}}<!--if the source page, PAGELANGUAGE returns en-->
Line 14: Line 11:
     |{{{1}}}
     |{{{1}}}
   }}
   }}
}}}}}}}]]{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME:{{translatable}}}}<!--self link (including translation pages)-->
}}}}}}}]]{{#ifeq:{{BASEPAGENAME:{{{1}}}}}|{{BASEPAGENAME}}<!--self link (including translation pages)-->
   |</b>
   |</b>
}}<span style="display:none">[[:{{{1}}}| ]]</span><!-- T63547 --><noinclude>
}}<span style="display:none">[[:{{{1}}}| ]]</span><noinclude>{{Documentation}}</noinclude>
 
{{/Documentation}}
[[Category:Translation templates]]
</noinclude>
Confirmedusers
556

edits