Jump to content
Wikimedia Meta-Wiki

Template:Absolute page title

From Meta, a Wikimedia project coordination wiki
Template documentation

Usage

[edit ]

Resolves a relative title to its absolute form. The result can be used across different namespaces with consistent behavior.

The first parameter (mandatory) is the target page title. It can be a full page title or a relative subpage.

The second parameter (optional) is the base page. It defaults to the current page ({{FULLPAGENAME}}).

Examples

[edit ]
Code Result
{{Absolute page title|TargetPage|BasePage}}
TargetPage
{{Absolute page title|/TargetPage|BasePage}}
/TargetPage
{{Absolute page title|Talk:TargetPage|Talk:BasePage}}
Talk:TargetPage
{{Absolute page title|Talk:TargetPage|BasePage}}
Talk:TargetPage
{{Absolute page title|/Subpage|Talk:BasePage}}
Talk:BasePage/Subpage

See also

[edit ]
The above documentation is transcluded from Template:Absolute page title/doc. (edit | history)
Editors can experiment in this template’s sandbox (create | mirror) and testcases (create) pages.
Please add categories to the /doc subpage. Subpages of this template.

AltStyle によって変換されたページ (->オリジナル) /