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

From Self-sufficiency
Jump to: navigation, search
(update)
(docs)
Line 16: Line 16:
 
|}<noinclude>
 
|}<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>

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