Difference between revisions of "Template:Loc/doc"
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 == | |
| − | This template is deprecated in | + | {{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, < | + | 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, | ||
| − | < | + | <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}} | ||
| − | < | + | <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}} | ||
| − | < | + | <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
| This is a documentation subpage for Template:Loc. It contains usage information, categories and other content that is not part of the original template page. |
Deprecated
| This template is deprecated in favor of {{Country study}}, or in favor of {{cite encyclopedia}} in combination with {{PD-notice}}. Please use those templates for all new usages as they contains more details suitable for 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.