Difference between revisions of "Template:Loc/doc"

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
imported>Jonesey95
m (Fix Linter errors using AutoEd)
Line 8: Line 8:
 
''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}}
  

Revision as of 17:51, 3 June 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.