Jump to content

Template:R from book: Difference between revisions

From Elite Dangerous Wiki
Content deleted Content added
per edit request on talk page - update italics
 
m Localise imported template guidance and policy links; preserve index layout and licence information
 
Line 5: Line 5:
|from=a book title
|from=a book title
|to=a more general, relevant article, such as the author or publisher of the book or to its title in an alternative language
|to=a more general, relevant article, such as the author or publisher of the book or to its title in an alternative language
|info=** Books should only have an individual article when they meet [[Wikipedia:Notability (books)|Wikipedia's notability guidelines]] and there is enough material to warrant a detailed article.{{#ifeq:{{{2}}}|noitalics||{{#switch:{{FULLPAGENAME}}|Wikipedia:Template index/Redirect pages=|Template:R from book=|{{Italic title}}}}}}
|info=** Books should only have an individual article when they meet [[Project:Notability|this wiki's notability guidelines]] and there is enough material to warrant a detailed article.{{#ifeq:{{{2}}}|noitalics||{{#switch:{{FULLPAGENAME}}|Project:Template index/Redirect pages|Template:R from book=|{{Italic title}}}}}}
|main category=Redirects from books
|main category=Redirects from books
|printworthy={{#ifeq:{{{1}}}|printworthy|yes|no}}
|printworthy={{#ifeq:{{{1}}}|printworthy|yes|no}}

Latest revision as of 09:56, 31 October 2026

When used inside the {{Redirect category shell}} template:


When used by itself:

  • From a book: This is a redirect from a book title to a more general, relevant article, such as the author or publisher of the book or to its title in an alternative language.
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit "Template:R from book/doc" to edit its documentation if it is available. (How does this work?)

Usage

  • 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

See also

Lua error in Module:Navbox_with_collapsible_groups at line 6: attempt to call field 'with collapsible groups' (a nil value).