Template:Page/doc

From Minecraft Discontinued Features Wiki
Jump to navigation Jump to search
Book and Quill 2.png
This is a documentation subpage for Template:Page
It may contain usage information, categories and other content that is not part of the original template page.
High risk template! Please edit this template's sandbox instead of testing on it directly, and check it's testcases before putting the final edit on the main template.

This template creates a link to page within the same namespace where it was used, without namespace name/alias at the beginning of the link text.

  • The first parameter is the name of targeted page.

Code: {{Page|Bug}}
Result: Bug

  • The second parameter can be used to change the text of the link.

Code: {{Page|Bug|Bug template}}
Result: Bug template

Code: {{Page|PDV|some versions might crash your game|ns=Java_Edition}}
Result: some versions might crash your game

  • You dont need the second parameter to change the namespace.

Code: {{Page|Potentially Dangerous Versions|ns=Java_Edition}}
Result: Potentially Dangerous Versions

Template Data

This template creates a link to page within the same namespace where it was used, without namespace name/alias at the beginning of the link text.

Template parameters

ParameterDescriptionTypeStatus
Page name1

The name of the page to link to.

Stringrequired
Link text2

Text of the actual link, if you want to override it

Stringoptional
Namespacens

Change the namespace to something else

Stringoptional