Difference between revisions of "Template:Include-NIH"

From blackwiki
Jump to navigation Jump to search
imported>Mr. Guye
m (Mr. Guye moved page Template:Include-NIH/sandbox to Template:Include-NIH: Publishing)
imported>Trappist the monk
m (→‎top: support hyphenated parameter names)
 
Line 1: Line 1:
 
<div>{{Include-USGov|agency=National Institutes of Health
 
<div>{{Include-USGov|agency=National Institutes of Health
|url={{#if:{{{title|}}}|{{{url|}}}}}|article={{{title|{{{url|}}}}}}|author={{{author|}}}|date={{{date|}}}|accessdate={{{accessdate|}}}|source={{{source|}}}|policy=https://www.nih.gov/about-nih/frequently-asked-questions}}</div><includeonly>[[Category:Wikipedia articles incorporating material from the National Institutes of Health]]</includeonly><noinclude>
+
|url={{#if:{{{title|}}}|{{{url|}}}}}|article={{{title|{{{url|}}}}}}|author={{{author|}}}|date={{{date|}}}|access-date={{{access-date|{{{accessdate|}}}}}}|source={{{source|}}}|policy=https://www.nih.gov/about-nih/frequently-asked-questions}}</div><includeonly>[[Category:Wikipedia articles incorporating material from the National Institutes of Health]]</includeonly><noinclude>
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Latest revision as of 15:42, 29 January 2021

 This article incorporates public domain material from websites or documents of the National Institutes of Health.
Template documentation[view] [edit] [history] [purge]

Usage

  • No parameters: {{Include-NIH}}
File:PD-icon.svg This article incorporates public domain material from websites or documents of the National Institutes of Health.
  • Add a url: {{Include-NIH|url=https://www.nih.gov/news-events/news-releases}}
File:PD-icon.svg This article incorporates public domain material from the National Institutes of Health document: "Script error: No such module "If empty".".
  • Add a url and title: {{Include-NIH|url=https://www.nih.gov/news-events/news-releases|title = NIH News Release}}
File:PD-icon.svg This article incorporates public domain material from the National Institutes of Health document: "NIH News Release".
  • Optional author and accessdate parameters: {{Include-NIH|url=https://www.nih.gov/news-events/news-releases|title = NIH News Release|author=Mike Roe-Scope|accessdate=2018-08-19}}
File:PD-icon.svg This article incorporates public domain material from the National Institutes of Health document: Mike Roe-Scope. "NIH News Release". Retrieved 2018-08-19.