Template:License/sandbox: Difference between revisions
Jump to navigation
Jump to search
Mailmanmicky (talk | contribs) No edit summary |
Mailmanmicky (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
{{ | [[Category:Templates]][[Category:Notice templates]][[Category:Metanotice templates]]{{doc}}__NOTOC__<onlyinclude><includeonly><div class="plainlinks">{{#if:{{{type|}}}|{{Metanotice | ||
| style = padding-block:.5em; | |||
{{#switch:{{{type}}} | |||
| disclaimer = background:#332325; border-color:#a20010; padding-inline:.2em; | |||
}} | |||
| rgb = {{#switch:{{{type}}} | |||
| copyright | copyrighted | fairuse = 162, 0, 16 | |||
| trademark = 101, 101, 128 | |||
| mit | MIT = 156, 32, 52 | |||
| mpl | MPL = 173, 0, 1 | |||
| gpl | GPL = 190, 0, 0 | |||
| lgpl | LGPL = 0, 128, 50 | |||
| pd | pd-too = 129, 129, 129 | |||
| #default = 238, 91, 50 | |||
}} | |||
| id = {{#switch:{{{type}}} | |||
| copyright | copyrighted | fairuse = [[File:Icon-NotCommons-emblem-copyrighted.png|30px|link=|Copyrighted]] | |||
| disclaimer = none | |||
| trademark = [[File:Icon-trademark.png|30px|link=|Trademark]] | |||
| mit | MIT = [[File:Logo-mit.png|30px|link=|MIT License]] | |||
| mpl | MPL = [[FIle:Logo-mozilla.png|42px|link=|Mozilla Public License]] | |||
| gpl | GPL = [[File:Logo-gpl.png|42px|link=|GNU General Public License]] | |||
| lgpl | LGPL = [[File:Logo-lgpl.png|42px|link=|GNU Lesser General Public License]] | |||
| ccbysa = [[File:Icon-copyright-ccbysa.png|30px|link=|Creative Commons]] | |||
| pd | pd-too = [[File:Icon-pd.png|30px|link=|Public Domain]] | |||
}} | |||
| text = {{#switch:{{{type}}} | |||
| copyright | copyrighted | fairuse = {{license/strings|fairuse}} | |||
| disclaimer = <div style="color:rgb(238, 49, 49,.8); font-size:.75em; text-align:center;">'''{{license/strings|disclaimer}}'''</div> | |||
| trademark = {{license/strings|trademark}} | |||
| mit | MIT = {{license/strings|MIT}} | |||
| mpl | MPL = {{license/strings|MPL}} {{#if:{{{version|}}}|[https://www.mozilla.org/en-US/MPL/{{#switch:{{{version}}}|2=2.0 2.0}}]|}} | |||
| gpl | GPL = {{license/strings|GPL}} {{#if:{{{version|}}}|[https://www.gnu.org/licenses/gpl-{{#switch:{{{version}}}|3=3.0.en.html 3.0|2=2.0.en.html 2.0}}]|}} | |||
| lgpl | LGPL = {{license/strings|LGPL}} {{#if:{{{version|}}}|[https://www.gnu.org/licenses/lgpl-{{#switch:{{{version}}}|3=3.0.en.html 3.0|2=2.0.en.html 2.0}}]|}} | |||
| ccbysa = {{license/strings|CC}} {{#switch:{{{version}}}|1=[https://creativecommons.org/licenses/by-sa/4.0/ {{license/strings|BYSA}} 1.0]|2.5=[https://creativecommons.org/licenses/by-sa/4.0/ {{license/strings|BYSA}} 2.5]|3=[https://creativecommons.org/licenses/by-sa/3.0/{{#switch:{{{region}}}|us=us/}} {{license/strings|BYSA}} 3.0 {{#switch:{{{region}}}|us=United States}}]|4=[https://creativecommons.org/licenses/by-sa/4.0/ {{license/strings|BYSA}} 4.0]|#default={{license/strings|BYSA}}}} license<br>{{license/strings|BYSAterms}} | |||
| pd = {{license/strings|PD}} {{#if:{{{author|}}}|it's author: '''{{{author|}}}'''|it's copyright holder}}. {{license/strings|PD2}}.<br><small>{{license/strings|PD3}}: ''The {{#if:{{{author|}}}|author: {{{author|}}};|copyright holder}} {{license/strings|PD4}}''</small> | |||
| pd-too = {{license/strings|TOO}} | |||
}}{{#switch:{{{type}}}|disclaimer=|#default=.}} | |||
}}|}}</div></onlyinclude></includeonly> |