साँचा:Redirectstohere/doc
{{
साँचा:namespace detect
| type = notice
| image =
| imageright =
| class =
| style = margin-bottom:1.0em;
| textstyle =
| text = साँचा:strong for साँचा:terminate sentence
It contains usage information, categories and other content that is not part of the original साँचा page.
| small =
| smallimage =
| smallimageright =
| smalltext =
| subst =
| date =
| name =
}}
- Note active template content hidden as need arguments to display properly.
- Otherwise see only an error message.
Purpose
- The purpose of this template
- is to establish and document a section title backlink to and from a redirect page title that links to said section or page.
- This usage will alert and prevent a subsequent editor from altering a section title and inadvertently breaking the link and whatever articles reference same.
- Placement at the top of the article is useful as well, साँचा:tl is better at that position, and साँचा:tl is used more for within a section
Usage
This Redirects template (or Redirectstohere template) is used after a section heading on an article page and it uses the odd numeric parameter {{{1}}}
, which will be not displayed in the tagged article as the reference title of the section. The next following even number is the name of the matching redirect page.
Subsequent pages may also be listed as additional साँचा:Mta to provide a reference to other redirect pages which link to that page or section, but only the Even numbered parameters will display, so dummy arguments might be needed to pad out multiple references to a single section, or the title should be repeated for each even occurrence.
- Such redirect pages should be tagged with
{{R to section|Main_Namespace_Pagename#section name}}
.
Example: In the article साँचा:wpd, the section title Spring Tides and Neap tides might be declared from their matching redirects:
ex:1 -- redirect 'Neap tide' goes to [[tide#Neap tide]] {{Redirects|Neap Tides|Neap tide}} -- Odd params are section titles. ex:2 -- two redirects go to the same section (i.e. related material, not worthy of own topics) So handled in same section: {{Redirects|Neap Tides|Neap tide|Neap Tides|Spring tide}} -- Odd params are section titles... so the Section title "Neap Tides" covers both! {{Redirectstohere|Neap tide|Spring tide|Tides|Storm tide}} -- to page Tide top, so lists all.