Template:Library resources by/doc
| 40px | This is a documentation subpage for Template:Library resources by. It contains usage information, categories and other content that is not part of the original template page. |
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) by the topic of an article. More details can be found in the documentation for the related {{Library resources box}} template.
Contents
Usage
{{Library resources by |onlinebooks= |others= |label= |viaf= |lccn= |lcheading= |wikititle= }}
<!-- all parameters optional -->
Parameters
onlinebooks=If this, or theonlinebooksbyparameter, is set toyes, 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 tono, 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
viaf,lccn,lcheading, andwikititleparameters can be used to specify more precisely the topic to query in the destination library. They are used just as they in the {{Library resources box}} template; see that template's documentation for more details.
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 holder 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 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 Catholic Church (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").
See also
- {{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.