Template:LocalizedLink: Difference between revisions From Online Manual

Jump to: navigation, search
(Sorry for bring this back, but I can't live w/o some indication as to whether the link destination has been translated or not. Hopefully, it's less conspicuous now.)
No edit summary
Line 1: Line 1:
{{#if: {{{1|}}}
{{#if: {{{1|}}}
|<!--
|<!--
-->{{#ifexist:{{{1}}}/{{SUBPAGENAME}}||<!--      if subpage does not exist
  -->{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}||<!--  and it is on a subpage
    --><span style="border-bottom:red thin dashed">}}<!-- then add red underlining
-->}}<!--
-->[[{{{1}}}<!--                                              target page name (required)
-->[[{{{1}}}<!--                                              target page name (required)
   -->{{#ifexist:{{{1}}}/{{SUBPAGENAME}}|/{{SUBPAGENAME}}}}<!-- current subpage (if it exists)
   -->{{#ifexist:{{{1}}}/{{SUBPAGENAME}}|/{{SUBPAGENAME}}}}<!-- current subpage (if it exists)
Line 12: Line 8:
-->{{#ifexist:{{{1}}}/{{SUBPAGENAME}}||<!--      if subpage does not exist
-->{{#ifexist:{{{1}}}/{{SUBPAGENAME}}||<!--      if subpage does not exist
   -->{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}||<!--  and it is on a subpage
   -->{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}||<!--  and it is on a subpage
     --></span>}}<!-- then add red underlining
     -->&nbsp;<small dir="ltr">(en)</small>}}<!-- then add "(en)"
-->}}
-->}}
|{{#if: {{{anchor|}}}
|{{#if: {{{anchor|}}}

Revision as of 02:03, 11 December 2013

Invalid link



Advertisement: