Jump to content

Template:Absolute page title/doc

From Simple English Wikipedia, the free encyclopedia

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

[change source]
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

[change source]