Template:OPL-attribution/doc
This is a documentation subpage for Template:OPL-attribution. It contains usage information, categories and other content that is not part of the original template page. |
Requirements
The requirements of the copyright holder (the Parliament of the United Kingdom) to copy text into a Wikipedia article from one of their documenters can be found in "Open Parliament Licence".
You must acknowledge the source of the information in your product or application by including the following attribution statement and, where possible, provide a link to this licence: Contains Parliamentary information licensed under the Open Parliament Licence v3.0.
This template will supply an attribution prescript to place in front of a standard formatted Wikipedia citation and three parameters to alter the visual look of that prescript. The requirement of the copyright holder to provide date and linking should be added with the use of a standard citation template of similar method as described below.
Usage
This template should be placed in the References section of an article if the article incorporates text under the British Government Open Government Licence, unless the inline parameter is specified in which case the template should be placed in an inline citation next to the copied text.
This template takes four optional parameters which can be combined together or used separately:
unnamed parameter
- The name of the source, along with any other details which are needed to identify the work:
- {{OPL-attribution|source and other details}}
A text string can be passed as the parameter:
{{OPL-attribution|''War Office: Director of Artillery, later Director of Royal Artillery: Reports and Appreciations''in the National Archive (2009)}}
or a citation template, like {{cite web}} can be used:
{{OPL-attribution|{{cite web |author=National Archives |date=12 August 2009|url=http://discovery.nationalarchives.gov.uk/SearchUI/details?uri=C14403 |title=War Office: Director of Artillery, later Director of Royal Artillery: Reports and Appreciations |accessdate=August 10, 2016}} }}
These would display as:
- This article incorporates text published under the United Kingdom Open Parliament Licence: War Office: Director of Artillery, later Director of Royal Artillery: Reports and Appreciationsin the National Archive (2009)
- This article incorporates text published under the United Kingdom Open Parliament Licence: National Archives (12 August 2009). "War Office: Director of Artillery, later Director of Royal Artillery: Reports and Appreciations". Retrieved August 10, 2016.
version parameter
- {{OPL-attribution|version=2.0}}
Appends a the given version number with a leading "v" to prescript:
- This article incorporates text published under the United Kingdom Open Parliament Licence v2.0:
inline parameter
- {{OPL-attribution|inline=x}}
Changes the wording from "This article" to "One or more of the preceding sentences":
- One or more of the preceding sentences incorporates text published under the United Kingdom Open Parliament Licence:
Hidden category
This template includes a hidden category—Category:Open Parliament Licence attribution —which does not appear at the bottom of an article page but does contain any article page that contains this template.
See also