Template:Include-USGov: Difference between revisions

From Vigyanwiki
m (1 revision imported from alpha:Template:Include-USGov)
No edit summary
Line 1: Line 1:
{{#if:{{{agency|}}}|<!--
[[File:PD-icon.svg|12px|class=noviewer|link=|alt=Public Domain]]&nbsp;This article incorporates <!--
-->[[File:PD-icon.svg|12px|class=noviewer|link=|alt=Public Domain]]&nbsp;{{#if:{{{source|}}}|This article incorporates <!--
-->{{#if:{{{policy|}}}|[{{{policy}}} public domain material]|[[Copyright status of works by the federal government of the United States|public domain material]]}} from {{#if:{{{article|}}}{{{title|}}}||{{#if:{{{url|}}}{{{chapter-url|}}}|the{{sp}}}}}}<!--
-->{{#if:{{{policy|}}}|[{{{policy}}} public domain material]|[[Copyright status of works by the federal government of the United States|public domain material]]}}&nbsp;<!--
-->{{if empty|<!--
-->from the&nbsp;<!--
  -->{{{source|}}}|<!-- if source defined, use it
-->{{#ifexist:{{{agency|}}}|[[{{{agency}}}]]|{{{agency}}}}} document:&nbsp;<!--if the article exist link to it
  -->{{#if:{{{article|}}}{{{title|}}}{{{url|}}}{{{chapter-url|}}}|<!-- if there is any relevant information, generate citation using Cite USGov
-->{{{source|}}}|<!--source not set
    -->{{#invoke:template wrapper|wrap|_template=Cite USGov}}}}|<!--
------>This article incorporates&nbsp;<!--
  -->websites or documents of the {{link if exists|{{if empty|{{{agency|}}}|Federal government of the United States}}}}{{#if:{{{comment|}}}||.}}}}<!--
------>{{#if:{{{policy|}}}|[{{{policy}}} public domain material]|[[Copyright status of works by the federal government of the United States|public domain material]]}} from <!--
-->{{#if:{{{comment|}}}|&nbsp;({{{comment|}}}).}}<noinclude>{{Documentation}}</noinclude>
------>{{#if:{{{article|}}}{{{title|}}}{{{url|}}}||websites or documents of&#32;}}<!--
------>the <!--
------>{{#ifexist:{{{agency|}}}|[[{{{agency}}}]]|<!-- if agency has a wiki article, link to it
------------>{{{agency}}} }}<!--- otherwise, just use normal text
------>{{#if:{{{article|}}}{{{title|}}}|&#32;document: <!--
------------>{{#if:{{{url|}}}|<!--
---------------->{{#invoke:template wrapper|wrap|_template=cite web|_alias-map=article:title|_exclude=agency,policy,source,comment}}|<!--
---------------->"{{if empty|{{{article|}}}|{{{title|}}}}}".}}|<!--
------------>{{#if:{{{url|}}}|&#32;website [{{{url}}} {{{url}}}].|.}}}}}}<!--End of source test
------>{{#if:{{{comment|}}}|&#32;({{{comment}}})}}<!--
-->|<sup style="color:red">No "agency=''name''" parameter provided.</sup>}}<!--End of agency test
----><noinclude>{{Documentation}}</noinclude>

Revision as of 12:07, 2 January 2023

Public Domain This article incorporates public domain material from websites or documents of the Federal government of the United States.

Template documentation