الگو:Library resources by

از ویکی‌پدیا، دانشنامهٔ آزاد

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

توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

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

Usage[ویرایش]

{{Library resources by |onlinebooks= |others= |label= |viaf= |lccn= |lcheading= |wikititle= }}

<!-- all parameters are optional; last 4 are mutually exclusive -->

Parameters[ویرایش]

  • onlinebooks= If this, or the onlinebooksby 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 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:

Examples[ویرایش]

{{Library resources by}}

The simplest template call generates text with links to resources by 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 by|onlinebooks=yes|viaf=31432428}}

This generates text with links to online books, resources at the user's preferred library, and resources at other libraries, by the whatever is identified by VIAF ID "31432428" (in this case, جرج واشنگتن). 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 by|onlinebooks=yes|label=the Catholic Church}}

This generates text with links to online books, resources at the user's preferred library, and resources at other libraries, by the کلیسای کاتولیک (if it is placed on a page titled "Catholic Church", or the additional parameter wikititle is set to Catholic Church). The label parameter in this case makes the text read more grammatically (as it will say "by the Catholic Church" instead of "by Catholic Church").

{{Library resources by
  |onlinebooks=yes
  |lcheading=United States. National Park Service
  |label=the US National Park Service}}

This generates text with links to online books, resources at the user's preferred library, and resources at other libraries, that are by the US سازمان پارک‌های ملی. The lcheading parameter is used to explicitly specify a Library of Congress subject heading to use for the library links. (A VIAF or LCCN identifier is usually preferable, but not always supported.) 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 by the US National Park Service


See also[ویرایش]

  • {{Library resources about}} -- similar to this template, but generates text with external links for library resources about (rather than by) 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 by}} -- generates a single link to resources by a topic as inlined text. Used by this template.