Template:OPL

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
This file is licensed under the Open Parliament Licence v3.0.
Attribution: Contains Parliamentary information licensed under the Open Parliament Licence v3.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 the following attribution statement and, where possible, provide a link to this licence: Contains Parliamentary information licensed under the Open Parliament Licence v3.0.
  • ensure that you do not use the information in a way that suggests any official status or that the Licensor endorses you or your use of the Information
  • ensure that you do not mislead others or misrepresent the information or its source or present the information in a way that discredits the reputation or standing of either House of Parliament or their members or their officials
  • ensure that your use of the Information does not breach the Data Protection Act 1998 or the Privacy and Electronic Communications (EC Directive) Regulations 2003 or is otherwise unlawful
Exemptions
This license does not cover the use of
  • personal data in the information;
  • information that has neither been published nor disclosed under information access legislation (including the Freedom of Information Acts for the UK and Scotland) by or with the consent of the Licensor;
  • the Royal Arms and the Crowned Portcullis;
  • third party rights the Licensor is not authorised to license;
Consult the text of the license for full details.
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:OPL/doc.

No description yet available.

The template automatically sets the following categories: Category:OPL

Usage

{{OPL}}

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.

Discussion
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateDataCommons-specific information

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
No parameters specified

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

Localization

English  日本語  +/−

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

To add your language to the list of languages supported by this template, please copy the code of Template:OPL/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:OPL.