Template:Special
[{{FULLURL:Special:{{{1}}}|}} Badtitle]
{{Special|Page|Name|Value|Title}}
creates a plain link for [{{fullurl:Special:Page|Name=Value}} Title]
.
The link has in essence the same effect as [https://www.mediawiki.org/wiki/Special:Page?Name=Value Title]
.
The default for the optional Title
is the localized name of the Page
, i.e., {{PAGENAME:{{#special:Page}}}}
. Examples:
{{Special|PrefixIndex|namespace|1|Talk}}
yields Talk{{Special|PrefixIndex|namespace|1|{{ns:1}}}}
yields Talk{{Special|PrefixIndex|namespace|1}}
yields PrefixIndex{{Special|PrefixIndex/{{FULLPAGENAMEE}}/|stripprefix|1|subpages}}
yields subpages
Omitting Name=Value
now also works, e.g., {{Special|Mypage}}
yields MyPage. On MediaWikiWiki the localized name of Mypage is the default MyPage
(note camel case), and you can simply write [[Special:Mypage|]]
. If a template is also used on Wikis with localized names the longer form with {{PAGENAME:{{#special:Page}}}}
might be better. Also see c:, d:, m:, w:de:, w:en:.
Plain link to a special page with one parameter
Parameter | Description | Type | Status | |
---|---|---|---|---|
page | 1 | page part of local Special:page | Page name | required |
name | 2 | special page parameter name | String | optional |
value | 3 | special page parameter value | String | optional |
title | 4 | link display text
| String | optional |