Template:Special: Difference between revisions

From Bonkipedia
[[mw:]]>AntiCompositeNumber
m (Reverted edits by 85.211.39.236 (talk) to last version by Shirayuki)
 
m (1 revision imported: Workaround and Utility Templates)
 
(No difference)

Latest revision as of 17:53, 12 November 2022

[{{fullurl:Special:{{{1}}}|{{{2}}}={{{3}}}}} 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://bonkipedia.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:

Omitting Name=Value might apparently 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 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

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