Template:Special

From Linux Web Expert

Revision as of 13:49, 29 November 2023 by imported>Tegel (Reverted edits by 103.148.128.173 (talk) to last version by Clump)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

[{{FULLURL:Special:{{{1}}}|}} Badtitle]

Template documentation
{{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:https://www.linuxwebexpert.com/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:

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:.


<templatedata>{

 "description": "Plain link to a special page with one parameter",
 "params": {
   "1": {
     "label": "page",
     "description": "page part of local Special:page",
     "type": "wiki-page-name",
     "required": true
   },
   "2": {
     "label": "name",
     "description": "special page parameter name",
     "type": "string",
     "required": false
   },
   "3": {
     "label": "value",
     "description": "special page parameter value",
     "type": "string",
     "required": false
   },
   "4": {
     "label": "title",
     "description": "link display text",
     "type": "string",
     "default": "Page"
   }

} }</templatedata>