Template:Cc-by-4.0: Difference between revisions
(Merge SDC categories) |
en>Jonesey95 (fix indenting and error message) |
||
Line 1: | Line 1: | ||
{{Cc-by | <!-- Creative Commons License -->{{imbox | ||
| | | type = license | ||
| class = licensetpl | |||
| image = [[Image:CC_some_rights_reserved.svg|90px]] <br> [[Image:Cc-by new white.svg|24px]] | |||
}}< | | text = ''This work is licensed under the [[Creative Commons]] [//creativecommons.org/licenses/by/4.0/ Attribution 4.0] License. {{#if:{{{1|}}}| <br> Attribution: {{{1|}}} }}''<span class="licensetpl_link" style="display:none;"><nowiki>http://</nowiki>creativecommons.org/licenses/by/4.0/</span><span class="licensetpl_short" style="display:none;">CC-BY-4.0</span><span class="licensetpl_long" style="display:none;">Creative Commons Attribution 4.0</span><span class="licensetpl_link_req" style="display:none;">true</span><span class="licensetpl_attr_req" style="display:none;">true</span> | ||
{{image other | |||
| [[Category:Creative Commons Attribution 4.0 files|{{PAGENAME}}]] | |||
| <br/>{{center|{{error-small|This template should only be used on file pages.}}}} For articles, see {{tl|CC-notice}}. | |||
}}}}{{#if:{{yesno|{{{dw|}}}}}||{{free media}}}}<noinclude> | |||
}} | |||
{{ | |||
{{documentation}} | {{documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | |||
</noinclude> | </noinclude> |
Revision as of 09:50, 29 December 2020
| This work is licensed under the Creative Commons Attribution 4.0 License.
This template should only be used on file pages. For articles, see {{CC-notice}}. |
Cc-by-4.0 license template
The template automatically sets the following categories: CC-BY-4.0
Usage
{{Cc-by-4.0 |1= }}
Template parameters
Cc-by-4.0 license template
Parameter | Description | Type | Status | |
---|---|---|---|---|
attribution | 1 | the attribution string as specified by the licensor, that re-users are obliged to name | String | optional |
Additional information
The template is intended to be used in the following namespaces: the File namespace
The template is intended to be used by the following user groups: all users
Placement: In the "⧼wm-license-information-permission⧽" parameter of the {{Information}} template (or the respective parameter of similar templates) or in the "Licensing" section
Relies on:
{{Cc-by-layout}}
Localization
This template is localized by utilizing MediaWiki namespace messages. These can be translated at translatewiki.net (current translations).