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

From LID SWM Planning and Design Guide
Jump to navigation Jump to search
(Created page with "{{Cc-by-layout |version=<!-- the version of the template --> |country=<!-- countrycode, or leave empty if it's an unported template --> |attribution={{{attribution|{{{1|}}}}}...")
 
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Cc-by-layout
+
<includeonly>{| {{CC-Layout|lang={{int:lang}}}}
|version=<!-- the version of the template -->
+
| 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}}]]
|country=<!-- countrycode, or leave empty if it's an unported template -->
+
| {{int:wm-license-cc-by-{{{version|}}}{{#if:{{{country|}}}|-{{{country|}}}}}-text}}
|attribution={{{attribution|{{{1|}}}}}}<!-- To pass the attribution -->
+
| style="width:90px;" rowspan="3" | {{#if:{{{country|}}} | [[{{Cc-country-flags|{{{country|}}}}}|90px|border|link=|right]] }}
}}<includeonly>{{#ifeq:{{NAMESPACE}}|File|{{{category|[[Category:CC-BY-<version>-<country><!-- To which category the images are added -->|{{PAGENAME}}]]}}}}}</includeonly><noinclude>
+
|- style="text-align:center;"
 
+
| {{#if:{{{attribution|}}}| '''{{int:wm-license-cc-attribution|}}: <span style="font-size: larger;" class="licensetpl_attr">{{{attribution|}}}</span>''' }}
{{In category|CC-BY-<version>-<country><!-- To which category the images are added -->}}
+
|- style="text-align:{{#ifeq:{{Dir|{{int:lang}}}}|ltr|left|right}};"
 
+
|
[[Category:CC license tags|{{PAGENAME}}]]
+
:{{int:wm-license-cc-free}}
[[Category:License tags attribution|{{PAGENAME}}]]
+
:*'''{{int:wm-license-cc-free-to-share-header}}''' – {{int:wm-license-cc-free-to-share-text}}
</noinclude>
+
:*'''{{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-attribution-header}}''' – {{int:wm-license-cc-conditions-attribution-text}}
 +
<span class="licensetpl_link" style="display:none;"><nowiki>http://</nowiki>creativecommons.org/licenses/by/{{{version}}}{{#if:{{{country|}}}|/{{{country}}}/deed.en}}
 +
</span><span class="licensetpl_short" style="display:none;">CC BY {{{version|}}} {{{country|}}}
 +
</span><span class="licensetpl_long" style="display:none;">Creative Commons Attribution {{{version|}}} {{{country|}}}
 +
</span><span class="licensetpl_link_req" style="display:none;">true</span><span class="licensetpl_attr_req" style="display:none;">true</span>
 +
|}</includeonly>

Latest revision as of 17:30, 23 March 2018