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

From blackwiki
Jump to navigation Jump to search
imported>Mr. Guye
(Create sandbox version of Template:Include-USGov-DOT)
 
imported>Mr. Guye
Line 1: Line 1:
 
<div>{{Include-USGov|agency=United States Department of Transportation
 
<div>{{Include-USGov|agency=United States Department of Transportation
|url={{#if:{{{title|}}}|{{{url|}}}}}|article={{{title|{{{url|}}}}}}|author={{{author|}}}|date={{{date|}}}|accessdate={{{accessdate|}}}}}</div><noinclude>
+
|url={{#if:{{{title|}}}|{{{url|}}}}}|article={{{title|{{{url|}}}}}}|author={{{author|}}}|date={{{date|}}}|accessdate={{{accessdate|}}}|policy={{#ifeq:|?|?|<span class="plainlinks" >{{small|''[Data unknown/missing.]''}}</span>}}[[Category:Data missing]]}}</div><noinclude>
{{documentation}}</noinclude><includeonly>[[Category:Wikipedia articles incorporating text from public domain works of the United States Government]]</includeonly>
+
{{documentation}}</noinclude><includeonly>[[Category:Wikipedia articles incorporating text from public domain works of the U.S. Department of Transportation]]</includeonly>

Revision as of 01:22, 27 November 2018

 This article incorporates [[Data unknown/missing.] 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.