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.
No edit summary
(Update to make LL highlight current links in bold. This should work for all languages.)
 
Line 1: Line 1:
{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME}}<!--self link (including translation pages)-->
{{#ifeq:{{BASEPAGENAME:{{{1}}}}}|{{BASEPAGENAME}}<!--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 11: Line 11:
     |{{{1}}}
     |{{{1}}}
   }}
   }}
}}}}}}}]]{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME}}<!--self link (including translation pages)-->
}}}}}}}]]{{#ifeq:{{BASEPAGENAME:{{{1}}}}}|{{BASEPAGENAME}}<!--self link (including translation pages)-->
   |</b>
   |</b>
}}<span style="display:none">[[:{{{1}}}| ]]</span><noinclude>{{Documentation}}</noinclude>
}}<span style="display:none">[[:{{{1}}}| ]]</span><noinclude>{{Documentation}}</noinclude>
Confirmedusers
536

edits