Template:Page/sandbox
Jump to navigation
Jump to search
This is a sandbox for Template:Page.
Sandbox pages are used to test changes to a template before making any concrete changes.
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
- You can also change the namespace.
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page name | 1 | The name of the page to link to. | String | required |
Link text | 2 | Text of the actual link, if you want to override it | String | optional |
Namespace | ns | Change the namespace to something else | String | optional |