Difference between revisions of "Template:Loc/doc"
Jump to navigation
Jump to search
imported>Vanisaac |
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) |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 3: | Line 3: | ||
== Deprecated == | == Deprecated == | ||
| − | {{Ombox|type=delete|text=This template is '''deprecated''' in favor of {{tl|Country study}}. Please use | + | {{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}} | ||
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.