Module:License/doc
Usage
Both statements are equivalent:
{{#invoke:License|SDC_license}}- {{License from structured data}}
Examples
Usually {{License from structured data}} is added to a file page. However one can also test the module by using parameters: id (for SDC or Wikidata item number) and debug (a Boolean flag to turn off template rendering).
| File | Test | {{License from structured data}} |
|---|---|---|
| Original license template | ||
| Self + cc-by-3.0 + GFDL + attribution |
{{self|Cc-by-3.0|GFDL|attribution=Jarek Tuszyński / / |author=Jarek Tuszyński}} |
|
{{self|cc-by-3.0|GFDL|author=Jarek Tuszyński|attribution=Jarek Tuszyński / CC-BY-3.0 & GDFL}} |
||
| FAL + CeCILL + GFDL-1.2 |
{{self|CeCILL|FAL|GFDL-1.2|attribution=Ralf Roletschek / / / |author=Ralf Roletschek}} |
|
{{GFDL-1.2}}{{CeCILL}}{{FAL}} |
||
| Cc-by-sa-2.0 + attribution |
{{Cc-by-sa-2.0|attribution=Derelict looking barn, New Pound by N Chadwick / |author=N Chadwick}} |
|
{{Cc-by-sa-2.0|attribution=Derelict looking barn, New Pound by N Chadwick}} |
||
| Cc-by-2.0 | {{Cc-by-2.0|attribution=Robin Taylor / |author=Robin Taylor}} |
|
{{Cc-by-2.0}} |
||
| cc-zero | {{self|Cc-zero}} |
|
{{Cc-zero}} |
||
| PD-USGov-USGS |
{{PD-USGov}} |
|
{{PD-USGov-USGS}} |
||
| OGL3 | {{OGL3|attribution=Cpl Ian Houlding / |author=Cpl Ian Houlding}} |
|
{{OGL3|1=Photo: Cpl Ian Houlding/MOD}} |
||
| FAL | {{self|Cc-by-sa-3.0|FAL|attribution=spacebirdy / / |author=spacebirdy}} |
|
{{self|Cc-by-sa-3.0|FAL}} |
||
| GPL | {{self|Cc-by-sa-4.0|GPLv2+}} |
|
{{self|cc-by-sa-4.0}}{{Free screenshot|{{GPL}}}} |
||
| Attribution | {{Attribution only license}} |
|
{{Attribution|nolink=Shiretoko-Shari Tourist Association}} |
||
| Cc-by-sa-4.0,3.0 ,2.5,2.0,1.0 |
{{self|Cc-by-sa-4.0,3.0,2.5,2.0,1.0|GFDL|attribution=Agreco / / / / / / |author=Agreco}} |
|
{{self|GFDL|Cc-by-sa-4.0,3.0,2.5,2.0,1.0}} |
||
| WTFPL | item d:Q152481 is missing main template (P1424) property |
|
{{self|cc-zero|WTFPL}} |
||
| MIT | {{MIT}} |
|
{{MIT}} |
||
| PD-old-100-expired | {{PD-old-100-expired}}
{{PD-Art}} |
|
{{PD-Art|PD-old-100-expired|deathyear=1903}} |