Jump to content

Template:R from file metadata link/doc

From Wikipedia, the free encyclopedia

Usage

[edit]
  • This redirect category (rcat) template is used for redirects of wikilinks created from Exchangeable image file format (Exif), Extensible Metadata Platform (XMP) or other information (i.e. the "metadata" section on some image description pages). Since MediaWiki may only offer limited control over the link targets of these autogenerated wikilinks, redirects are created to make the links useful. Redirects from file metadata information links often target sections and anchors of articles and tables within articles.
  • Add this rcat to a redirect (not a talk-page redirect) in the following manner:
#REDIRECT [[(target article title)(#section or #anchor when appropriate)]]

{{Rcat shell|
{{R from file metadata link}}
{{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 article title)(#section or #anchor when appropriate)]]

{{R from file metadata link}}
This is in accord with instructions found at Wikipedia:REDCAT.
  • Common usage includes {{R to anchor}} or {{R to section}} when appropriate.
  • It might be seen that few or no pages link to redirects that are tagged by this rcat. That is because the metadata links are from the File namespace (often Wikimedia Commons) and do not appear in those listings. These redirects are most likely not orphaned.
  • By default, this template tags redirects as unprintworthy. To tag and categorize a redirect as printworthy, use the bar key ( ¦ ) on your keyboard to type the addition ¦printworthy in the following manner:
{{Rcat shell|
{{R from file metadata link|printworthy}}
{{R printworthy}}
}}
Note: The bar key ( ¦ ) on the keyboard renders as a pipe ( | ) on the screen.
That will subdue the default unprintworthy category and populate Category:Printworthy redirects instead. The criteria for judging whether or not a redirect from a file metadata link is printworthy is that if a redirect would have been created whether or not it is from a file metadata link, then it is very likely to be printworthy (suitable for a printed version of Wikipedia).

Aliases

[edit]

See also

[edit]