Template:Library resources about: Difference between revisions

From Vigyanwiki
m (1 revision imported)
m (1 revision imported from alpha:Template:Library_resources_about)
 
(No difference)

Latest revision as of 11:22, 25 July 2023

Library resources in your library and in other libraries about Library resources about

Template documentation

The {{Library resources about}} template provides text containing external links to resources in the user's preferred library (and possibly also in free online book collections) about the topic of an article. More details can be found in the documentation for the related {{Library resources box}} template.

Usage

{{Library resources about |onlinebooks= |others= |label= |viaf= |lccn= |lcheading= |wikititle= }}<!-- all parameters are optional; last 4 are mutually exclusive -->

Parameters

  • onlinebooks= If this, or the onlinebooksabout parameter, is set to yes, links are shown for free online books (as listed on the Online Books Page). It is best to check to see if any such books are listed there. (If not, eligible books may be suggested.)
  • others= If set to no, links are not shown to select other libraries.
  • label= If set, the value is used in place of the article title in the supplied text.
  • The remaining parameters can be used to specify more precisely the topic to query in the destination library. By default, the FTL service will attempt to find a suitable library subject or author heading based on the title of the Wikipedia article, or use the article's title in a keyword query, but you can use one of the following parameters to more precisely direct the library query. No more than one of the following parameters should be used:
    • viaf= The topic is identified by the supplied Virtual International Authority File identifier, if known.
    • lccn= The topic is identified by the supplied Library of Congress Control Number, if known. Currently only LCCNs for names are supported; we hope to add support for topical subjects, and titles, in the future.
    • lcheading= The topic is identified by the supplied authorized name or subject heading from the Library of Congress Authorities.
    • wikititle= The topic should be based on the supplied Wikipedia page title, instead of the current Wikipedia page's title

Examples

{{Library resources about}}

The simplest template call generates text with links to resources about the current article's topic at the user's preferred library, and at other libraries, based on the title of the article. Links to online books are not shown.

{{Library resources about|onlinebooks=yes|viaf=31432428}}

This generates text with links to online books, resources at the user's preferred library, and resources at other libraries, about the assignee of VIAF ID "31432428" (who happens to be George Washington). Using the VIAF ID makes this link less vulnerable to possible future changes in the Wikipedia article title (or in the Library of Congress authorized heading) for George Washington.

{{Library resources about|onlinebooks=yes|label=the Underground Railroad}}

This generates text with links to online books, resources at the user's preferred library, and resources at other libraries, about the Underground Railroad (if it is placed on a page titled "Underground Railroad", or the additional parameter wikititle is set to Underground Railroad). The label parameter in this case makes the text read more grammatically (as it will say "about the Underground Railroad" instead of "about Underground Railroad").

{{Library resources about
   |onlinebooks=yes
   |lcheading=World War, 1914-1918 -- Personal narratives
   |label=personal experiences of World War I}}

This generates text with links to online books, resources at the user's preferred library, and resources at other libraries, that are personal accounts of World War I. The lcheading parameter is used to explicitly specify a Library of Congress subject heading to use for the library links. (Note that we mark subdivisions in LC subject headings with two hyphens, preferably surrounded by spaces.) We also include a label parameter to label the concept in more everyday language.

It will appear inline thus: Online books, and library resources in your library and in other libraries about personal experiences of World War I

See also

  • {{Library resources by}} -- similar to this template, but generates text with external links for library resources by (rather than about) the subject of an article.
  • {{Library resources box}} -- generates these, and possibly other, links as a sidebar box instead of as inlined text.
  • {{Library link about}} -- generates a single link about a topic as inlined text. Used by this template.