Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:License/doc: Difference between revisions

Template page
Created page with "{{documentation header}} <!-- documentation here --> == Usage == This template should be automatically included on uploaded files as long as a license option is chosen. <includeonly>{{sandbox other|| <!-- template categories/interwikis here --> }}</includeonly> <noinclude> <!-- documentation categories/interwikis here --> </noinclude>"
 
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
This template should be automatically included on uploaded files as long as a license option is chosen.
This template should be automatically included on uploaded files as long as a license option is chosen.


<includeonly>{{sandbox other||
<includeonly>
<!-- template categories/interwikis here -->
<!-- template categories/interwikis here -->
 
</includeonly>
}}</includeonly>
<noinclude>
<noinclude>
<!-- documentation categories/interwikis here -->
<!-- documentation categories/interwikis here -->
<templatedata>
{
"params": {
"1": {
"aliases": [
"shortname",
"short"
],
"label": "License Name",
"description": "Only the code for the license, or the name of the license holder",
"type": "string",
"suggestedvalues": [
"iskallia",
"GFDL",
"Mojang",
"cc-by",
"cc-by-nc",
"cc-by-nd",
"cc-by-sa",
"cc-by-nc-sa",
"cc-by-nc-nd",
"none",
"public domain",
"copyright"
],
"default": "none",
"suggested": true
},
"2": {
"aliases": [
"licenceVersion",
"licver"
],
"label": "License Version",
"type": "string",
"suggestedvalues": [
"1.0",
"3.0",
"4.0"
]
},
"3": {
"aliases": [
"desc",
"description"
],
"label": "Description",
"description": "Description of the license / license text",
"type": "string",
"suggested": true
},
        "4": {
"aliases": [
"below",
"subtext"
],
"label": "Extra Description",
"description": "Second Line of Description",
"type": "string",
"suggested": true
}
},
"paramOrder": [
"1",
"2",
"3",
        "4"
],
"format": "inline"
}
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 21:13, 21 July 2025

This is the documentation page. It should be transcluded into Template:License. See Template:Documentation for more information.

Usage

This template should be automatically included on uploaded files as long as a license option is chosen.


No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
License Name1 shortname short

Only the code for the license, or the name of the license holder

Suggested values
iskallia GFDL Mojang cc-by cc-by-nc cc-by-nd cc-by-sa cc-by-nc-sa cc-by-nc-nd none public domain copyright
Default
none
Stringsuggested
License Version2 licenceVersion licver

no description

Suggested values
1.0 3.0 4.0
Stringoptional
Description3 desc description

Description of the license / license text

Stringsuggested
Extra Description4 below subtext

Second Line of Description

Stringsuggested
Contents