Link/a/b
From Meta, a Wikimedia project coordination wiki
This pages demonstrates the subpage feature explained in Help:Link#Subpage_feature. For this purpose it is intentionally not in a help namespace.
{{FULLPAGENAME}} gives Link/a/b.
{{PAGENAME}} gives Link/a/b.
{{SUBPAGENAME}} gives b.
{{BASEPAGENAME}} gives Link/a.
[[../]] gives Link/a.
[[../b]] gives Link/a/b.
[[../../]] gives Link.
[[../../c]] gives Link/c.
Linking to an anchor of an ancestor does not work; attempting that gives a link to a page with the name consisting of the name of the ancestor followed by "/":
[[../#See also]] gives Link/a#See also.
[[../../#Subpage_feature]] gives Link#Subpage_feature.
This works only in internal links and template calls:
{{../}} gives Template:Link/a
{{../../}} gives [[{{{1}}}]]
{{fullurl:{{BASEPAGENAME}}}} gives http://meta.wikimedia.org/wiki/Link/a.
{{fullurl:../}} gives Template:Fullurl:../
See also Special:Prefixindex/Link/ and Help:Link/a.

