উইকিপিডিয়া:পুনর্নির্দেশনা: সংশোধিত সংস্করণের মধ্যে পার্থক্য

বিষয়বস্তু বিয়োগ হয়েছে বিষয়বস্তু যোগ হয়েছে
২৮ নং লাইন:
 
<b>বিশেষ দ্রষ্টব্য:</b> <nowiki>{{</nowiki>R<nowiki>}}</nowiki> </b>নামে অপর একটি টেমপ্লেট রয়েছে। তার সাথে গুলিয়ে ফেলবেন না।<b>
 
===Redirects to page sections===
You can also redirect to [[Help:Section|page sections]] within an article. See [[Meta:Help:Redirect#A redirect to an anchor]]:
 
'''<nowiki>#REDIRECT [[University of Cambridge#History]]{{R from alternative name}}{{R to section}}</nowiki>'''
 
Consider that when the target page is displayed, it is likely that the top of the page will not be shown, so the user may not see the helpful "(redirected from... )" text unless they know to scroll back to the top. This is less likely to cause confusion if the redirect is to a heading with the same name as the redirect; see for example "[[Argument from contingency]]".
 
One option for documenting a redirect to a section heading is to leave a comment using '''<nowiki><!-- ... ---></nowiki>''' to remind others that the title is linked, so that if the title is altered, the redirect can be changed. For example:
 
<nowiki> ==Evolutionary implications== <!-- This section is linked from redirect "[[Richard Dawkins]]" --> </nowiki>
 
A redirect to a non-existent section&nbsp;– perhaps due to a misspelling or name change&nbsp;– will simply lead to the top of the target article.
 
A more resilient approach is to insert an {{tl|Anchor}} inside the heading, copying the heading's current title as a parameter to the template; then, even if the heading is renamed, its original anchor is preserved and the existing anchor links will still work. {{tl|Anchor}} can take multiple parameters to accommodate several names and variations. Documenting terms expected in the subsection without confusing the readers is encouraged. The above example becomes:
 
<nowiki>==Evolutionary implications {{Anchor|Evolutionary implications}}==</nowiki>
 
This method however has an unwanted side effect: the <nowiki>{{Anchor|parameters}}</nowiki> will appear in section edit summaries:
/* Some section title <nowiki>{{Anchor|parameters}}</nowiki> */ ''the user summary''
 
The following markup avoids this side effect:
 
<nowiki>==Evolutionary implications==</nowiki>
<nowiki>{{Anchor|Evolutionary implications}}</nowiki>
 
or this real example, which does have a convenient nearby section title:
<nowiki>==Table of AWG wire sizes==</nowiki>
<nowiki>{{Anchor|Table of AWG wire sizes}} <!-- redirect target and direct link from other articles --></nowiki>
 
{{tlx|Anchor|any text for an anchor link}} will also work in the body text of a long section where one might not want a section or sub-section title, such as above a table referenced by another article.
 
===Creating new redirects===