m (layout) |
(attempt at ==Debugging==) |
||
Line 1: | Line 1: | ||
:''This page or section contains [[public domain]] content from {{{1}}}. (See the [{{{2}}} 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] | '''<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]] | [[Category:License notice templates]] | ||
</noinclude> | </noinclude> |
Revision as of 08:41, 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:
Debugging
The example above doesn't work, so test something very simple:
But we actually need an external link, and for some reason this breaks the template: