(use "source" - clearer and more specific than "link", minor changes)
(→‎Debugging: rm debugging section (now it's debugged))
Line 17: Line 17:
{{PD source|[http://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|http://www.eere.energy.gov/buildings/database/queryhelp.cfm}}
{{PD source|[http://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|http://www.eere.energy.gov/buildings/database/queryhelp.cfm}}


==Debugging==
:''this has been fixed with the help of the #MediaWiki IRC channel, and is kept only for historical reasons. --[[User:Chriswaterguy|Chriswaterguy]] &middot; <small>[[User talk:Chriswaterguy|talk]]</small> 00:41, 8 January 2008 (PST)''
The example above doesn't work, so test something very simple:
{{PD source|[[Cambridge Cohousing]]|http://www.eere.energy.gov/buildings/database/queryhelp.cfm}}
But we actually need an external link, and for some reason this breaks the template:
{{PD source|[http://www.eere.energy.gov/buildings/database/overview.cfm?projectid=82 Cambridge Cohousing] |http://www.eere.energy.gov/buildings/database/queryhelp.cfm}}
Try editing the template, naming the arguments:
{{PD source|link=[http://www.eere.energy.gov/buildings/database/overview.cfm?projectid=82 Cambridge Cohousing] |statement=http://www.eere.energy.gov/buildings/database/queryhelp.cfm}}


[[Category:License notice templates]]
[[Category:License notice templates]]


</noinclude>
</noinclude>

Revision as of 14:59, 8 January 2008

This page or section contains public domain content from {{{source}}}. (See the site's [{{{statement}}} Public domain statement].)

Usage

{{PD source|source=[[http://foo/ http://foo] bar]|statement=http://foo2/}}

After "source=" place the link to source (and description if desired).

After "statement=" place a raw link (just the url to public domain/copyright-free statement}}</nowiki>

E.g. the following code:

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

Displays as:

FA info icon.svg Angle down icon.svg File data
Created Unknown date by Unknown author
Uploaded December 21, 2007 by Chris Watkins
License Unknown


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