Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Cc-by-layout: Difference between revisions

Template page
mw-content-{ltr,rtl} is deprecated since 2022 https://phabricator.wikimedia.org/T287701
use dir parser function
Line 1: Line 1:
<includeonly><templatestyles src="Cc-by-sa-layout/styles.css" /><!--
<includeonly><templatestyles src="Cc-by-sa-layout/styles.css" /><!--
--><div class="responsive-license-cc layouttemplate licensetpl" dir="{{dir|{{int:lang}}}}" lang="{{int:lang}}"><!--
--><div class="responsive-license-cc layouttemplate licensetpl" dir="{{#dir:{{int:lang}}}}" lang="{{int:lang}}"><!--
     --><div class="rlicense-icons">[[File:CC some rights reserved.svg|90px|link=|[[{{int:wm-license-cc-wiki-link}}]]|class=skin-invert]]<br>
     --><div class="rlicense-icons">[[File:CC some rights reserved.svg|90px|link=|[[{{int:wm-license-cc-wiki-link}}]]|class=skin-invert]]<br>
[[File:Cc-by new white.svg|24px|link=|{{int:wm-license-cc-conditions-attribution-header}}|class=skin-invert]]</div><!--
[[File:Cc-by new white.svg|24px|link=|{{int:wm-license-cc-conditions-attribution-header}}|class=skin-invert]]</div><!--
Line 6: Line 6:
         --><div class="rlicense-declaration">{{int:wm-license-cc-by-{{{version|}}}{{#if:{{{country|}}}|-{{{country}}}}}-text}}</div><!--
         --><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> }}<!--
         -->{{#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}};" dir="{{dir|{{int:lang}}}}" lang="{{int:lang}}">
         --><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}}

Revision as of 13:09, 7 August 2024

Template documentation[ view · 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>


Cookies help us deliver our services. By using our services, you agree to our use of cookies.