Curtbeckmann (talk | contribs) (undo my changes) |
(Try editing the template, naming the arguments - suggestion from Splarka on MediaWiki IRC channel) |
||
Line 1: | Line 1: | ||
:''This page or section contains [[public domain]] content from {{{ | :''This page or section contains [[public domain]] content from {{{link}}}. (See the [{{{statement}}} Public domain statement].))'' | ||
<noinclude> | <noinclude> | ||
==Usage== | ==Usage== | ||
<nowiki>{{PD source|link=[[http://foo/ http://foo] bar]|statement=[http://foo/ http://foo]}}</nowiki> | |||
<nowiki>{{PD source|link to source and description|raw link to public domain/copyright-free statement}}</nowiki> | <nowiki>{{PD source|link to source and description|raw link to public domain/copyright-free statement}}</nowiki> | ||
Line 21: | Line 23: | ||
{{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|[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 02:31, 22 December 2007
- This page or section contains public domain content from {{{link}}}. (See the [{{{statement}}} Public domain statement].))
Usage
{{PD source|link=[[http://foo/ http://foo] bar]|statement=[http://foo/ http://foo]}}
{{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:
Try editing the template, naming the arguments: