Difference between revisions of "Template:LCC/doc"
Jump to navigation
Jump to search
imported>Knife-in-the-drawer (Set category more accurately; it is **not** an attribution template) |
imported>Voidxor m (The phrase is "backward compatible".) |
||
| Line 14: | Line 14: | ||
*<code><nowiki>{{LCC|G635.C66|H86|1997}}</nowiki></code> results in {{LCC|G635.C66|H86|1997}} | *<code><nowiki>{{LCC|G635.C66|H86|1997}}</nowiki></code> results in {{LCC|G635.C66|H86|1997}} | ||
| − | This is no longer necessary, though the newer template remains [[ | + | This is no longer necessary, though the newer template remains [[backward compatible]] with the piped format. |
<includeonly> | <includeonly> | ||
Revision as of 20:41, 17 December 2016
| 40px | This is a documentation subpage for Template:LCC. It contains usage information, categories and other content that is not part of the original template page. |
Usage
This template is used for referring to books by their Library of Congress Classification codes. It produces a link to the Library of Congress website.
For example:
{{LCC|Z253.U69}}results in "LCC Z253.U69Template:Only in print"{{LCC|Z253.U69 1993}}results in "LCC Z253.U69 1993Template:Only in print"{{LCC|G635.C66 H86 1997}}results in LCC G635.C66 H86 1997Template:Only in print
Previously, it was required to replace spaces in the number with pipes:
{{LCC|G635.C66|H86|1997}}results in LCC G635.C66 H86 1997Template:Only in print
This is no longer necessary, though the newer template remains backward compatible with the piped format.