Difference between revisions of "Template:Cc-by-sa-layout"

From relax wiki
Jump to navigation Jump to search
(New template based on https://commons.wikimedia.org/w/index.php?title=Template:Cc-by-sa-layout&oldid=456637997 and its subtemplates.)
 
(Default to version 4.0.)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{| {{CC-layout}}
 
{| {{CC-layout}}
 
  | style="width:90px;" rowspan="3" | [[File:CC some rights reserved.svg|90px|link=|CC some rights reserved]]<br>
 
  | style="width:90px;" rowspan="3" | [[File:CC some rights reserved.svg|90px|link=|CC some rights reserved]]<br>
[[File:Cc-by new white.svg|24px|link=|cc-by]] [[File:Cc-sa white.svg|24px|link=|cc-sa]]
+
[[File:cc-by.svg|24px|link=|cc-by]] [[File:cc-sa.svg|24px|link=|cc-sa]]
  | {{license-cc-by-sa-{{{version|}}}{{#if:{{{country|}}}|-{{{country}}}}}-text}}
+
  | | {{license-cc-by-sa-{{{version|4.0}}}{{#if:{{{country|}}}|-{{{country}}}}}-text}}
| style="width:90px;" rowspan="3"
 
 
  |- style="text-align:center;"
 
  |- style="text-align:center;"
  | style="font-weight:bold;" |{{#if:{{{attribution|}}}|<!-- Use [style] for bold so use of "bold" syntax inside the attribution parameter works for compatibility -->{{wm-license-cc-attribution|}}: <span style="font-size:larger;" class="licensetpl_attr">{{{attribution}}}</span> }}
+
  | style="font-weight:bold;" |{{#if:{{{attribution|}}}|<!-- Use [style] for bold so use of "bold" syntax inside the attribution parameter works for compatibility -->{{license-cc-attribution|}}: <span style="font-size:larger;" class="licensetpl_attr">{{{attribution}}}</span> }}
  |- style="text-align:ltr;"
+
  |- style="text-align:left;"
 
  |
 
  |
:{{license-cc-free}}
+
:{{license-cc-free}}
:* '''{{license-cc-free-to-share-header}}''' – {{license-cc-free-to-share-text}}
+
:* '''{{license-cc-free-to-share-header}}''' – {{license-cc-free-to-share-text}}
:* '''{{license-cc-free-to-remix-header}}''' – {{license-cc-free-to-remix-text}}
+
:* '''{{license-cc-free-to-remix-header}}''' – {{license-cc-free-to-remix-text}}
:{{license-cc-conditions}}
+
:{{license-cc-conditions}}
:* '''{{license-cc-conditions-attribution-header}}''' – {{license-cc-conditions-attribution-text}}
+
:* '''{{license-cc-conditions-attribution-header}}''' – {{license-cc-conditions-attribution-text}}
:* '''{{license-cc-conditions-share_alike-header}}''' – {{#ifeq: {{{version}}} | 1.0 | {{license-cc-conditions-share alike-text (Cc-by-sa-1.0)}} | {{license-cc-conditions-share_alike-text}} }}
+
:* '''{{license-cc-conditions-share_alike-header}}''' – {{#ifeq: {{{version}}} | 1.0 | {{license-cc-conditions-share alike-text (Cc-by-sa-1.0)}} | {{license-cc-conditions-share_alike-text}} }}
<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>
  |}<includeonly>{{#ifeq:{{NAMESPACE}}|File|{{{category|[[Category:CC|{{PAGENAME}}]]}}}}}</includeonly>
+
  |}<noinclude>
<noinclude>
 
  
 
{{template info|1=
 
{{template info|1=
  
 
Generic template for all versions of the Creative Commons Share Alike licences.
 
Generic template for all versions of the Creative Commons Share Alike licences.
 +
 +
[[Category:Licence templates]]
  
 
}}
 
}}
  
 
</noinclude>
 
</noinclude>

Latest revision as of 09:42, 29 October 2020

CC some rights reserved

cc-by cc-sa

This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

Template documentation

Generic template for all versions of the Creative Commons Share Alike licences.