Template:Special: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
m (presumably FULLPAGENAMEE is robuster than FULLPAGENAME)
Line 12:
 
You can use <code><nowiki>[[Special:Page|{{PAGENAME:{{#special:Page}}}}]]</nowiki></code> where <code>Name=Value</code> is not needed.&nbsp; On [[Project:About|{{ns:4}}]] the localized name of [[Special:Mypage|Mypage]] is the default <code>{{PAGENAME:{{#special:Mypage}}}}</code> (note camel case), and you can simply write <code><nowiki>[[Special:Mypage|]]</nowiki></code>.&nbsp; If a template is also used on Wikis with localized names the longer form with <code>[[mw:Help:Magic_words#Miscellaneous|<nowiki>{{PAGENAME:{{#special:Page}}}}</nowiki>]]</code> might be better.
----
 
<templatedata>
[[Category:Internal link templates|{{PAGENAME}}]]</noinclude>
{ "description": "Special page with paramter link",
"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": true
},
"3":
{ "label": "value",
"description": "special page parameter value",
"type": "string",
"required": true
},
"4":
{ "label": "title",
"description": "link display text",
"type": "string",
"default": "{{PAGENAME:{{#special:Page}}}}"
} } }</templatedata>[[Category:Internal link templates|{{PAGENAME}}]]</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu