Open main menu

Changes

Template:Cc-by-sa-layout

2,117 bytes added, 08:38, 27 October 2020
New template based on https://commons.wikimedia.org/w/index.php?title=Template:Cc-by-sa-layout&oldid=456637997 and its subtemplates.
{| {{CC-layout}}
| 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]]
| {{license-cc-by-sa-{{{version|}}}{{#if:{{{country|}}}|-{{{country}}}}}-text}}
| style="width:90px;" rowspan="3"
|- 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="text-align:ltr;"
|
:{{license-cc-free}}
:* '''{{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-conditions}}
:* '''{{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}} }}
<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_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>
|}<includeonly>{{#ifeq:{{NAMESPACE}}|File|{{{category|[[Category:CC|{{PAGENAME}}]]}}}}}</includeonly>
<noinclude>

{{template info|1=

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

}}

</noinclude>
Trusted, Bureaucrats
4,228

edits