Template:License: Difference between revisions
Appearance
Created page with "<templatestyles src="Template:License/styles.css" />{{#switch: {{{1|}}} | cc-by = <table class="mw-license-box mw-license-cc-by"><tr> <td class="mw-license-badge">CC<br/>BY</td> <td class="mw-license-desc">[https://creativecommons.org/licenses/by/4.0/ CC BY 4.0] — Free to share and adapt with attribution.</td> </tr></table> | cc-by-sa = <table class="mw-license-box mw-license-cc-by-sa"><tr> <td class="mw-license-badge">CC<br/>BY-SA</td> <td class="mw-license-desc">[htt..." |
No edit summary |
||
| Line 45: | Line 45: | ||
== Usage == | == Usage == | ||
<pre>{{License|cc-by}}</pre> | <pre>{{License|cc-by}}</pre> | ||
<templatedata> | |||
{ | |||
"description": "Displays a license notice box for the page, styled like Babel boxes.", | |||
"params": { | |||
"1": { | |||
"label": "License", | |||
"description": "The license identifier for this page.", | |||
"type": "string", | |||
"required": true, | |||
"suggestedvalues": [ | |||
"cc-by", | |||
"cc-by-sa", | |||
"cc-by-nc", | |||
"cc-by-nc-sa", | |||
"cc-by-nd", | |||
"cc-by-nc-nd", | |||
"cc0", | |||
"arr" | |||
], | |||
"example": "cc-by-sa" | |||
} | |||
}, | |||
"format": "inline" | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> | ||
Revision as of 12:07, 18 April 2026
Unknown license: {{{1}}}
Usage
{{License|cc-by}}
Displays a license notice box for the page, styled like Babel boxes.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| License | 1 | The license identifier for this page.
| String | required |