Template:Include-USGov/doc

From blackwiki
< Template:Include-USGov
Revision as of 21:48, 3 November 2012 by imported>Illia Connell (update list of templates)
Jump to navigation Jump to search

This template is designed to be a meta-template, used to construct U.S. Government attribution message templates like {{USGS}} and {{Marine Corps}}. It could be used directly in an article.

Parameters

  • agency (required) - name of agency (or reference source) that produced material
  • url (optional) - URL of reference
  • policy (optional) - URL of re-use policy of agency or reference source
  • comment (optional) - free field that produces parenthesized comment at end
  • article (optional) - the title of the reference
  • author (optional) - author of reference
  • accessdate (optional) - date page last checked
  • source (optional) - free field at end at shuts off most other arguments: useful for inline use of {{cite web}}

Usage

Code Produces Comments
{{Include-USGov

|agency=United States Department}}

 This article incorporates public domain material from websites or documents of the United States Department. Minimal usage: templates that call this one should pass in optional arguments.
{{Include-USGov

|agency=United States Department
|policy=http://www.agency.gov/policy.html}}

 This article incorporates public domain material from websites or documents of the United States Department. Replace internal wikilink about generic re-use to specific agency policy
{{Include-USGov

|agency=United States government
|comment=comment can have [[link]]s}}

 This article incorporates public domain material from websites or documents of the United States government. (comment can have links) comment is a free field that produces a parenthesized comment at end, agency should auto-wikilink
{{Include-USGov

|agency=United States Department
|url=http://www.agency.gov/}}

 This article incorporates public domain material from the United States Department website http://www.agency.gov. Agency name becomes external link
{{Include-USGov

|agency=United States Department
|article=Reference document}}

 This article incorporates public domain material from the United States Department document: "Script error: No such module "If empty".". With article argument, template refers to specific document
{{Include-USGov

|agency=United States Department
|article=Reference document
|url=http://www.agency.gov/doc.html}}

 This article incorporates public domain material from the United States Department document: "Reference document". With article argument, url becomes external link to specific document
{{Include-USGov

|agency=United States Department
|article=Reference document
|url=http://www.agency.gov/doc.html
|author=John Q. Public}}

 This article incorporates public domain material from the United States Department document: John Q. Public. "Reference document". Author can be added for use in inline citation
{{Include-USGov

|agency=United States Department
|article=Reference document
|url=http://www.agency.gov/doc.html
|accessdate=2008-08-08}}

 This article incorporates public domain material from the United States Department document: "Reference document". Retrieved 2008-08-08. Accessdate can be added, also
{{Include-USGov

|agency=United States Department
|policy=http://www.agency.gov/policy.html
|article=Reference document
|url=http://www.agency.gov/doc.html
|author=John Q. Public
|accessdate=2008-08-08
|comment=comment can have [[link]]s}}

 This article incorporates public domain material from the United States Department document: John Q. Public. "Reference document". Retrieved 2008-08-08. (comment can have links) All parameters can work together
{{Include-USGov

|agency=United States government
|policy=http://www.whitehouse.gov
|author=Arglebargle IV
|article=On Boggies
|accessdate=Third Age
|source=Use cite template here}}

 This article incorporates public domain material from the United States government document: Use cite template here Source parameter shuts down most arguments, leaves free field at end for citation template
{{Include-USGov

|agency=United States Department
|source={{cite book|first=John |last=Smith |title=Battle of Hastings}} }}

 This article incorporates public domain material from the United States Department document: Smith, John. Battle of Hastings. Example of source usage


See also

  • Sandbox for experimental edits
  • Test to see if experiments worked

Templates created using Include-USGov

  • {{DoJ USAM}} –  This article incorporates public domain material from the United States Department of Justice document: "Script error: No such module "If empty".".
  • {{DOT1991}} –  This article incorporates public domain material from the United States Department of Labor document: [Script error: No such module "If empty". "Script error: No such module "If empty"."] Check |url= value (help).
  • {{FAA.Gov}} –  This article incorporates public domain material from websites or documents of the Federal Aviation Administration.
  • {{FS1037C MS188}} –  This article incorporates public domain material from the General Services Administration document: [Script error: No such module "If empty". "Script error: No such module "If empty"."] Check |url= value (help). (in support of MIL-STD-188)
  • {{FS1037C}} –  This article incorporates public domain material from the General Services Administration document: [Script error: No such module "If empty". "Script error: No such module "If empty"."] Check |url= value (help).
  • {{GHR}} –  This article incorporates public domain material from the United States National Library of Medicine document: "Genetics Home Reference".