Difference between revisions of "Template:EPA content/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jytdog
(fix typo tho)
imported>Hike395
(update doc)
Line 3: Line 3:
  
 
=== Usage ===
 
=== Usage ===
To use this template, add ''<nowiki>{{EPA content}}</nowiki>'' or ''<nowiki>{{EPA content|url=</nowiki>'''EPA page URL'''}}'' to the page.
+
This template contains four main parameters: ''article'', ''url'', ''author'', and ''accessdate'':
 +
 
 +
*No parameters:  <tt><nowiki>{{EPA content}}</nowiki></tt>
 +
::{{EPA content}}
 +
 
 +
*Two parameters: article and url (you must use both together): <tt><nowiki>{{EPA content|url=https://www3.epa.gov/airquality/nitrogenoxides/health.html|article=Nitrogen Dioxide: Health}}</nowiki></tt>
 +
::{{EPA content|url=https://www3.epa.gov/airquality/nitrogenoxides/health.html|article=Nitrogen Dioxide: Health}}
 +
 
 +
*Article, url, author:  <tt><nowiki>{{EPA content|url=https://www3.epa.gov/airquality/nitrogenoxides/health.html|article=Nitrogen Dioxide: Health|author=John Q. Public}}</nowiki></tt>
 +
::{{EPA content|url=https://www3.epa.gov/airquality/nitrogenoxides/health.html|article=Nitrogen Dioxide: Health|author=John Q. Public}}
 +
 
 +
*All parameters: <tt><nowiki>{{EPA content|url=https://www3.epa.gov/airquality/nitrogenoxides/health.html|article=Nitrogen Dioxide: Health|author=John Q. Public|accessdate=2016-02-23}}</nowiki></tt>
 +
::{{EPA content|url=https://www3.epa.gov/airquality/nitrogenoxides/health.html|article=Nitrogen Dioxide: Health|author=John Q. Public|accessdate=2016-02-23}}
 +
 
 +
Alternatively, for use as inline citation, use {{para|source}}, which turns off all other parameters:
 +
*<tt><nowiki>{{EPA content|source={{cite web|title=Nitrogen Dioxide: Health|url=https://www3.epa.gov/airquality/nitrogenoxides/health.html|author=John Q. Public|accessdate=2016-02-23}} }}</nowiki></tt>
 +
:{{EPA content|source={{cite web|title=Nitrogen Dioxide: Health|url=https://www3.epa.gov/airquality/nitrogenoxides/health.html|author=John Q. Public|accessdate=2016-02-23}} }}
 +
 
 +
=== See also ===
 +
*{{tl|NPS}}
 +
*{{tl|USGS}}
  
''This template will categorize articles that include it into [[:Category:Wikipedia articles incorporating text from the United States Environmental Protection Agency]].''
 
  
 
<includeonly>
 
<includeonly>
<!-- CATEGORIES AND INTERWIKIS BELOW THIS LINE PLEASE -->
+
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:United States government attribution templates|{{PAGENAME}}]]
+
[[Category:United States government attribution templates|NPS]]
 +
 
 
</includeonly>
 
</includeonly>
[[Category:United States government attribution templates]]
 

Revision as of 19:51, 12 November 2016

Usage

This template contains four main parameters: article, url, author, and accessdate:

  • No parameters: {{EPA content}}
 This article incorporates public domain material from websites or documents of the United States Environmental Protection Agency.
  • Two parameters: article and url (you must use both together): {{EPA content|url=https://www3.epa.gov/airquality/nitrogenoxides/health.html|article=Nitrogen Dioxide: Health}}
File:PD-icon.svg This article incorporates public domain material from the United States Environmental Protection Agency document: "Nitrogen Dioxide: Health".
  • Article, url, author: {{EPA content|url=https://www3.epa.gov/airquality/nitrogenoxides/health.html|article=Nitrogen Dioxide: Health|author=John Q. Public}}
File:PD-icon.svg This article incorporates public domain material from the United States Environmental Protection Agency document: John Q. Public. "Nitrogen Dioxide: Health".
  • All parameters: {{EPA content|url=https://www3.epa.gov/airquality/nitrogenoxides/health.html|article=Nitrogen Dioxide: Health|author=John Q. Public|accessdate=2016-02-23}}
File:PD-icon.svg This article incorporates public domain material from the United States Environmental Protection Agency document: John Q. Public. "Nitrogen Dioxide: Health". Retrieved 2016-02-23.

Alternatively, for use as inline citation, use |source=, which turns off all other parameters:

  • {{EPA content|source={{cite web|title=Nitrogen Dioxide: Health|url=https://www3.epa.gov/airquality/nitrogenoxides/health.html|author=John Q. Public|accessdate=2016-02-23}} }}
File:PD-icon.svg This article incorporates public domain material from the United States Environmental Protection Agency document: John Q. Public. "Nitrogen Dioxide: Health". Retrieved 2016-02-23.

See also