Template:OGL-attribution/doc

Requirements
The requirements of the copyright holder (the British Government) to copy text into a Wikipedia article from one of their documenters can be found in "About the Open Government Licence" and "About the Open Government Licence"

"About the Open Government Licence" continues:

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:

A text string can be passed as the parameter:

or a citation template, like cite web can be used:

These would display as:

noicon parameter


Turns off the icon display:

version parameter


Appends a the given version number with a leading "v" to prescript:

inline parameter


Changes the wording from "This article" to "One or more of the preceding sentences":

Hidden category
This template includes a hidden category—Category:Open Government Licence attribution —which does not appear at the bottom of an article page but does contain any article page that contains this template.