(exp 3)
m (Renaming Category:License notice templates to Category:Permissions templates - simpler & more accurate name.)
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
:''This page or section contains [[public domain]] content from [http:{{{1}}}] {{{2}}}. (See the [http:{{{3}}} Public domain statement].)''
:''This page or section contains [[public domain]] content from {{{url}}}. (See the [{{{statement}}} public domain statement].)''
<includeonly></includeonly>
<noinclude>
<noinclude>
==Usage==
==Usage==


<nowiki>{{PD source|link to source and description|raw link to public domain/copyright-free statement}}</nowiki>
'''<nowiki>{{attrib pd|url=[http://foo/ Foo] bar|statement=http://foo2/}}</nowiki>'''


E.g. the following code:
=== Arguments ===
After '''url=''' place the url (and description if desired).
 
After '''statement=''' place a raw link (just the url to public domain/copyright-free statement).  


'''<nowiki>{{PD source|//www.eere.energy.gov/buildings/database/overview.cfm?projectid=82 Buildings Database: Overview - Cambridge Cohousing|-[[EERE]] (Energy Efficiency and Renewable Energy), U.S. Department of Energy | //www.eere.energy.gov/buildings/database/queryhelp.cfm}}</nowiki>'''
Hint: the page [[Public domain statements]] lists a number of sites' statements, and may be useful. Otherwise, a "Copyrights" or "Permissions" page or "web policies" page might be found on the site. If there is no such statement on the site, but it is clearly public domain (usually because it is the work of a US federal official, rather than simply posted on a US government site) then use the following link:


Displays as:
:http://www.appropedia.org/US_federal_government_websites_and_public_domain


{{PD source|//www.eere.energy.gov/buildings/database/overview.cfm?projectid=82 Buildings Database: Overview - Cambridge Cohousing|-[[EERE]] (Energy Efficiency and Renewable Energy), U.S. Department of Energy|//www.eere.energy.gov/buildings/database/queryhelp.cfm}}
=== Example ===
E.g. the following code:


==Debugging==
<code><nowiki>{{attrib pd | url = [http://www.eere.energy.gov/buildings/database/overview.cfm?projectid=82 Buildings Database: Overview - Cambridge Cohousing] | statement = http://www.eere.energy.gov/buildings/database/queryhelp.cfm}}</nowiki></code>
The example above doesn't work, so test something very simple:


{{PD source|[[Cambridge Cohousing]]|other words| //www.eere.energy.gov/buildings/database/queryhelp.cfm}}
Displays as:


But we actually need an external link, and for some reason this breaks the template:
{{attrib pd | url = [http://www.eere.energy.gov/buildings/database/overview.cfm?projectid=82 Buildings Database: Overview - Cambridge Cohousing] | statement = http://www.eere.energy.gov/buildings/database/queryhelp.cfm}}


{{PD source|//www.eere.energy.gov/buildings/database/overview.cfm?projectid=82 Cambridge Cohousing|other words here |//www.eere.energy.gov/buildings/database/queryhelp.cfm}}
''Spaces around the pipe "|" are optional, only used to make it easier for the reader.''


[[Category:License notice templates]]
''This template adds the page to [[:Category:Pages using public domain content]].''


{{DEFAULTSORT:{{PAGENAME}}}}
[[Category:Permissions templates]]
[[Category:Attribution templates]]
</noinclude>
</noinclude>

Revision as of 01:05, 16 January 2012

This page or section contains public domain content from {{{url}}}. (See the [{{{statement}}} public domain statement].)


Usage

{{attrib pd|url=[http://foo/ Foo] bar|statement=http://foo2/}}

Arguments

After url= place the url (and description if desired).

After statement= place a raw link (just the url to public domain/copyright-free statement).

Hint: the page Public domain statements lists a number of sites' statements, and may be useful. Otherwise, a "Copyrights" or "Permissions" page or "web policies" page might be found on the site. If there is no such statement on the site, but it is clearly public domain (usually because it is the work of a US federal official, rather than simply posted on a US government site) then use the following link:

http://www.appropedia.org/US_federal_government_websites_and_public_domain

Example

E.g. the following code:

{{attrib pd | url = [http://www.eere.energy.gov/buildings/database/overview.cfm?projectid=82 Buildings Database: Overview - Cambridge Cohousing] | statement = http://www.eere.energy.gov/buildings/database/queryhelp.cfm}}

Displays as:

This page or section contains public domain content from Buildings Database: Overview - Cambridge Cohousing. (See the public domain statement.)


Spaces around the pipe "|" are optional, only used to make it easier for the reader.

This template adds the page to Category:Pages using public domain content.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.