Difference between revisions of "Template:LocalizedLink"

From Online Manual

Jump to: navigation, search
(Undo revision 25590 by Illori (talk))
 
(3 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
-->|{{#if:{{{text|}}}|{{{text|}}}|{{{1}}}}}<!--                      visible translation or pagename
 
-->|{{#if:{{{text|}}}|{{{text|}}}|{{{1}}}}}<!--                      visible translation or pagename
 
-->]]<!--
 
-->]]<!--
-->{{#ifexist:{{{1}}}/{{SUBPAGENAME}}|| }}
+
-->{{#ifexist:{{{1}}}/{{SUBPAGENAME}}||<!--      if subpage does not exist
 +
  -->{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}||<!--  and it is on a subpage
 +
    -->&nbsp;<small dir="ltr">(en)</small>}}<!-- then add "(en)"
 +
-->}}
 
|{{#if: {{{anchor|}}}
 
|{{#if: {{{anchor|}}}
 
   |{{#if:{{{text|}}}
 
   |{{#if:{{{text|}}}
Line 13: Line 16:
 
   |Invalid link
 
   |Invalid link
 
   }}
 
   }}
}}
+
}}<noinclude>[[Category:Localisation templates|{{PAGENAME}}]]</noinclude>
<noinclude>[[Category:Localisation templates|{{PAGENAME}}]]</noinclude>
 

Latest revision as of 11:34, 8 July 2014

Invalid link