Difference between revisions of "Template:LocalizedLink"

From Online Manual

Jump to: navigation, search
(testing text)
Line 4: Line 4:
 
   -->{{#ifexist:{{{1}}}/{{SUBPAGENAME}}|/{{SUBPAGENAME}}}}<!-- current subpage (if it exists)
 
   -->{{#ifexist:{{{1}}}/{{SUBPAGENAME}}|/{{SUBPAGENAME}}}}<!-- current subpage (if it exists)
 
   -->#{{{anchor|}}}<!--                                        optional anchor (if specified)
 
   -->#{{{anchor|}}}<!--                                        optional anchor (if specified)
-->|{{#if:{{{2|}}}|{{{2|}}}|{{{1}}}}}<!--                      visible translation or pagename
+
-->|{{#if:{{{text|}}}|{{{text|}}}|{{{1}}}}}<!--                      visible translation or pagename
 
-->]]<!--
 
-->]]<!--
 
-->{{#ifexist:{{{1}}}/{{SUBPAGENAME}}||<!--      if subpage does not exist
 
-->{{#ifexist:{{{1}}}/{{SUBPAGENAME}}||<!--      if subpage does not exist
Line 11: Line 11:
 
-->}}
 
-->}}
 
|{{#if: {{{anchor|}}}
 
|{{#if: {{{anchor|}}}
   |[[#{{{anchor}}}]]
+
   |[[#{{{anchor}}}<!--
 +
    -->{{#if:{{{text|}}}|&#124;{{{text|}}}}}]]
 
   |Invalid link
 
   |Invalid link
 
   }}
 
   }}
 
}}<noinclude>[[Category:Localisation templates|{{PAGENAME}}]]</noinclude>
 
}}<noinclude>[[Category:Localisation templates|{{PAGENAME}}]]</noinclude>

Revision as of 17:54, 29 September 2011

Invalid link