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

From Self-sufficiency
Jump to: navigation, search
(new layout template)
(update)
Line 18: Line 18:
 
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:
 
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>
 
<pre>
{{Cc-by-sa-country-layout
+
{{Cc-by-sa-layout
 
|version=<!-- the version of the template -->
 
|version=<!-- the version of the template -->
|country=<!--  country, or leave empty if it's an unported template -->
+
|country=<!--  countrycode, or leave empty if it's an unported template -->
 
|attribution={{{attribution|{{{1|}}}}}}<!-- To pass the attribution -->
 
|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>
 
</pre>
  
 
[[Category:Helper templates|{{PAGENAME}}]]
 
[[Category:Helper templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 13:10, 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-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>