Template:Fullurl/doc: Difference between revisions
More actions
Created page with "{{documentation header}} <templatedata> { "params": { "1": { "label": "Page name", "description": "Target page name. Language, interwiki and section links may be used.", "example": "zh:Minecraft Wiki", "type": "wiki-page-name", "default": "{{FULLPAGENAME}}" }, "2": { "label": "Page action", "example": "veaction{{=}}edit§ion{{=}}1", "description": "All page actions, separated by '&'. You must use {{=}} or | to escape all '='.", "..." Â |
mNo edit summary  |
||
| Line 45: | Line 45: | ||
"nolink" | "nolink" | ||
], | ], | ||
"description": "This template can be used to output the full wiki URL (https:// | "description": "This template can be used to output the full wiki URL (https://wiki.vaulthunters.gg/Index.php?title=) in plaintext or within a plainlink span using the fullurl magic word.\nThis template is useful for actions, for example action=edit to link to the edit box.", | ||
"format": "inline" | "format": "inline" | ||
} | } | ||
Latest revision as of 19:26, 16 June 2025
This template can be used to output the full wiki URL (https://wiki.vaulthunters.gg/Index.php?title=) in plaintext or within a plainlink span using the fullurl magic word. This template is useful for actions, for example action=edit to link to the edit box.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Page name | 1 | Target page name. Language, interwiki and section links may be used.
| Page name | optional |
| Page action | 2 | All page actions, separated by '&'. You must use {{=}} or | to escape all '='.
| String | optional |
| Page action | action | Similar to {{{2}}}, but no need to escape '='.
| String | optional |
| Text | text 3 | Change the text of the link.
| String | optional |
| No link | nolink | Display the URL directly without creating a link, ignoring {{{3}}} and {{{text}}}.
| String | optional |
Usage
To use this template you put the name of the page you want and any actions you want to perform (anything that is after an &).
Examples
{{fullurl|Blocks|action=edit}}
Will output: https://wiki.vaulthunters.gg/index.php?title=Blocks&action=edit
{{fullurl|Blocks|action=edit|nolink=1}}
Will output: https://wiki.vaulthunters.gg/index.php?title=Blocks&action=edit
{{fullurl|Blocks|action=edit|text=Edit page}}
Will output: Edit page
Notes
- All url parameters are kept within the same parameter. (
{{fullurl|MediaWiki:Common.css|action=raw&ctype=text/css}}instead of{{fullurl|MediaWiki:Common.css|action=raw|ctype=text/css}})