Difference between revisions of "Template:Loc/doc"
(+ja) |
imported>Tpbradbury (→Usage: should be article no?) |
||
| Line 9: | Line 9: | ||
:{{Loc}} | :{{Loc}} | ||
| − | There are four optional parameters, ''article'', ''url'', ''author'', and ''accessdate''. The parameters ''url'' and '' | + | There are four optional parameters, ''article'', ''url'', ''author'', and ''accessdate''. The parameters ''url'' and ''article'' should be used together. For example --- |
<tt><nowiki>{{Loc|article=Kazakhstan |url=http://lcweb2.loc.gov/frd/cs/profiles/Kazakhstan.pdf}}</nowiki></tt> produces: | <tt><nowiki>{{Loc|article=Kazakhstan |url=http://lcweb2.loc.gov/frd/cs/profiles/Kazakhstan.pdf}}</nowiki></tt> produces: | ||
Revision as of 15:43, 31 December 2012
| File:Edit-copy green.svg | This is a documentation subpage for Template:Loc. It contains usage information, categories and other content that is not part of the original template page. |
Deprecated
This template is deprecated in favour of Template:T1. Please use that template for all new usages as it contains more details suitable for a referencing.
Usage
This template will categorize articles that include it into Category:Wikipedia articles incorporating text from the Library of Congress Country Studies.
With no parameters, {{Loc}} results in:
- 12px This article incorporates public domain material from the Library of Congress Country Studies website http://lcweb2.loc.gov/frd/cs/.
There are four optional parameters, article, url, author, and accessdate. The parameters url and article should be used together. For example ---
{{Loc|article=Kazakhstan |url=http://lcweb2.loc.gov/frd/cs/profiles/Kazakhstan.pdf}} produces:
- 12px This article incorporates public domain material from the Library of Congress Country Studies document: "Kazakhstan" (PDF).
{{Loc|article=Kazakhstan |url=http://lcweb2.loc.gov/frd/cs/profiles/Kazakhstan.pdf |author=Martha Brill Olcott}} produces:
- 12px This article incorporates public domain material from the Library of Congress Country Studies document: Martha Brill Olcott. "Kazakhstan" (PDF).
{{Loc|article=Kazakhstan |url=http://lcweb2.loc.gov/frd/cs/profiles/Kazakhstan.pdf |author=Martha Brill Olcott |accessdate=2008-08-08}} produces:
- 12px This article incorporates public domain material from the Library of Congress Country Studies document: Martha Brill Olcott. "Kazakhstan" (PDF). Retrieved 2008-08-08.