Difference between revisions of "Template:LCAuth/doc"

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
imported>Funandtrvl
(update info, copy edit)
 
Line 1: Line 1:
{{documentation subpage}}
+
{{Documentation subpage}}
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
+
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
:{{Main|Wikipedia:How to edit a page|Wikipedia:Template messages|Wikipedia:Template messages/Maintenance}}
+
This template will provide an external link to the named [[Library of Congress]] Authorities file.
  
Four parameters
+
==Usage==
* required LCCN, which is pagename at lccn.loc.gov (completes the URL)
+
:{{tlx |LCAuth |2=id= |3=name= |4=count= |5=cs= }}
* optional display name; default is pagename
 
* optional number of LC catalog(ue) records accessed via the target page
 
* optional 'ue' for the spelling ''catalogue''; default is ''catalog''
 
  
==Illustration==
+
; Parameters
 +
* {{para|id}} required [[Library of Congress Control Number]] (LCCN), which is the pagename at lccn.loc.gov (completes the URL)
 +
* {{para|name}} optional display name; default is pagename
 +
* {{para|count}} optional number of LC catalog(ue) records accessed via the target page
 +
* {{para|cs}} optional 'ue' for the spelling ''catalogue''; default is ''catalog''
  
:<code><nowiki>* {{LCAuth|n82230554|Jez Alborough|41|ue}}</nowiki></code>
+
==Examples==
displays as
+
{{nowiki template demo|code=<nowiki>* {{LCAuth |id=n82230554 |name=Jez Alborough |count=41 |cs=ue }}</nowiki>}}
:* {{LCAuth|n82230554|Jez Alborough|41|ue}}
 
and links to https://lccn.loc.gov/n82230554, a reader-friendly version of Alborough's LC Name Authority File
 
  
:<code><nowiki>* {{LCAuth|n79104607|Molly Bang|42|}}</nowiki></code>
+
{{nowiki template demo|code=<nowiki>* {{LCAuth |n82230554 |Jez Alborough |41 |ue }}</nowiki>}}
displays as
 
:* {{LCAuth|n79104607|Molly Bang|42|}}
 
and links to https://lccn.loc.gov/n79104607, a reader-friendly version of Bang's LC Name Authority File
 
  
:<code><nowiki>* {{LCAuth|n82230554|||}}</nowiki></code>
+
{{nowiki template demo|code=<nowiki>* {{LCAuth |id=n79104607 |name=Molly Bang |count=42 |cs= }}</nowiki>}}
displays as
 
:* {{LCAuth|n82230554 }}
 
and links to https://lccn.loc.gov/n82230554, a reader-friendly version of Alborough's LC Name Authority File
 
  
 
+
{{nowiki template demo|code=<nowiki>* {{LCAuth |n79104607 |Molly Bang |42 | }}</nowiki>}}
:<code><nowiki>* {{LCAuth|n82230554 | | | }}</nowiki></code>
 
displays as
 
:* {{LCAuth|n82230554 }}
 
and links to https://lccn.loc.gov/n82230554, a reader-friendly version of Alborough's LC Name Authority File
 
  
 
== See also ==
 
== See also ==
 
{{Wikidata property|1=P244}}
 
{{Wikidata property|1=P244}}
*{{tl|German National Library portal}} aka {{tl|DNB portal}} (for GND data at DNB)
+
* {{tl|Authority control}}
*{{tl|Worldcat id}}
+
* {{tl|German National Library portal}} for GND data at DNB
 +
* {{tl|Worldcat id}}
  
<includeonly>{{Sandbox other||
+
<includeonly>{{sandbox other||
<!-- ADD CATEGORIES BELOW THIS LINE -->
+
<!-- Categories below this line; interwikis at Wikidata -->
 +
{{DEFAULTSORT:Lcauth}}
 
[[Category:Author and writer external link templates]]
 
[[Category:Author and writer external link templates]]
[[Category:Book templates]]
 
 
[[Category:Catalog lookup templates]]
 
[[Category:Catalog lookup templates]]
 +
[[Category:Library external link templates]]
 +
[[Category:United States government external link templates]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 21:29, 18 January 2021

This template will provide an external link to the named Library of Congress Authorities file.

Usage

{{LCAuth |id=|name=|count=|cs=}}
Parameters
  • |id= required Library of Congress Control Number (LCCN), which is the pagename at lccn.loc.gov (completes the URL)
  • |name= optional display name; default is pagename
  • |count= optional number of LC catalog(ue) records accessed via the target page
  • |cs= optional 'ue' for the spelling catalogue; default is catalog

Examples

Template:Nowiki template demo

Template:Nowiki template demo

Template:Nowiki template demo

Template:Nowiki template demo

See also

Template:Wikidata property