This page is semi-protected against editing.

Template:Pixabay

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
This file is from Pixabay, where the creator has released it explicitly under the license Creative Commons Zero (see here). To uploader: Please provide the ID of the file as parameter in the template.

Note: On 9 January 2019, Pixabay switched the old sitewide license for all uploads from Creative Commons CC0 to the Pixabay license which does not meet the free content licensing requirements for Commons. Therefore, media published on Pixabay from 9 January 2019 onwards is not considered to be freely licensed and can't be accepted on Commons. Files uploaded to Commons after this date should be subject to careful license review, verifying that the publication date on Pixabay is prior to 9 January 2019.
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Pixabay/doc.

Template for Media from Pixabay. It adds a license box and sorts the media into an appropriate category.

The template automatically sets the following categories: Images from Pixabay, Videos from Pixabay

Usage

{{Pixabay |1= |2= }}

Template parameters

ParameterDescriptionDefaultStatus
1File-IDThe numerical ID of the file on Pixabay, found at end of web address. If the url is https://pixabay.com/en/coffee-coffee-with-milk-coffee-beans-563800/, then the ID is 563800.emptyrequired
2VideoFor videos you must set this parameter to value vid (letter case does not matter).emptyoptional
statusStatusUse confirmed to confirm the review (by an Administrator or License reviewer), but using template {{PBLR}} is strongly recommended.emptyoptional
reviewerReviewerThe Administrator or License reviewer who reviewed the file. Fill in the reviewer's username, without "User:". Instead, using template {{PBLR}} is strongly recommended.emptyoptional
dateDateThe date in ISO 8601 format when the file was reviewed (by an Administrator or License reviewer). Use {{subst:#time: Y-m-d}}. Note, that using template {{PBLR}} is strongly recommended instead.emptyoptional
Template data
<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 for Media from Pixabay. It adds a license box and sorts the media into an appropriate category.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
File-ID1

The numerical ID of the file on Pixabay, found at end of web address. If the url is https://pixabay.com/en/coffee-coffee-with-milk-coffee-beans-563800/, then the ID is <code>563800</code>.

Numberrequired
Video2

For videos you ''must'' set this parameter to value '''<kbd>vid</kbd>''' (letter case does not matter).

Stringoptional
Datedate

The date in ISO 8601 format when the file was reviewed (by an Administrator or License reviewer). Use <code>{{subst:#time: Y-m-d}}</code>. Note, that using template <code>{{PBLR}}</code> is strongly recommended instead.

Stringoptional
Reviewerreviewer

The Administrator or License reviewer who reviewed the file. Fill in the reviewer's username, without "User:". Instead, using template <code>{{PBLR}}</code> is strongly recommended.

Stringoptional
Statusstatus

Use <code>confirmed</code> to confirm the review (by an Administrator or License reviewer), but using template <code>{{PBLR}}</code> is strongly recommended.

Stringoptional

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: no user group specified

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

See also

Localization

Deutsch  English  español  hrvatski  italiano  Nederlands  polski  português  slovenščina  македонски  日本語  中文  中文(简体)  中文(繁體)  +/−

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

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


Notes and examples

Notice License Review
The files from Pixabay need license review. If you aren't an Administrator or a License reviewer, add the tag with the ID (and the optional vid parameter if apply):
{{Pixabay|<id>|vid}}

If you're an Administrator or a License reviewer, replace the {{Pixabay}} tag with the shortcut:

{{subst:PBLR|<id>|vid}}

For adding Pixabay users into the author field you can use a shorter address form without language related part:

[https://pixabay.com/users/example-user/ Example user].

In fact, you can always remove the language part. Pixabay will show something according to your browser settings. This behaviour is used in template {{Pixabay}}.

Files with template, but missing the ID, are added to category Files from Pixabay without file-ID provided.

  • Same file-ID for image and video, distinction only by parameter 2
Image: {{pixabay|123}}
This file is from Pixabay, where the creator has released it explicitly under the license Creative Commons Zero (see here). File ID: 123

Note: On 9 January 2019, Pixabay switched the old sitewide license for all uploads from Creative Commons CC0 to the Pixabay license which does not meet the free content licensing requirements for Commons. Therefore, media published on Pixabay from 9 January 2019 onwards is not considered to be freely licensed and can't be accepted on Commons. Files uploaded to Commons after this date should be subject to careful license review, verifying that the publication date on Pixabay is prior to 9 January 2019.
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Video: {{pixabay|123|vid}}
This file is from Pixabay, where the creator has released it explicitly under the license Creative Commons Zero (see here). File ID: 123

Note: On 9 January 2019, Pixabay switched the old sitewide license for all uploads from Creative Commons CC0 to the Pixabay license which does not meet the free content licensing requirements for Commons. Therefore, media published on Pixabay from 9 January 2019 onwards is not considered to be freely licensed and can't be accepted on Commons. Files uploaded to Commons after this date should be subject to careful license review, verifying that the publication date on Pixabay is prior to 9 January 2019.
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

  • Videos, letter case of parameter 2 does not matter
{{pixabay|123|vid}}
See result above.
{{pixabay|321|VID}}
This file is from Pixabay, where the creator has released it explicitly under the license Creative Commons Zero (see here). File ID: 321

Note: On 9 January 2019, Pixabay switched the old sitewide license for all uploads from Creative Commons CC0 to the Pixabay license which does not meet the free content licensing requirements for Commons. Therefore, media published on Pixabay from 9 January 2019 onwards is not considered to be freely licensed and can't be accepted on Commons. Files uploaded to Commons after this date should be subject to careful license review, verifying that the publication date on Pixabay is prior to 9 January 2019.
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

{{pixabay|2468|Vid}}
This file is from Pixabay, where the creator has released it explicitly under the license Creative Commons Zero (see here). File ID: 2468

Note: On 9 January 2019, Pixabay switched the old sitewide license for all uploads from Creative Commons CC0 to the Pixabay license which does not meet the free content licensing requirements for Commons. Therefore, media published on Pixabay from 9 January 2019 onwards is not considered to be freely licensed and can't be accepted on Commons. Files uploaded to Commons after this date should be subject to careful license review, verifying that the publication date on Pixabay is prior to 9 January 2019.
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.