Template:License: Difference between revisions

Jump to navigation Jump to search
Automatic category addition.
(Added support for the "CC BY-NC-SA 3.0" licence.)
(Automatic category addition.)
Line 4: Line 4:
                   -->[[Image:Cc-nc.png|x24px|link=Template:Cc-by-nc-sa-3.0]] <!--
                   -->[[Image:Cc-nc.png|x24px|link=Template:Cc-by-nc-sa-3.0]] <!--
                   -->[[Image:Cc-sa.png|x24px|link=Template:Cc-by-nc-sa-3.0]] <!--
                   -->[[Image:Cc-sa.png|x24px|link=Template:Cc-by-nc-sa-3.0]] <!--
                   -->[[Template:Cc-by-nc-sa-3.0|3.0]]
                   -->[[Template:Cc-by-nc-sa-3.0|3.0]] <!--
                  -->[[Category:CC-BY-NC-SA-3.0]]
   | CC BY-NC-SA 4.0 = [[Image:CC some rights reserved.png|x24px|link=Template:Cc-by-nc-sa-4.0]] <!--
   | CC BY-NC-SA 4.0 = [[Image:CC some rights reserved.png|x24px|link=Template:Cc-by-nc-sa-4.0]] <!--
                   -->[[Image:Cc-by new white.png|x24px|link=Template:Cc-by-nc-sa-4.0]] <!--
                   -->[[Image:Cc-by new white.png|x24px|link=Template:Cc-by-nc-sa-4.0]] <!--
                   -->[[Image:Cc-nc.png|x24px|link=Template:Cc-by-nc-sa-4.0]] <!--
                   -->[[Image:Cc-nc.png|x24px|link=Template:Cc-by-nc-sa-4.0]] <!--
                   -->[[Image:Cc-sa.png|x24px|link=Template:Cc-by-nc-sa-4.0]] <!--
                   -->[[Image:Cc-sa.png|x24px|link=Template:Cc-by-nc-sa-4.0]] <!--
                   -->[[Template:Cc-by-nc-sa-4.0|4.0]]
                   -->[[Template:Cc-by-nc-sa-4.0|4.0]] <!--
                  -->[[Category:CC-BY-NC-SA-4.0]]
   | CC BY-NC-ND 4.0 = [[Image:CC some rights reserved.png|x24px|link=Template:Cc-by-nc-nd-4.0]] <!--
   | CC BY-NC-ND 4.0 = [[Image:CC some rights reserved.png|x24px|link=Template:Cc-by-nc-nd-4.0]] <!--
                   -->[[Image:Cc-by new white.png|x24px|link=Template:Cc-by-nc-nd-4.0]] <!--
                   -->[[Image:Cc-by new white.png|x24px|link=Template:Cc-by-nc-nd-4.0]] <!--
                   -->[[Image:Cc-nc.png|x24px|link=Template:Cc-by-nc-nd-4.0]] <!--
                   -->[[Image:Cc-nc.png|x24px|link=Template:Cc-by-nc-nd-4.0]] <!--
                   -->[[Image:Cc-nd white.png|x24px|link=Template:Cc-by-nc-nd-4.0]] <!--
                   -->[[Image:Cc-nd white.png|x24px|link=Template:Cc-by-nc-nd-4.0]] <!--
                   -->[[Template:Cc-by-nc-nd-4.0|4.0]]
                   -->[[Template:Cc-by-nc-nd-4.0|4.0]] <!--
   | GPLv2+          = [[Template:GPL|GPLv2+]]
                  -->[[Category:CC-BY-NC-ND-4.0]]
   | GPLv3+          = [[Image:Gplv3-88x31.png|x24px|link=Template:GPL3|GPLv3+]]
   | GPLv2+          = [[Template:GPL|GPLv2+]] [[Category:GPLv2+]]
   | GPLv3+          = [[Image:Gplv3-88x31.png|x24px|link=Template:GPL3|GPLv3+]] [[Category:GPLv3+]]
   | #default        = {{#if: {{{1|}}}
   | #default        = {{#if: {{{1|}}}
                         | {{{1}}}
                         | {{{1}}}
                         | [[Template:GPL|GPLv2+]]
                         | [[Template:GPL|GPLv2+]] [[Category:GPLv2+]]
                       }}
                       }}
}}<noinclude>
}}<noinclude>
{{Informative template|1=
{{Informative template|1=
== Goal ==
== Goal ==
To be used to license files.
To be used to license files.  This will automatically append the license category to the page for all recognised licenses.


The template automatically sets the following categories: [[:Category:GPL]],
The template automatically sets the following categories: [[:Category:GPL]],

Navigation menu