Difference between revisions of "Template:Loc/doc"

From blackwiki
Jump to navigation Jump to search
imported>GoingBatty
m (clean up, typo(s) fixed: For example → For example, using AWB (11376))
imported>Hike395
(→‎Usage: update doc)
Line 11: Line 11:
 
:{{Loc}}
 
:{{Loc}}
  
There are four optional parameters, ''article'', ''url'', ''author'', and ''accessdate''. The parameters ''url'' and ''article'' should be used together. For example,
+
There are four optional parameters, ''article'', ''url'', ''author'', and ''accessdate''. 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 13:30, 19 November 2016

Deprecated

This template is deprecated in favour of {{country study}}. 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:

 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. For example,

{{Loc|article=Kazakhstan |url=http://lcweb2.loc.gov/frd/cs/profiles/Kazakhstan.pdf}} produces:

 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:

 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:

 This article incorporates public domain material from the Library of Congress Country Studies document: Martha Brill Olcott. "Kazakhstan" (PDF). Retrieved 2008-08-08.