قالب:Noredirect/doc
هذه صفحة توثيق فرعية لـ قالب:Noredirect. تتضمن معلومات الاستعمال، التصنيفات وأي محتوى آخر ليس من محتويات الأصل لصفحة القالب. |
Usage
This template provides an easy way to link to a page without following a redirect.
{{no redirect|page name|label}}
It accepts two unnamed parameters:
- 1= (required) the name of the page to link.
- 2= (optional) the text to be displayed. If this is omitted then the input of the first parameter is used.
Example
Instead of having to copy/paste or type:
[http://en.wikipedia.org/w/index.php?title=The_Silence_of_the_Sea&redirect=no ''The Silence of the Sea'']
- to yield The Silence of the Sea
an editor can type:
''{{No redirect|The Silence of the Sea}}''
or an alias can be used, as in:
''{{-r|The Silence of the Sea}}''
All of these will take users directly to the same redirect page – قالب:-r.
- The second parameter (label) may come in handy during discussions on talk pages:
{{-r|The Silence of the Sea|this redirect}}
- ...may appear in a talk page discussion something like this: "...For reference, you might want to see قالب:-r."
See also
- Wikipedia:Redirect
- {{No redirect conditional}} ({{nrc}}) – returns either a no-redirect link or a normal wikilink based on whether the page is a redirect