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

From Self-sufficiency
Jump to: navigation, search
m (1 revision)
(new layout template)
(10 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{| {{CC-Layout|lang={{int:lang}}}}  
+
{| {{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|}}}{{#if:{{{country|}}}|-{{{country|}}}}}-text}}
+
| {{int:wm-license-cc-by-sa-{{{version|3.0}}}{{#if:{{{country|}}}|-{{{country|}}}}}-text}}
| style="width:90px;" rowspan="3" | {{#if:{{{country|}}} | [[{{Cc-country-flags|{{{country|}}}}}|90px|border|link=|right]] }}
+
{{#if:{{{country|}}} |
 +
{{!}} style="width:90px;" rowspan="3" {{!}} [[{{Cc-country-flags|{{{country|nl}}}}}|90px|link=|right]] }}
 
|- style="text-align:center;"
 
|- style="text-align:center;"
| {{#if:{{{attribution|}}}| '''{{int:wm-license-cc-attribution|}}: <BIG> {{{attribution|}}} </BIG>''' }}
+
| {{#if:{{{attribution|<noinclude>Example attribution</noinclude>}}}| '''{{int:wm-license-cc-attribution|}}: <BIG> {{{attribution|<noinclude>Example attribution</noinclude>}}} </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}}
|}</includeonly><noinclude>
+
|}<noinclude>
  
{{documentation}}
+
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:
 +
<pre>
 +
{{Cc-by-sa-country-layout
 +
|version=<!-- the version of the template -->
 +
|country=<!--  country, or leave empty if it's an unported template -->
 +
|attribution={{{attribution|{{{1|}}}}}}<!-- To pass the attribution -->
 +
}}
 +
</pre>
  
 +
[[Category:Helper templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 13:03, 7 January 2010

[[<wm-license-cc-wiki-link>]]
<wm-license-cc-conditions-attribution-header> <wm-license-cc-conditions-share_alike-header>
<wm-license-cc-by-sa-3.0-text>
<wm-license-cc-attribution>: Example attribution
<wm-license-cc-free>
  • <wm-license-cc-free-to-share-header> - <wm-license-cc-free-to-share-text>
  • <wm-license-cc-free-to-remix-header> - <wm-license-cc-free-to-remix-text>
<wm-license-cc-conditions>
  • <wm-license-cc-conditions-attribution-header> - <wm-license-cc-conditions-attribution-text>
  • <wm-license-cc-conditions-share_alike-header> - <wm-license-cc-conditions-share_alike-text>

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:

{{Cc-by-sa-country-layout
|version=<!-- the version of the template -->
|country=<!--  country, or leave empty if it's an unported template -->
|attribution={{{attribution|{{{1|}}}}}}<!-- To pass the attribution -->
}}