This page is protected against editing.

Template:OGL2

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
This file is licensed under the United Kingdom Open Government Licence v2.0.
You are free to:
  • copy, publish, distribute and transmit the Information;
  • adapt the Information;
  • exploit the Information commercially for example, by combining it with other Information, or by including it in your own product or application.
You must, where you do any of the above:
  • acknowledge the source of the Information by including any attribution statement specified by the Information Provider(s) and, where possible, provide a link to this licence;
  • ensure that you do not use the Information in a way that suggests any official status or that the Information Provider endorses you or your use of the Information;
You are NOT free to use:
  • departmental or public sector organisation logos, crests and the Royal Arms except where they form an integral part of a document or dataset;
  • military insignia;
  • identity documents such as the British Passport.
Consult this guide for full details.
Note: Since 2010, almost all information owned by the UK Crown is offered for use and re-use under the Open Government Licence by authority of The Controller of His Majesty's Stationery Office.info
See also: Meta for information on usage on Wikimedia wikis.
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:OGL2/doc.

No description yet available.

The template automatically sets the following categories: Category:OGL v2.0

Usage

{{OGL2 |1= }}

Template parameters

<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.


Wikipedia's help about TemplateDataCommons-specific information

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
1

the attribution string as specified by the licensor, that re-users are obliged to name

Unknownoptional

Additional information

The template is intended to be used in the following namespaces: the File namespace

The template is intended to be used by the following user groups: all users

Placement: In the "Permission" parameter of the {{Information}} template (or the respective parameter of similar templates) or in the "Licensing" section

Example

{{OGL2|Example Attribution}}

renders as:

This file is licensed under the United Kingdom Open Government Licence v2.0.
Attribution: Example Attribution
You are free to:
  • copy, publish, distribute and transmit the Information;
  • adapt the Information;
  • exploit the Information commercially for example, by combining it with other Information, or by including it in your own product or application.
You must, where you do any of the above:
  • acknowledge the source of the Information by including any attribution statement specified by the Information Provider(s) and, where possible, provide a link to this licence;
  • ensure that you do not use the Information in a way that suggests any official status or that the Information Provider endorses you or your use of the Information;
You are NOT free to use:
  • departmental or public sector organisation logos, crests and the Royal Arms except where they form an integral part of a document or dataset;
  • military insignia;
  • identity documents such as the British Passport.
Consult this guide for full details.
Note: Since 2010, almost all information owned by the UK Crown is offered for use and re-use under the Open Government Licence by authority of The Controller of His Majesty's Stationery Office.info
See also: Meta for information on usage on Wikimedia wikis.

Localization

English  日本語  +/−

This template is localized through {{Autotranslate}}. The layout of the template can be found under Template:OGL2/layout.

To add your language to the list of languages supported by this template, please copy the code of Template:OGL2/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang from en (or whatever language you are translating) to the language code of your language.


This template will categorize into Category:OGL v2.0.