Template:License/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 17: Line 17:
| align="center" | {{Code|style=2|{{Param|type}}}}
| align="center" | {{Code|style=2|{{Param|type}}}}
| String parameter for specifying the permission notice
| String parameter for specifying the permission notice
| {{CodeBlock|margin=5px|<nowiki>| license = MIT</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| type = MIT</nowiki>}}
|-
|-
| align="center" | {{Code|style=2|{{Param|version}}}}
| align="center" | {{Code|style=2|{{Param|version}}}}

Revision as of 10:20, 1 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 used to indicate the permissions of the associated work. Mainly intended for use on files, but template is applicable elsewhere.

Copy and Paste

{{Permission | 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
{{{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