(Try editing the template, naming the arguments - suggestion from Splarka on MediaWiki IRC channel)
(use "source" - clearer and more specific than "link", minor changes)
Line 1: Line 1:
:''This page or section contains [[public domain]] content from {{{link}}}. (See the [{{{statement}}} Public domain statement].))''
:''This page or section contains [[public domain]] content from {{{source}}}. (See the site's [{{{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|source=[[http://foo/ http://foo] bar]|statement=http://foo2/}}</nowiki>


<nowiki>{{PD source|link to source and description|raw link to public domain/copyright-free statement}}</nowiki>
After "source=" place the link to source (and description if desired).
 
After "statement=" place a raw link (just the url to public domain/copyright-free statement}}</nowiki>


E.g. the following code:
E.g. the following code:
Line 16: Line 18:


==Debugging==
==Debugging==
:''this has been fixed with the help of the #MediaWiki IRC channel, and is kept only for historical reasons. --[[User:Chriswaterguy|Chriswaterguy]] &middot; <small>[[User talk:Chriswaterguy|talk]]</small> 00:41, 8 January 2008 (PST)''
The example above doesn't work, so test something very simple:
The example above doesn't work, so test something very simple:



Revision as of 08:41, 8 January 2008

This page or section contains public domain content from {{{source}}}. (See the site's [{{{statement}}} Public domain statement].)

Usage

{{PD source|source=[[http://foo/ http://foo] bar]|statement=http://foo2/}}

After "source=" place the link to source (and description if desired).

After "statement=" place a raw link (just the url to public domain/copyright-free statement}}</nowiki>

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

this has been fixed with the help of the #MediaWiki IRC channel, and is kept only for historical reasons. --Chriswaterguy · talk 00:41, 8 January 2008 (PST)

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.