(exp #2)
(exp 3)
Line 1: Line 1:
:''This page or section contains [[public domain]] content from [http:{{{1}}}] {{{2}}}. (See the [{{{3}}} Public domain statement].)''
:''This page or section contains [[public domain]] content from [http:{{{1}}}] {{{2}}}. (See the [http:{{{3}}} 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]|http://www.eere.energy.gov/buildings/database/queryhelp.cfm}}</nowiki>'''
'''<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>'''


Displays as:
Displays as:


{{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|http://www.eere.energy.gov/buildings/database/queryhelp.cfm}}
{{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}}


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


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


But we actually need an external link, and for some reason this breaks the template:
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}}
{{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}}


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


</noinclude>
</noinclude>

Revision as of 15:00, 21 December 2007

This page or section contains public domain content from [http:{{{1}}}] {{{2}}}. (See the [http:{{{3}}} 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|//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}}

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.