Difference between revisions of "Template:Loc/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jdaloner
m ("{{t1" --> "{{tl")
imported>GoingBatty
m (clean up, typo(s) fixed: For example → For example, using AWB (11376))
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 +
 
=== Deprecated ===
 
=== Deprecated ===
 
This template is deprecated in favour of {{tl|country study}}. Please use that template for all new usages as it contains more details suitable for a referencing.
 
This template is deprecated in favour of {{tl|country study}}. Please use that template for all new usages as it contains more details suitable for a referencing.
Line 10: 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''. 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 23:24, 5 September 2015

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:

File:PD-icon.svg 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:

File:PD-icon.svg 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:

File:PD-icon.svg 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:

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