This page is protected against editing.

Template:Cc-by-layout: Difference between revisions

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Content deleted Content added
Remove example
use dir parser function
 
(25 intermediate revisions by 12 users not shown)
Line 1: Line 1:
<includeonly><templatestyles src="Cc-by-sa-layout/styles.css" /><!--
<includeonly>{| {{CC-Layout|lang={{int:lang}}}}
--><div class="responsive-license-cc layouttemplate licensetpl" dir="{{#dir:{{int:lang}}}}" lang="{{int:lang}}"><!--
| style="width:90px;" rowspan="3" | [[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}}]]
--><div class="rlicense-icons">[[File:CC some rights reserved.svg|90px|link=|[[{{int:wm-license-cc-wiki-link}}]]|class=skin-invert]]<br>
| {{int:wm-license-cc-by-{{{version|}}}{{#if:{{{country|}}}|-{{{country|}}}}}-text}}
[[File:Cc-by new white.svg|24px|link=|{{int:wm-license-cc-conditions-attribution-header}}|class=skin-invert]]</div><!--
| style="width:90px;" rowspan="3" | {{#if:{{{country|}}} | [[{{Cc-country-flags|{{{country|}}}}}|90px|border|link=|right]] }}
--><div class="rlicense-text"><!--
|- style="text-align:center;"
| {{#if:{{{attribution|}}}| '''{{int:wm-license-cc-attribution|}}: <BIG> {{{attribution|}}} </BIG>''' }}
--><div class="rlicense-declaration">{{int:wm-license-cc-by-{{{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> }}<!--
|- style="text-align:{{#ifeq:{{Dir|{{int:lang}}}}|ltr|left|right}};"
--><div class="rlicense-desc" style="text-align:start;" dir="{{#dir:{{int:lang}}}}" 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}}
:*'''{{int:wm-license-cc-free-to-remix-header}}''' – {{int:wm-license-cc-free-to-remix-text}}
:* '''{{int:wm-license-cc-free-to-remix-header}}''' – {{int:wm-license-cc-free-to-remix-text}}
:{{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}}
</div><!--
|}</includeonly><noinclude>
--><span class="licensetpl_link" style="display:none;"><nowiki>https://</nowiki>creativecommons.org/licenses/by/{{#if: {{{recversion|}}} | {{{recversion}}} | {{{version}}} }}{{#if:{{{country|}}}|/{{{country}}}/deed.en}}</span><span class="licensetpl_short" style="display:none;">CC BY {{#if: {{{recversion|}}} | {{{recversion}}} | {{{version}}} }} {{{country|}}}</span><span class="licensetpl_long" style="display:none;">Creative Commons Attribution {{#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></div><!--

-->{{#if:{{{country|}}} | <div class="rlicense-country">[[{{Cc-country-flags|{{{country}}}}}|90px|border|link=|center]]</div>}}<!--
--></div>{{#ifeq:{{NAMESPACE}}|File|{{SDC_statement_exist
|property=P6216
|negative_category=Creative Commons Attribution missing SDC copyright status
}}
}}
{{License template tag}}</includeonly><noinclude>
{{heavily used template}}
{{documentation}}
{{documentation}}



Latest revision as of 13:09, 7 August 2024

Protected This template has been protected from editing to prevent vandalism.
Please discuss changes on the talk page or request unprotection.
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Cc-by-layout/doc.


This is a general layout template for all Creative Commons Attribution templates. This template should only be used in other templates. To make use of this template:

{{Cc-by-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-<version>-<country><!-- To which category the images are added -->|{{PAGENAME}}]]}}}}}</includeonly><noinclude>

{{In category|CC-BY-<version>-<country><!-- To which category the images are added -->}}

[[Category:CC license tags|{{PAGENAME}}]]
[[Category:License tags attribution|{{PAGENAME}}]]
</noinclude>