Template:License: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Test)
mNo edit summary
Line 25: Line 25:
| text  = {{#switch:{{{type}}}
| text  = {{#switch:{{{type}}}
           | copyright | copyrighted | fairuse = The following work is copyrighted, but usage of it is allowed on Valve Developer Community as long it qualifies as "fair use" under the {{wiki|Fair_use#U.S._fair_use_factors|United States copyright law}}. <br>Any other uses of this work on Valve Developer Community, or elsewhere, or in countries without the fair use law may be considered copyright infringement
           | copyright | copyrighted | fairuse = The following work is copyrighted, but usage of it is allowed on Valve Developer Community as long it qualifies as "fair use" under the {{wiki|Fair_use#U.S._fair_use_factors|United States copyright law}}. <br>Any other uses of this work on Valve Developer Community, or elsewhere, or in countries without the fair use law may be considered copyright infringement
           | disclaimer = div style="color:rgb(238, 49, 49,.8); font-size:.75em; text-align:center;">'''THE FOLLOWING WORK IS PROVIDED "AS IS" AND ALL USE IS AT YOUR OWN RISK. THE PERSON RESPONSIBLE FOR THE DISTRIBUTION OF THIS WORK DISCLAIMS ANY IMPLIED WARRANTY, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. FOR MORE INFORMATION, SEE THE [[Valve Developer Community:Terms of Use|TERMS OF USE]]'''</div>
           | disclaimer = <div style="color:rgb(238, 49, 49,.8); font-size:.75em; text-align:center;">'''THE FOLLOWING WORK IS PROVIDED "AS IS" AND ALL USE IS AT YOUR OWN RISK. THE PERSON RESPONSIBLE FOR THE DISTRIBUTION OF THIS WORK DISCLAIMS ANY IMPLIED WARRANTY, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. FOR MORE INFORMATION, SEE THE [[Valve Developer Community:Terms of Use|TERMS OF USE]]'''</div>
           | mit | MIT = The following work is licensed under the [[wp:MIT License|<span style="color:#8BB9E0;">MIT License</span>]]
           | mit | MIT = The following work is licensed under the [[wp:MIT License|<span style="color:#8BB9E0;">MIT License</span>]]
           | mpl      = The following work is licensed under the [[wp:Mozilla Public License|<span style="color:#8BB9E0;">Mozilla Public License</span>]] {{#if:{{{version|}}}|[https://www.mozilla.org/en-US/MPL/{{#switch:{{{version}}}|2=2.0 2.0}}]|}}
           | mpl      = The following work is licensed under the [[wp:Mozilla Public License|<span style="color:#8BB9E0;">Mozilla Public License</span>]] {{#if:{{{version|}}}|[https://www.mozilla.org/en-US/MPL/{{#switch:{{{version}}}|2=2.0 2.0}}]|}}

Revision as of 07:52, 2 July 2023

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.
Gnome app science.png
This template uses a Testcases subpage
You can test how this page looks with it's different skins and parsers.

Template for adding licensing notices. Mainly intended for use on files, but this template is applicable elsewhere.

Copy and Paste

{{License | type = }}

Translations

The used strings are on strings subpage. Please follow the format to add translations for them.

You may also use the strings subpage in order to compartmentalize template code when possible.

Testcases

Testcases for this template can be located on the testcases subpage.

Parameters and Examples

Parameter Description Example
{{{type}}} String parameter for specifying the permission notice
| type = MIT
{{{author}}} For specifying an author in the event that it is possible
| author = Example
{{{version}}} Parameter used to change the version of the permission notice if available
| version = 3.0
{{{region}}} Parameter used to change to a region specific version of the permission notice if available.
| region = us