Modèle:License
This template is used on file pages to denote the file's license. It categorizes the file in the respective license category.
Usage
Add a "Licensing" section on the file page and transclude the template:
== Licensing ==
{{License | <license type> }}
- First unnamed parameter
Type of the license; select one from the list below. Providing no value or an invalid one will result in nolicense.
Licenses
The following 1 licenses are available:
| Code | Output |
|---|---|
{{License|CC BY}} |
How to add a new license template
Create a new subtemplate of Template:License, e.g. Template:License/mynewlicense. Add a {{licensebox}} with the appropriate parameters as its content and below it the line <includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:File}}|[[Category:Files under <license type>]]}}</includeonly>. Also make sure to categorize the new subtemplate in Category:Modèles de licence.
You can use the existing license subtemplates as guides for creating new ones.