• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.49
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Special

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]
{{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://moasspedia.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}} yields PrefixIndex
  • {{Special|PrefixIndex/{{FULLPAGENAMEE}}/|stripprefix|1|subpages}} yields subpages
  • {{Special|Log|user|3=WMFOffice&type=rights|4=official}} yields official

Omitting Name=Value might seem to work, but actually this is not supported, e.g., {{Special|Mypage}} yields MyPage.

You can use [[Special:Page|{{PAGENAME:{{#special:Page}}}}]] where Name=Value is not needed.  On MOASSpedia 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:, mw:, w:de:.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Special

Plain link to a special page with one parameter

Template parameters

ParameterDescriptionTypeStatus
page1

page part of local Special:page

Page namerequired
name2

special page parameter name

Stringrequired
value3

special page parameter value

Stringrequired
title4

link display text

Default
{{PAGENAME:{{#special:Page}}}}
Stringoptional
The above documentation is transcluded from Template:Special/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Special&oldid=31341"
Categories:
  • Templates using TemplateData
  • Internal link templates
Last edited on 5 January 2021, at 07:46

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 5 January 2021, at 07:46.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop