An example demonstrating how to use
Help:Links
in a namespace that supports subpages.
Templates:
{{FULLPAGENAME}}
displays the full name of the current page. For example: Help:Links/example.
{{PAGENAME}}
displays the partial name of the current page. For example: Links/example.
{{SUBPAGENAME}}
displays the name of the subpage, if available. For example: example.
{{BASEPAGENAME}}
displays the name of the base page. For example: Links.
See also
Help:Subpages
.
Subpage Navigation:
[[../]]
displays the parent page of a subpage. For example:
Help:Links
.
[[../example]]
displays the "example" subpage of a parent page if it exists. For example:
Help:Links/example
.
[[../example2]]
displays the "example2" subpage of a parent page if it exists. For example:
Help:Links/example2
.
[[/example2]]
displays the "example2" subpage of a current page if it exists. For example:
/example2
.
Subpage Tag:
{{/example2}}
is a placeholder for the "example2" subpage of a current page if it exists. It uses the
template
feature to embed or
transclude
the subpage into the current page.
For example:
This text is transcluded from
Help:Links/example/example2
Dynamic Link:
{{fullurl:{{NAMESPACE}}:{{BASEPAGENAME}}/example2}}
generates a dynamic URL for an "example2" subpage if it exists.
For example: //www.mediawiki.org/wiki/Help:Links/example2