Template:License/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:


== Copy and Paste ==
== Copy and Paste ==
{{CodeBlock|<nowiki>{{Permission
{{CodeBlock|<nowiki>{{License
| type =
| type =
}}</nowiki>}}
}}</nowiki>}}

Revision as of 09:50, 2 July 2023

Edit-copy.png
This is a documentation subpage for Template:License.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

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

Copy and Paste

{{License | type = }}

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