(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 {{{ | :''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| | <nowiki>{{PD source|source=[[http://foo/ http://foo] bar]|statement=http://foo2/}}</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]] · <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:
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:
But we actually need an external link, and for some reason this breaks the template:
Try editing the template, naming the arguments: