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

From Self-sufficiency
Jump to: navigation, search
(update)
m (10 revisions from commons:Template:Cc-by-sa-layout)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| {{CC-Layout|lang={{int:lang}}}}  
+
<includeonly>{| {{CC-Layout|lang={{int:lang}}}}  
 
| style="width:90px;" rowspan="3" | [[Image:CC some rights reserved.svg|90px|link=|[[{{int:wm-license-cc-wiki-link}}]]]]<br />[[Image:Cc-by new white.svg|24px|link=|{{int:wm-license-cc-conditions-attribution-header}}]] [[Image:Cc-sa.svg|24px|link=|{{int:wm-license-cc-conditions-share_alike-header}}]]
 
| style="width:90px;" rowspan="3" | [[Image:CC some rights reserved.svg|90px|link=|[[{{int:wm-license-cc-wiki-link}}]]]]<br />[[Image:Cc-by new white.svg|24px|link=|{{int:wm-license-cc-conditions-attribution-header}}]] [[Image:Cc-sa.svg|24px|link=|{{int:wm-license-cc-conditions-share_alike-header}}]]
| {{int:wm-license-cc-by-sa-{{{version|3.0}}}{{#if:{{{country|}}}|-{{{country|}}}}}-text}}
+
| {{int:wm-license-cc-by-sa-{{{version|}}}{{#if:{{{country|}}}|-{{{country|}}}}}-text}}
{{#if:{{{country|}}} |
+
| style="width:90px;" rowspan="3" | {{#if:{{{country|}}} | [[{{Cc-country-flags|{{{country|}}}}}|90px|border|link=|right]] }}
{{!}} style="width:90px;" rowspan="3" {{!}} [[{{Cc-country-flags|{{{country|nl}}}}}|90px|link=|right]] }}
+
 
|- style="text-align:center;"
 
|- style="text-align:center;"
| {{#if:{{{attribution|<noinclude>Example attribution</noinclude>}}}| '''{{int:wm-license-cc-attribution|}}: <BIG> {{{attribution|<noinclude>Example attribution</noinclude>}}} </BIG>''' }}
+
| {{#if:{{{attribution|}}}| '''{{int:wm-license-cc-attribution|}}: <BIG> {{{attribution|}}} </BIG>''' }}
 
|- 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: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}}
:*'''{{int:wm-license-cc-conditions-share_alike-header}}''' - {{int:wm-license-cc-conditions-share_alike-text}}
+
:*'''{{int:wm-license-cc-conditions-share_alike-header}}''' {{int:wm-license-cc-conditions-share_alike-text}}
|}<noinclude>
+
|}</includeonly><noinclude>
  
This is a general layout template for all Creative Commons Attribution-Share Alike templates. This template should only be used in other templates. To make use of this template:
+
{{documentation}}
<pre>
+
{{Cc-by-sa-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-SA-<version>-<country><!-- To which category the images are added -->|{{PAGENAME}}]]}}}}}</includeonly><noinclude>
+
  
{{In category|CC-BY-SA-<version>-<country><!-- To which category the images are added -->}}
 
 
[[Category:CC license tags|{{PAGENAME}}]]
 
</noinclude>
 
</pre>
 
 
[[Category:Helper templates|{{PAGENAME}}]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 21:59, 20 September 2010