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}}
| {{Copyright|license=ccbysa}}  
| {{Permission|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}}}}
| {{Copyright|license=ccbysa|version = 3}}  
| {{Permission|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}}}}
| {{Copyright|license=ccbysa|version = 3|region=us}}
| {{Permission|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}}}}
| {{Copyright|license=ccbysa|version = 4}}
| {{Permission|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}}
| {{Copyright|license=gpl}}  
| {{Permission|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}}}}
| {{Copyright|license=gpl|version = 2}}  
| {{Permission|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}}}}
| {{Copyright|license=gpl|version = 3}}  
| {{Permission|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}}
| {{Copyright|license=lgpl}}  
| {{Permission|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}}}}
| {{Copyright|license=lgpl|version = 2}}  
| {{Permission|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}}}}
| {{Copyright|license=lgpl|version = 3}}  
| {{Permission|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}}
| {{Copyright|license=mpl}}  
| {{Permission|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}}}}
| {{Copyright|license=mpl|version = 2}}  
| {{Permission|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}}
| {{Copyright|license=MIT}}  
| {{Permission|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}}
| {{Copyright|license=copyrighted}}  
| {{Permission|type=copyrighted}}  
|-
|-
|}
|}
Line 95: Line 95:
|-
|-
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|Public Domain}}
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|Public Domain}}
| {{Copyright|license=pd}}  
| {{Permission|type=pd}}  
|-
|-
| 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]]}}
| {{Copyright|license=pd-too}}  
| {{Permission|type=pd-too}}  
|-
|-
|}
|}

Revision as of 10:25, 1 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
Template:Permission
Attribution-ShareAlike with version set to 3.0
Template:Permission
Attribution-ShareAlike with version set to 3.0 and region set to us
Template:Permission
Attribution-ShareAlike with version set to 4.0
Template:Permission

GNU General Public License (GPL)

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

GNU Lesser General Public License (LGPL)

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

Mozilla Public License

Description Preview
Mozilla Public License
Template:Permission
Mozilla Public License with version set to 2.0
Template:Permission

MIT License

Description Preview
MIT License
Template:Permission

Fair Use (Copyrighted)

Description Preview
Copyrighted, allowed under Fair Use law in some countries
Template:Permission

Public Domain

Description Preview
Public Domain
Template:Permission
Public Domain due to an image not meeting the threshold of originality
Template:Permission