Difference between revisions of "Template:Include-USGov-DOT"

From blackwiki
Jump to navigation Jump to search
imported>Mr. Guye
(Transplanting sandbox version)
imported>Trappist the monk
m (→‎top: support hyphenated parameter names)
 
Line 1: Line 1:
 
{{Include-USGov|agency=United States Department of Transportation
 
{{Include-USGov|agency=United States Department of Transportation
|url={{#if:{{{title|}}}|{{{url|}}}}}|article={{{title|{{{url|}}}}}}|author={{{author|}}}|date={{{date|}}}|accessdate={{{accessdate|}}}}}<noinclude>
+
|url={{#if:{{{title|}}}|{{{url|}}}}}|article={{{title|{{{url|}}}}}}|author={{{author|}}}|date={{{date|}}}|access-date={{{access-date|{{{accessdate|}}}}}}}}<noinclude>
 
{{documentation}}</noinclude><includeonly>[[Category:Wikipedia articles incorporating text from public domain works of the U.S. Department of Transportation]]</includeonly>
 
{{documentation}}</noinclude><includeonly>[[Category:Wikipedia articles incorporating text from public domain works of the U.S. Department of Transportation]]</includeonly>

Latest revision as of 17:56, 29 January 2021

 This article incorporates public domain material from websites or documents of the United States Department of Transportation.

Template documentation[view] [edit] [history] [purge]

Usage

  • No parameters: {{Include-USGov-DOT}}
 This article incorporates public domain material from websites or documents of the United States Department of Transportation.
  • Add a url: {{Include-USGov-DOT|url=http://www.dot.gov/affairs/2010/dot1810a.htm}}
 This article incorporates public domain material from the United States Department of Transportation document: "Script error: No such module "If empty".".
  • Add a url and title: {{Include-USGov-DOT|url=http://www.dot.gov/affairs/2010/dot1810a.htm|title = DOT Press Release}}
 This article incorporates public domain material from the United States Department of Transportation document: "DOT Press Release".
  • Optional author and accessdate parameters: {{Include-USGov-DOT|url=http://www.dot.gov/affairs/2010/dot1810a.htm|title = DOT Press Release|author=John Q. Public|accessdate=2006-06-06}}
 This article incorporates public domain material from the United States Department of Transportation document: John Q. Public. "DOT Press Release". Retrieved 2006-06-06.