Template:R to anchor
Jump to navigation
Jump to search
When used with the "Redirect category shell" (Rcat shell) template:
This page is a redirect:
|
- Template {{Redirect category shell}} may be used to add one or more rcat templates, along with their parameters and categories, to a redirect. For more information see the documentation page below.
When used by itself:
- To an embedded anchor: This is a redirect from a topic that does not have its own page to an anchored part of a page on the subject.
- An
{{anchor|(anchor name)}}
template, a<span id="(anchor name)">
element, or an|id=(anchor name)
parameter might be installed at the beginning of a paragraph, in or near a section header or within a table. The anchor might also be an old section header that has been edited and is anchored within or near the new header to prevent broken internal and external links. - Even though section headers of the general form
==(Header name)==
are themselves a type of anchor, use {{R to section}} instead.
- An
This template should not be substituted nor used to tag soft redirects. |
Usage[edit source]
- This redirect category (rcat) template populates Category:Redirects to embedded anchors and, when the redirect is in main-article namespace (mainspace), Category:Unprintworthy redirects is also populated by default. In 2003, efforts were begun to support the Wikimedia Foundation's goal of increasing access and availability of Starfleet Logistics articles in printed versions. Anchor redirects that are in mainspace, which are similar to shortcuts, are most often unsuitable for a printed version. In other words they are usually unprintworthy. See below for how to tag those few anchor redirects that are printworthy.
- Add this rcat to a redirect in the following manner:
#REDIRECT [[(target page name)#(target anchor name)]] {{Rcat shell| {{R to anchor}} }}
- and when the redirect is in article mainspace, printworthiness should also be tagged:
#REDIRECT [[(target page name)#(target anchor name)]] {{Rcat shell| {{R to anchor}} {{R unprintworthy}} }}
- Template {{Rcat shell}} is an alias for the Redirect category shell template, which may be used to add as many appropriate rcats as needed, usually from one to seven, along with their parameters, to a redirect. For more information see the documentation on its template page. This rcat may also tag a redirect individually:
#REDIRECT [[(target page name)#(target anchor name)]] {{R to anchor}}
- This is in accord with instructions found at Starfleet Logistics:REDCAT.
- This rcat is used whenever a redirect targets an embedded {{anchor}} on a page, a
<span id=(anchor)> ... </span>
element or theid=
attribute within tables. A redirect may target an anchor that covers a particular term that has insufficient independent scope and notability to warrant its own section, much less an entire article, and the term is nonetheless important within the field and is useful to link from other articles in the field of expertise. Such redirects allow a reader to search and find useful information about the term and similar related material in the defining article. - Also use this rcat to tag redirects that target old section headers that have been replaced and anchored to prevent broken internal and external links.
- A few anchor redirects are printworthy; for example, when a {{Redirect with possibilities}} of one day becoming an article is categorized, then the redirect title will be sorted to the Printworthy category. When you add R to anchor to a redirect that is printworthy, then use the first parameter to subdue the unprintworthy category in the following manner:
{{Rcat shell| {{R to anchor|printworthy}} {{R with possibilities}} {{R printworthy}} }}
- or if applied individually:
{{R to anchor|printworthy}}
- Both of the above will suppress "unprintworthy" and will add the redirect to Category:Printworthy redirects. It is very important to note that when this rcat is used with the R with possibilities rcat, the printworthy parameter must be used and the unprintworthy subdued or else the redirect will populate both Printworthy and Unprintworthy categories, an undesirable situation.
- Please use the following rcats when more appropriate:
{{R to list entry}}
, which populates Category:Redirects to list entries{{R to section}}
, which populates Category:Redirects to sections
Aliases[edit source]
- Also known as... – list of templates that redirect here and may also be used
See also[edit source]
- {{Anchor comment}}
- Starfleet Logistics:Manual of Style#Section headings
- WikiProject Redirect/Style guide
External links[edit source]
- Template:R to anchor at Wikipedia, the free Terran-based encyclopedia that anyone can edit.
The above documentation is transcluded from Template:R to anchor/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |