Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:License: Difference between revisions

Template page
Created page with "{{msgbox |width = 720px |class = licensetpl |css = text-align: left; margin: 0.5em auto; {{{css|}}} |image = {{{image|License {{{shortname|none}}}.svg}}} |imagecss = text-align:center |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|6..."
Β 
mNo edit summary
Β 
(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>

Latest revision as of 21:40, 21 July 2025


Documentation[view] [edit] [history] [purge]

Usage

This template should be automatically included on uploaded files as long as a license option is chosen.

[view] [edit] [history] [purge]The above documentation is transcluded from Template:License/doc.
Contents