(trying to simplify , but still not working)
(those things didn't work, so revert to 2 revisions back (time = xx:41, xx depends on time zone))
Line 1: Line 1:
:''This page or section contains [[public domain]] content from [{{{1}}} {{{2}}}], {{{3}}}. (See the [{{{4}}} Public domain statement].)''
:''This page or section contains [[public domain]] content from {{{1}}}. (See the [{{{2}}} Public domain statement].)''
<noinclude>
<noinclude>
==Usage==
==Usage==
Line 7: Line 7:
E.g. the following code:
E.g. the following code:


'''<nowiki>{{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}}</nowiki>'''
'''<nowiki>{{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}}</nowiki>'''


Displays as:
Displays as:


{{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==
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}}
 
[[Category:License notice templates]]}}} Public domain statement].)''
<noinclude>
==Usage==
 
<nowiki>{{PD source|link to source and description|raw link to public domain/copyright-free statement}}</nowiki>
 
E.g. the following code:
 
'''<nowiki>{{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}}</nowiki>'''
 
Displays as:
 
{{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==
==Debugging==

Revision as of 08:54, 21 December 2007

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

Usage

{{PD source|link to source and description|raw link to public domain/copyright-free statement}}

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

Debugging

The example above doesn't work, so test something very simple:

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

But we actually need an external link, and for some reason this breaks the template:

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.