Template:License/doc: Difference between revisions
Jump to navigation
Jump to search

Mailmanmicky (talk | contribs) m (Mailmanmicky moved page Template:Copyright/doc to Template:Permission/doc) |
Mailmanmicky (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
{{Doc/subpage}}Template used to indicate the | {{Doc/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 == | == Copy and Paste == | ||
{{CodeBlock|<nowiki>{{ | {{CodeBlock|<nowiki>{{Permission | ||
| | | type = | ||
}}</nowiki>}} | }}</nowiki>}} | ||
Line 15: | Line 15: | ||
! {{Dictionary/common|Example}} | ! {{Dictionary/common|Example}} | ||
|- | |- | ||
| align="center" | {{Code|style=2|{{Param| | | align="center" | {{Code|style=2|{{Param|type}}}} | ||
| String parameter for specifying the | | String parameter for specifying the permission notice | ||
| {{CodeBlock|margin=5px|<nowiki>| license = MIT</nowiki>}} | | {{CodeBlock|margin=5px|<nowiki>| license = MIT</nowiki>}} | ||
|- | |- | ||
| align="center" | {{Code|style=2|{{Param|version}}}} | | align="center" | {{Code|style=2|{{Param|version}}}} | ||
| Parameter used to change the version of | | Parameter used to change the version of the permission notice if available | ||
| {{CodeBlock|margin=5px|<nowiki>| version = 3.0</nowiki>}} | | {{CodeBlock|margin=5px|<nowiki>| version = 3.0</nowiki>}} | ||
|- | |- | ||
| align="center" | {{Code|style=2|{{Param|region}}}} | | align="center" | {{Code|style=2|{{Param|region}}}} | ||
| Parameter used to change to a region specific version of | | Parameter used to change to a region specific version of the permission notice if available. | ||
| {{CodeBlock|margin=5px|<nowiki>| region = us</nowiki>}} | | {{CodeBlock|margin=5px|<nowiki>| region = us</nowiki>}} | ||
|} | |} |
Revision as of 10:18, 1 July 2023

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.
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
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 | |
{{{version}}} | Parameter used to change the version of the permission notice if available | |
{{{region}}} | Parameter used to change to a region specific version of the permission notice if available. |