Difference between revisions of "Template:Cc-by-sa-layout"
From Self-sufficiency
(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 | + | {{Cc-by-sa-layout |
|version=<!-- the version of the template --> | |version=<!-- the version of the template --> | ||
− | |country=<!-- | + | |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-conditions-share_alike-header> |
<wm-license-cc-by-sa-3.0-text> |
<wm-license-cc-attribution>: Example attribution | |
|
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>