Open main menu

Changes

no edit summary
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
== Usage ==
This template should be placed at the end of a citation if the article incorporates text from a [[Copyright status of work by the U.S. government|work of the United States government that is not under copyright]]. It will add appropriate categories to the page, and provides a message for proper attribution.

== Example ==
:<code><nowiki>...article text.<ref>SAMHSA "Some dry government document" (2017) {{usgovpd}}</ref></nowiki></code>

This would display as

:...article text.<ref>SAMHSA "Some dry government document" (2017) {{usgovpd}}</ref>

...and in the references section as

{{reflist-talk}}

== Rationale ==
While I frequently use US government works, I don't use the [[Template:US government sources]] family of templates, opting instead for {{tl|PD-notice}}, because I don't like the way their message is formatted. I usually use {{tl|sfn}} for citations. Obviously, I can't put extraneous text ''before'' the citation in a references list. I could put a notice at the bottom of the page somewhere, but I've never seen that on Wikipedia, and wouldn't know what section to put it under. In my opinion, it seems preferable to keep the notice with the citation, but placed after it, as I do with {{tl|PD-notice}}. Hence this template. [[User:Daask|Daask]] ([[User talk:Daask|talk]]) 16:08, 16 July 2017 (UTC)

== Future work ==
Ideally, this would accept a single parameter, which would be the name of a government agency, which would then place the article in the appropriate subcategory of [[:Category:Wikipedia articles incorporating text from public domain works of the United States Government]].
<categorytree mode=categories depth=0>Wikipedia articles incorporating text from public domain works of the United States Government</categorytree>

<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:United States government attribution templates]]
}}</includeonly>
Anonymous user