Template:R from book/sandbox
Appearance
This is the template sandbox page for Template:R from book (diff). |
This template is used on approximately 2,600 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template should not be substituted nor used to tag soft redirects. |
If you plan to make breaking changes to this template, move it, or nominate it for deletion, please notify Twinkle's users and maintainers at Wikipedia talk:Twinkle as a courtesy, as the standard installation of Twinkle adds and removes this template. Thank you! |
Usage
[edit]- This redirect category (rcat) template populates Category:Redirects from books and Category:Unprintworthy redirects by default. In 2003, efforts were begun to support the Wikimedia Foundation's goal of increasing access and availability of Wikipedia articles in printed versions. Since redirected book titles are already mentioned in author and publisher articles, they are usually not needed in the printed version unless they are notable enough to have their own article. In other words they are unprintworthy. See below for what to do for the few book redirects that are printworthy.
Please do not alter the printworthy settings of this rcat without first notifying the Version 1.0 Editorial Team, who are responsible for any and all materials, including redirects, that go into a printed version of Wikipedia. |
- By default, this rcat also formats the title of the book in italics on the redirect page. See below for those rare instances when this function must be subdued.
- Add this rcat to a redirect page (not a talk-page redirect) in the following manner:
#REDIRECT [[(target article title)]]
{{Rcat shell|
{{R from book}}
{{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)]]
{{R from book}}
- This is in accord with instructions found at WP:REDCAT.
- Use this rcat on any mainspace redirect from a book title to an author, publisher or other more general, relevant article.
- By default, this template places redirects in the unprintworthy category. To tag and categorize a redirect as printworthy, type the addition
printworthy
in the following manner:
{{Rcat shell|
{{R from book|printworthy}}
{{R printworthy}}
}}
- or if applied individually:
{{R from book|printworthy}}
- That will subdue the unprintworthy category and sort the redirect to Category:Printworthy redirects.
- Infrequently, a book title might require the use of {{DISPLAYTITLE}} or {{Italic title}} with its
|string=
parameter to format the title of the redirect. In those cases the default italic title will interfere with that format and must be subdued. When this rcat tags a redirect from inside the Rcat shell template, this is done in the following manner:
{{Rcat shell|
{{R from book|2=noitalics}}
{{R unprintworthy}}
}}
or:
{{Rcat shell|
{{R from book||noitalics}}
{{R unprintworthy}}
}}
- and if applied individually:
{{R from book|2=noitalics}}
or:
{{R from book||noitalics}}
- That will subdue the default italic title so no title-display conflict will result.
Aliases
[edit]- Also known as... – list of templates that redirect here and may also be used