Copy from Wikipedia
New page
{{Documentation subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->
The {{tl|Library link about}} template creates an external link to resources in a library about the topic of an article. More details can be found in the documentation for the related {{tl|Library resources box}} template.
This is a relatively low-level template; most Wikipedia editors will want instead to use one of the higher-level templates listed in the See Also section.
== Usage ==
<pre style="overflow:auto;">
{{Library link about |label= |library= |viaf= |lccn= |lcheading= |wikititle= }}
<!-- all parameters optional -->
</pre>
==Parameters==
* <code>label=</code> If set, the value is used as the text of the link. Otherwise, generic text, or text based on the title of the page, is used.
* <code>library=</code> If set, the destination library is specified by the value of this parameter. If it is not set, the user will go to their preferred library (if they have previously registered their preference), or be prompted to choose a library to go to (if they have not, or if their preference cookie has expired). This parameter is usually not used in the Wikipedia context, except with one of two special values:
** <code>OLBP</code> sends the user to the [[Online Books Page]] (though consider using the {{tl|Online books about}} template instead).
** <code>0CHOOSE0</code> prompts the user to choose a destination library, even if they have already registered a preference.
* The <code>viaf</code>, <code>lccn</code>, <code>lcheading</code>, and <code>wikititle</code> parameters can be used to specify more precisely the topic to query in the destination library. They are used just as they are in the {{tl|Library resources box}} template; see that template's documentation for more details.
== Examples ==
<pre style="overflow:auto;">
{{Library link about}}
</pre>
The simplest template call generates a link to resources about the current article's topic at the user's preferred library, based on the title of the article.
<pre style="overflow:auto;">
{{Library link about|label=What your library has on George Washington|viaf=31432428}}
</pre>
This generates a link to resources at the user's preferred library about 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. The text of the link is "What your library has on George Washington".
<pre style="overflow:auto;">
{{Library link about|library=0CHOOSE0
|lcheading=United States -- History -- Civil War, 1861-1865
|label=What different libraries have on the American Civil War}}
</pre>
This generates a link that prompts the user to choose a library to see what resources that have on the American civil war. The lcheading label is set to the Library of Congress authorized heading for that subject. The link text is "What different libraries have on the American Civil War". The 0CHOOSE0 value for the library parameter prevents the user from being taken directly to their preferred library.
== See also ==
* {{tl|Library resources box}} -- generates a sidebar box of various library links about this topic, using this and other templates.
* {{tl|Library resources about}} -- generates various library links about this topic as inlined text, using this template.
* {{tl|Online books about}} -- generates a link to free online books about this topic, with some explanatory context, using this template.
<includeonly>
<!-- Categories and interwikis go here: -->
[[Category:External link templates]]
</includeonly>