टेम्पलेट:R to anchor: रिवीजन सभ के बीचा में अंतर

Content deleted Content added
ce return category parameter to "all category" from "main category"
update to make code consistent with other rcats
लाइन 1:
{{#ifeq:{{{embed}}}|yes
| {{Redirect template
| name= To an anchor
| from= a topic that does not have its own page
| to= an anchored part of a page on the subject. For more information follow the category link and see the [[Template:R to anchor|template documentation]]
: |info=** The {{tlc|anchor}} (or <code><nowiki><span id=(anchor)> ... </span></nowiki></code> tags or {{para|id}} attribute) might be installed above a paragraph within a section or within a table. Also, the anchor might be an old section header that has been changed that is anchored within or near the new header to prevent link breakages, both internal links and those from sister projects and the Internet. For more information follow the category link.
| info=
** While existing section headers are themselves a type of anchor, do not use this rcat to tag such redirects; use {{tl|R to section}} instead.
:* The {{tlc|anchor}} (or <code><nowiki><span id=(anchor)> ... </span></nowiki></code> tags or {{para|id}} attribute) might be installed above a paragraph within a section or within a table. Also, the anchor might be an old section header that has been changed that is anchored within or near the new header to prevent link breakages, both internal links and those from sister projects and the Internet. For more information follow the category link.
| all category= Redirects to embedded anchors
}}
| {{Redirect template
| from= a topic that does not have its own page
| to= an '''[[:Category:Redirects to embedded anchors|anchored part of a page]]''' on the subject. For more information follow the category link and see the [[Template:R to anchor|template documentation]]
: |info=** The {{tlc|anchor}} (or <code><nowiki><span id=(anchor)> ... </span></nowiki></code> tags or {{para|id}} attribute) might be installed above a paragraph within a section or within a table. Also, the anchor might be an old section header that has been changed that is anchored within or near the new header to prevent link breakages, both internal links and those from sister projects and the Internet. For more information follow the category link.<includeonly>
| info =
** While existing section headers are themselves a type of anchor, do not use this rcat to tag such redirects; use {{tl|R to section}} instead.
:* The {{tlc|anchor}} (or <code><nowiki><span id=(anchor)> ... </span></nowiki></code> tags or {{para|id}} attribute) might be installed above a paragraph within a section or within a table. Also, the anchor might be an old section header that has been changed that is anchored within or near the new header to prevent link breakages, both internal links and those from sister projects and the Internet. For more information follow the category link.<includeonly>
<includeonly>
| all category= Redirects to embedded anchors</includeonly>
}}
}}<includeonly>
{{Main other|{{R {{#ifeq:{{{1}}}|printworthy||un}}printworthy|embed=yes}}|}}</includeonly><noinclude>
*** <small>'''Note:''' The "template documentation" link is in '''bold''' and does not work on this page because this is the page to which it links. The link works properly on redirect pages. ''This note only appears on this page – it will not appear on redirects.''</small>
}}<noinclude>
{{Documentation}}
</noinclude>