Difference between revisions of "Template:Loc/doc"

From blackwiki
Jump to navigation Jump to search
imported>Hike395
(→‎Usage: update doc)
imported>Calliopejen1
(keep encyclopedia at least, because this is the ideal way to cite. the chapters are all authored by people other than the editor of the book overall)
 
(5 intermediate revisions by 5 users not shown)
Line 2: Line 2:
 
<!-- 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.
+
{{Ombox|type=delete|text=This template is '''deprecated''' in favor of {{tl|Country study}}, or in favor of {{tl|cite encyclopedia}} in combination with {{tl|PD-notice}}. Please use those templates for all new usages as they contains more details suitable for referencing.}}
  
 
=== Usage ===
 
=== Usage ===
 
''This template will categorize articles that include it into [[:Category:Wikipedia articles incorporating text from the Library of Congress Country Studies]].''
 
''This template will categorize articles that include it into [[:Category:Wikipedia articles incorporating text from the Library of Congress Country Studies]].''
  
With no parameters, <tt><nowiki>{{Loc}}</nowiki></tt> results in:
+
With no parameters, <code><nowiki>{{Loc}}</nowiki></code> results in:
 
:{{Loc}}
 
:{{Loc}}
  
 
There are four optional parameters, ''article'', ''url'', ''author'', and ''accessdate''. 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:
+
<code><nowiki>{{Loc|article=Kazakhstan |url=http://lcweb2.loc.gov/frd/cs/profiles/Kazakhstan.pdf}}</nowiki></code> produces:
 
:{{Loc|article=Kazakhstan |url=http://lcweb2.loc.gov/frd/cs/profiles/Kazakhstan.pdf}}
 
:{{Loc|article=Kazakhstan |url=http://lcweb2.loc.gov/frd/cs/profiles/Kazakhstan.pdf}}
  
<tt><nowiki>{{Loc|article=Kazakhstan |url=http://lcweb2.loc.gov/frd/cs/profiles/Kazakhstan.pdf |author=Martha Brill Olcott}}</nowiki></tt> produces:
+
<code><nowiki>{{Loc|article=Kazakhstan |url=http://lcweb2.loc.gov/frd/cs/profiles/Kazakhstan.pdf |author=Martha Brill Olcott}}</nowiki></code> produces:
 
:{{Loc|article=Kazakhstan |url=http://lcweb2.loc.gov/frd/cs/profiles/Kazakhstan.pdf |author=Martha Brill Olcott}}
 
:{{Loc|article=Kazakhstan |url=http://lcweb2.loc.gov/frd/cs/profiles/Kazakhstan.pdf |author=Martha Brill Olcott}}
  
<tt><nowiki>{{Loc|article=Kazakhstan |url=http://lcweb2.loc.gov/frd/cs/profiles/Kazakhstan.pdf |author=Martha Brill Olcott |accessdate=2008-08-08}}</nowiki></tt> produces:
+
<code><nowiki>{{Loc|article=Kazakhstan |url=http://lcweb2.loc.gov/frd/cs/profiles/Kazakhstan.pdf |author=Martha Brill Olcott |accessdate=2008-08-08}}</nowiki></code> produces:
 
:{{Loc|article=Kazakhstan |url=http://lcweb2.loc.gov/frd/cs/profiles/Kazakhstan.pdf |author=Martha Brill Olcott |accessdate=2008-08-08}}
 
:{{Loc|article=Kazakhstan |url=http://lcweb2.loc.gov/frd/cs/profiles/Kazakhstan.pdf |author=Martha Brill Olcott |accessdate=2008-08-08}}
  
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:United States government attribution templates|{{PAGENAME}}]]
 
[[Category:United States government attribution templates|{{PAGENAME}}]]
 
[[ja:Template:Loc]]
 
[[ja:Template:Loc]]
 
[[zh:Template:Loc]]
 
[[zh:Template:Loc]]
</includeonly>
+
}}</includeonly>

Latest revision as of 14:53, 29 October 2020

Deprecated

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.