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

From The TTSCpedia
Jump to navigationJump to search
FairPlay137
FairPlay137 (talk | contribs) (1 revision imported)
m
m
 
Line 1: Line 1:
 
<includeonly>{| {{CC-Layout|lang={{int:lang}}}}  
 
<includeonly>{| {{CC-Layout|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}}]]
+
| style="width:90px;" rowspan="3" | [[File:CC some rights reserved.svg|90px|link=|[[{{int:tc-license-cc-wiki-link}}]]]]<br />[[File:Cc-by new white.svg|24px|link=|{{int:tc-license-cc-conditions-attribution-header}}]]
| {{int:wm-license-cc-by-{{{version|}}}{{#if:{{{country|}}}|-{{{country|}}}}}-text}}
+
| {{int:tc-license-cc-by-{{{version|}}}{{#if:{{{country|}}}|-{{{country|}}}}}-text}}
 
| style="width:90px;" rowspan="3" | {{#if:{{{country|}}} | [[{{Cc-country-flags|{{{country|}}}}}|90px|border|link=|right]] }}
 
| style="width:90px;" rowspan="3" | {{#if:{{{country|}}} | [[{{Cc-country-flags|{{{country|}}}}}|90px|border|link=|right]] }}
 
|- style="text-align:center;"
 
|- style="text-align:center;"
| {{#if:{{{attribution|}}}| <!-- Use span[style] for bold so use of "bold" syntax inside the attribution parameter works for compatibility --><span style="font-weight: bold;">{{int:wm-license-cc-attribution|}}: <span style="font-size: larger;" class="licensetpl_attr">{{{attribution|}}}</span></span> }}
+
| {{#if:{{{attribution|}}}| <!-- Use span[style] for bold so use of "bold" syntax inside the attribution parameter works for compatibility --><span style="font-weight: bold;">{{int:tc-license-cc-attribution|}}: <span style="font-size: larger;" class="licensetpl_attr">{{{attribution|}}}</span></span> }}
 
|- style="text-align:{{#ifeq:{{Dir|{{int:lang}}}}|ltr|left|right}};"
 
|- style="text-align:{{#ifeq:{{Dir|{{int:lang}}}}|ltr|left|right}};"
 
|
 
|
:{{int:wm-license-cc-free}}
+
:{{int:tc-license-cc-free}}
:*'''{{int:wm-license-cc-free-to-share-header}}''' – {{int:wm-license-cc-free-to-share-text}}
+
:*'''{{int:tc-license-cc-free-to-share-header}}''' – {{int:tc-license-cc-free-to-share-text}}
:*'''{{int:wm-license-cc-free-to-remix-header}}''' – {{int:wm-license-cc-free-to-remix-text}}
+
:*'''{{int:tc-license-cc-free-to-remix-header}}''' – {{int:tc-license-cc-free-to-remix-text}}
:{{int:wm-license-cc-conditions}}
+
:{{int:tc-license-cc-conditions}}
:*'''{{int:wm-license-cc-conditions-attribution-header}}''' – {{int:wm-license-cc-conditions-attribution-text}}
+
:*'''{{int:tc-license-cc-conditions-attribution-header}}''' – {{int:tc-license-cc-conditions-attribution-text}}
 
<span class="licensetpl_link" style="display:none;"><nowiki>https://</nowiki>creativecommons.org/licenses/by/{{{version}}}{{#if:{{{country|}}}|/{{{country}}}/deed.en}}
 
<span class="licensetpl_link" style="display:none;"><nowiki>https://</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_short" style="display:none;">CC BY {{{version|}}} {{{country|}}}
Line 17: Line 17:
 
</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><noinclude>
 
|}</includeonly><noinclude>
{{heavily used template}}
 
 
{{documentation}}
 
{{documentation}}
  
 
</noinclude>
 
</noinclude>

Latest revision as of 21:37, 5 May 2019

Template documentation[view] [edit] [history] [purge]

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>