Template:Page

From Minecraft Discontinued Features Wiki
(Redirected from Template:P)
Jump to navigation Jump to search
[view | edit | history | purge | sandbox]Documentation
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[Edit template data]

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
[view | edit | history | purge | sandbox]The above documentation is transcluded from Template:Page/doc.