Template:Localized link/sandbox: Difference between revisions
Template page
More actions
Copied from mw:Template:Localized link/sandbox |
Use {{TranslatableMW}} |
||
| Line 1: | Line 1: | ||
<onlyinclude>{{#if:{{{iw|}}}||<!-- | <onlyinclude>{{#if:{{{iw|}}}||<!-- | ||
-->{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME:{{ | -->{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME:{{TranslatableMW}}}}<!--self link (including translation pages)--> | ||
|<b> | |<b> | ||
}}}}[[:{{#if:{{{iw|}}}|{{{iw}}}:}}Special:MyLanguage/{{{1}}}|{{#if:{{{2|}}}|{{{2}}}|{{#if:{{{iw|}}} | }}}}[[:{{#if:{{{iw|}}}|{{{iw}}}:}}Special:MyLanguage/{{{1}}}|{{#if:{{{2|}}}|{{{2}}}|{{#if:{{{iw|}}} | ||
| Line 19: | Line 19: | ||
}} | }} | ||
}}}}}}]]{{#if:{{{iw|}}}| | }}}}}}]]{{#if:{{{iw|}}}| | ||
|{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME:{{ | |{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME:{{TranslatableMW}}}}<!--self link (including translation pages)--> | ||
|</b> | |</b> | ||
}}}}<includeonly>{{#if:{{{iw|}}}||<span style="display:none">[[:{{{1}}}| ]]</span><!-- T63547 -->}}</includeonly></onlyinclude> | }}}}<includeonly>{{#if:{{{iw|}}}||<span style="display:none">[[:{{{1}}}| ]]</span><!-- T63547 -->}}</includeonly></onlyinclude> | ||
{{Documentation|Template:Localized link/doc}} | {{Documentation|Template:Localized link/doc}} | ||
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! --> | <!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! --> | ||