(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 {{{1}}}. (See the [{{{2}}} Public domain statement].)''
:''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:

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

Try editing the template, naming the arguments:

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.