Template:Cc-by-sa-layout: Difference between revisions
More actions
Adding SDC tracker category |
Applying responsive design: see Special:Permalink/664087524#Applying_the_responsive_design_to_Creative_Commons_license_tags |
||
| Line 1: | Line 1: | ||
<includeonly>{ | <includeonly><templatestyles src="Cc-by-sa-layout/styles.css" /><!-- | ||
--><div class="responsive-license-cc layouttemplate licensetpl mw-content-{{dir|{{int:lang}}}}" lang="{{int:lang}}"><!-- | |||
[[File:Cc-by new white.svg|24px|link=|{{int:wm-license-cc-conditions-attribution-header}}]] [[File:Cc-sa white.svg|24px|link=|{{int:wm-license-cc-conditions-share_alike-header}}]] | --><div class="rlicense-icons">[[File:CC some rights reserved.svg|90px|link=|[[{{int:wm-license-cc-wiki-link}}]]]]<br> | ||
[[File:Cc-by new white.svg|24px|link=|{{int:wm-license-cc-conditions-attribution-header}}]] [[File:Cc-sa white.svg|24px|link=|{{int:wm-license-cc-conditions-share_alike-header}}]]</div><!-- | |||
--><div class="rlicense-text"><!-- | |||
--><div class="rlicense-declaration">{{int:wm-license-cc-by-sa-{{{version|}}}{{#if:{{{country|}}}|-{{{country}}}}}-text}}</div><!-- | |||
-->{{#if:{{{attribution|}}}|<div class="rlicense-attr" style="font-weight: bold;">{{int:wm-license-cc-attribution|}}: <span style="font-size:larger;" class="licensetpl_attr">{{{attribution}}}</span></div> }}<!-- | |||
--><div class="rlicense-desc" style="text-align:{{#ifeq:{{Dir|{{int:lang}}}}|ltr|left|right}};" lang="{{int:lang}}"> | |||
:{{int:wm-license-cc-free}} | :{{int:wm-license-cc-free}} | ||
:* '''{{int:wm-license-cc-free-to-share-header}}''' – {{int:wm-license-cc-free-to-share-text}} | :* '''{{int:wm-license-cc-free-to-share-header}}''' – {{int:wm-license-cc-free-to-share-text}} | ||
| Line 13: | Line 12: | ||
:{{int:wm-license-cc-conditions}} | :{{int:wm-license-cc-conditions}} | ||
:* '''{{int:wm-license-cc-conditions-attribution-header}}''' – {{int:wm-license-cc-conditions-attribution-text}} | :* '''{{int:wm-license-cc-conditions-attribution-header}}''' – {{int:wm-license-cc-conditions-attribution-text}} | ||
:* '''{{int:wm-license-cc-conditions-share_alike-header}}''' – {{#ifeq: {{{version}}} | 1.0 | {{int:Wm-license-cc-conditions-share alike-text (Cc-by-sa-1.0)}} | {{int:wm-license-cc-conditions-share_alike-text}} }} | :* '''{{int:wm-license-cc-conditions-share_alike-header}}''' – {{#ifeq: {{{version}}} | 1.0 | {{int:Wm-license-cc-conditions-share alike-text (Cc-by-sa-1.0)}} | {{int:wm-license-cc-conditions-share_alike-text}} }}</div><!-- | ||
<span class="licensetpl_link" style="display:none;"><nowiki>https://</nowiki>creativecommons.org/licenses/by-sa/{{#if: {{{recversion|}}} | {{{recversion}}} | {{{version}}} }}{{#if:{{{country|}}}|/{{{country}}}/deed.en}} | --><span class="licensetpl_link" style="display:none;"><nowiki>https://</nowiki>creativecommons.org/licenses/by-sa/{{#if: {{{recversion|}}} | {{{recversion}}} | {{{version}}} }}{{#if:{{{country|}}}|/{{{country}}}/deed.en}} | ||
</span><span class="licensetpl_short" style="display:none;">CC BY-SA {{#if: {{{recversion|}}} | {{{recversion}}} | {{{version}}} }} {{{country|}}} | </span><span class="licensetpl_short" style="display:none;">CC BY-SA {{#if: {{{recversion|}}} | {{{recversion}}} | {{{version}}} }} {{{country|}}} | ||
</span><span class="licensetpl_long" style="display:none;">Creative Commons Attribution-Share Alike {{#if: {{{recversion|}}} | {{{recversion}}} | {{{version}}} }} {{{country|}}} | </span><span class="licensetpl_long" style="display:none;">Creative Commons Attribution-Share Alike {{#if: {{{recversion|}}} | {{{recversion}}} | {{{version}}} }} {{{country|}}} | ||
</span><span class="licensetpl_link_req" style="display:none;">true</span><span class="licensetpl_attr_req" style="display:none;">true</span> | </span><span class="licensetpl_link_req" style="display:none;">true</span><span class="licensetpl_attr_req" style="display:none;">true</span></div><!-- | ||
|}{{#ifeq:{{NAMESPACE}}|File|{{SDC_statement_exist | -->{{#if:{{{country|}}} | <div class="rlicense-country">[[{{Cc-country-flags|{{{country}}}}}|90px|border|link=|center]]</div>}}<!-- | ||
--></div>{{#ifeq:{{NAMESPACE}}|File|{{SDC_statement_exist | |||
|property=P6216 | |property=P6216 | ||
|negative_category=Creative Commons Attribution-Share Alike missing SDC copyright status | |negative_category=Creative Commons Attribution-Share Alike missing SDC copyright status | ||
Revision as of 15:42, 18 June 2022
This is the general layout template for all Creative Commons Attribution-Share Alike templates. This template should only be used in Creative Commons Attribution-Share Alike templates and not anywhere else. To make use of this template:
{{Cc-by-sa-layout
|version=<!-- the version of the template -->
|country=<!-- countrycode, or leave empty if it's an unported template -->
|attribution={{{attribution|{{{1|}}}}}}<!-- To pass the attribution -->
}}<includeonly>{{#ifeq:{{NAMESPACE}}|File|{{{category|[[Category:CC-BY-SA-<version>-<country><!-- To which category the images are added -->|{{PAGENAME}}]]}}}}}</includeonly><noinclude>
{{In category|CC-BY-SA-<version>-<country><!-- To which category the images are added -->}}
[[Category:CC license tags|{{PAGENAME}}]]
[[Category:License tags attribution|{{PAGENAME}}]]
[[Category:License tags share-alike|{{PAGENAME}}]]
</noinclude>
The text in this template may change according to the user language preference. To instantly read other language versions, without needing to change your user preference, you may click on the links below : Alemannisch | العربية | Aragonés | অসমীয়া | Asturianu | Bahasa Indonesia | Беларуская | Brezhoneg | Български | Català | Česky | Cymraeg | Dansk | Deutsch | Eald Englisc | Eesti | Ελληνικά | English | Español | Esperanto | Euskara | فارسی | Føroyskt | Français | Gaeilge | Galego | 廣東話 | עברית | Hrvatski | Interlingua | Íslenska | Italiano | 日本語 | 한국어 | Kapampangan | Latine | Lëtzebuergesch | Magyar | Македонски | Молдовеняскэ (кирилица) | Nederlands | Nedersaksisch (Lower Saxon (NL)) | Norsk (bokmål/riksmål) | Norsk (nynorsk) | Polski | Português | Română | Русский | Slovenčina | Slovenščina | Srpskohrvatski/Српскохрватски | Српски | Suomi | Svenska | ภาษาไทย | Tiếng Việt | Türkçe | 简体中文 | 正體中文