Template:License/testcases: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 8: Line 8:
|-
|-
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|Attribution-ShareAlike}}
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|Attribution-ShareAlike}}
| {{Permission|type=ccbysa}}  
| {{License|type=ccbysa}}  
|-
|-
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|Attribution-ShareAlike with version set to {{code|3.0}}}}
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|Attribution-ShareAlike with version set to {{code|3.0}}}}
| {{Permission|type=ccbysa|version = 3}}  
| {{License|type=ccbysa|version = 3}}  
|-
|-
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|Attribution-ShareAlike with version set to {{code|3.0}} and region set to {{code|us}}}}
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|Attribution-ShareAlike with version set to {{code|3.0}} and region set to {{code|us}}}}
| {{Permission|type=ccbysa|version = 3|region=us}}
| {{License|type=ccbysa|version = 3|region=us}}
|-
|-
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|Attribution-ShareAlike with version set to {{code|4.0}}}}
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|Attribution-ShareAlike with version set to {{code|4.0}}}}
| {{Permission|type=ccbysa|version = 4}}
| {{License|type=ccbysa|version = 4}}
|-
|-
|}
|}
Line 28: Line 28:
|-
|-
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|GNU General Public License}}
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|GNU General Public License}}
| {{Permission|type=gpl}}  
| {{License|type=gpl}}  
|-
|-
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|GNU General Public License with version set to {{code|2.0}}}}
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|GNU General Public License with version set to {{code|2.0}}}}
| {{Permission|type=gpl|version = 2}}  
| {{License|type=gpl|version = 2}}  
|-
|-
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|GNU General Public License with version set to {{code|3.0}}}}
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|GNU General Public License with version set to {{code|3.0}}}}
| {{Permission|type=gpl|version = 3}}  
| {{License|type=gpl|version = 3}}  
|}
|}


Line 44: Line 44:
|-
|-
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|GNU Lesser General Public License}}
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|GNU Lesser General Public License}}
| {{Permission|type=lgpl}}  
| {{License|type=lgpl}}  
|-
|-
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|GNU Lesser General Public License with version set to {{code|2.0}}}}
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|GNU Lesser General Public License with version set to {{code|2.0}}}}
| {{Permission|type=lgpl|version = 2}}  
| {{License|type=lgpl|version = 2}}  
|-
|-
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|GNU Lesser General Public License with version set to {{code|3.0}}}}
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|GNU Lesser General Public License with version set to {{code|3.0}}}}
| {{Permission|type=lgpl|version = 3}}  
| {{License|type=lgpl|version = 3}}  
|}
|}


Line 60: Line 60:
|-
|-
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|Mozilla Public License}}
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|Mozilla Public License}}
| {{Permission|type=mpl}}  
| {{License|type=mpl}}  
|-
|-
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|Mozilla Public License with version set to {{code|2.0}}}}
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|Mozilla Public License with version set to {{code|2.0}}}}
| {{Permission|type=mpl|version = 2}}  
| {{License|type=mpl|version = 2}}  
|}
|}


Line 73: Line 73:
|-
|-
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|MIT License}}
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|MIT License}}
| {{Permission|type=MIT}}  
| {{License|type=MIT}}  
|-
|-
|}
|}
Line 84: Line 84:
|-
|-
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|Copyrighted, allowed under Fair Use law in some countries}}
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|Copyrighted, allowed under Fair Use law in some countries}}
| {{Permission|type=copyrighted}}  
| {{License|type=copyrighted}}  
|-
|-
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|General purpose disclaimer for implied warranties}}
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|General purpose disclaimer for implied warranties}}
| {{Permission|type=disclaimer}}  
| {{License|type=disclaimer}}  
|-
|-
|}
|}
Line 98: Line 98:
|-
|-
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|Public Domain due to the rights of a work being waived}}
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|Public Domain due to the rights of a work being waived}}
| {{Permission|type=pd}}  
| {{License|type=pd}}  
|-
|-
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|Same as the above notice, but with the author specified}}
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|Same as the above notice, but with the author specified}}
| {{Permission|type=pd|author=Example}}  
| {{License|type=pd|author=Example}}  
|-
|-
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|Public Domain due to an image not meeting the [[wp:threshold of originality|threshold of originality]]}}
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|Public Domain due to an image not meeting the [[wp:threshold of originality|threshold of originality]]}}
| {{Permission|type=pd-too}}  
| {{License|type=pd-too}}  
|-
|-
|}
|}

Revision as of 09:48, 2 July 2023

Gnome app science.png
This is the template test cases page for Template:License. Purge this page in order to update the examples, if the template itself was recently edited.
If there are too many examples of a complicated template, later transclusions of such template may break due to the limitations of the Mediawiki software, or can cause the page itself to load very slow; See the HTML comment "NewPP limit Report" on the rendered page.
You can also use Special:ExpandTemplates to examine the results of template use cases.


Creative Commons Licenses

Description Preview
Attribution-ShareAlike
Attribution-ShareAlike with version set to 3.0
Attribution-ShareAlike with version set to 3.0 and region set to us
Attribution-ShareAlike with version set to 4.0

GNU General Public License (GPL)

Description Preview
GNU General Public License
GNU General Public License with version set to 2.0
GNU General Public License with version set to 3.0

GNU Lesser General Public License (LGPL)

Description Preview
GNU Lesser General Public License
GNU Lesser General Public License with version set to 2.0
GNU Lesser General Public License with version set to 3.0

Mozilla Public License

Description Preview
Mozilla Public License
Mozilla Public License with version set to 2.0

MIT License

Description Preview
MIT License

General Usage

Description Preview
Copyrighted, allowed under Fair Use law in some countries
General purpose disclaimer for implied warranties

Public Domain

Description Preview
Public Domain due to the rights of a work being waived
Same as the above notice, but with the author specified
Public Domain due to an image not meeting the threshold of originality