Β |
Β |
(9 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| {{msgbox
| | <includeonly> |
| |widthΒ Β = 720px
| | {{Imbox |
| |classΒ Β = licensetpl
| | Β | type = license |
| |cssΒ Β Β = text-align: left; margin: 0.5em auto; {{{css|}}}
| | Β | image = [[File:Licence {{{1|}}}.svg|50px]] |
| |imageΒ Β = {{{image|License {{{shortname|none}}}.svg}}}
| | | text = {{{3}}} |
| |imagecss = text-align:center
| | | below = {{{4|}}} |
| |imagetextafter = {{ | |
| Β #if: {{{img2|}}} | |
| | <div class="nowrap">[[File:License {{{img2}}}.svg|20px]] {{
| |
| Β #if: {{{img3|}}}
| |
| Β | [[File:License {{{img3}}}.svg|20px]]
| |
| Β }} {{
| |
| Β #if: {{{img4|}}}
| |
| Β | [[File:License {{{img4}}}.svg|20px]]
| |
| Β }}</div>
| |
| Β }} | | Β }} |
| |imagesize = {{{imagesize|64px}}}
| | </includeonly> |
| |titleΒ Β = {{{title|This {{{pagetype|file}}} is {{#if: {{{license|}}} | licensed under a {{{license}}} license. | unlicensed.}} }}}
| | <noinclude> |
| |textΒ Β Β = {{{description|Please set a license by {{#ifexist: {{FULLPAGENAME}} | applying the correct [[:Category:Licensing templates|license template]] | using the appropriate option on the drop-down list }}. Unlicensed images may be a copyright violation if they are not your works and will get deleted.}}}<!--
| | {{Documentation}} |
| -->{{#ifeq: {{NAMESPACE}} | File | <div style="display: none;"><!--
| |
| -->{{#if: {{{link|}}}|<span class="licensetpl_link">{{{link}}}</span>}}<!--
| |
| -->{{#if: {{{short|{{{shortname|}}}}}}|<span class="licensetpl_short">{{{short|{{{shortname|}}}}}}</span>}}<!--
| |
| -->{{#if: {{{long|{{{license|}}}}}}|<span class="licensetpl_long">{{{long|{{{license|}}}}}}</span>}}<!--
| |
| -->{{#if: {{{linkreq|}}}|<span class="licensetpl_link_req">{{{linkreq}}}</span>}}<!--
| |
| -->{{#if: {{{attrreq|}}}|<span class="licensetpl_attr_req">{{{attrreq}}}</span>}}<!--
| |
| -->{{#if: {{{nonfree|}}}|<span class="licensetpl_nonfree">{{{nonfree}}}</span>}}<!--
| |
| --></div>}}
| |
| |nocat = 1
| |
| }}
| |
| <includeonly>{{#ifeq: {{NAMESPACE}}{{{nocat|}}} | File | [[Category:Files with a license template]] {{#if: {{{title|}}}{{{license|}}} || [[Category:Unlicensed files]] }} }}</includeonly><noinclude>
| |
| {{documentation}} | |
| <!-- Put categories/interwiki on the documentation page --> | | <!-- Put categories/interwiki on the documentation page --> |
| </noinclude> | | </noinclude> |
Usage
This template should be automatically included on uploaded files as long as a license option is chosen.