Difference between revisions of "Template:Loc/doc"

From blackwiki
Jump to navigation Jump to search
(+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 ''author'' should be used together. For example ---
+
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

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:

 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:

 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.

See also